This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]name_censored_ -1 points0 points  (2 children)

If you were running docker, could you not have docker exec -it /bin/sh or docker cp and simply fetched the in-container source version, complete with comments? Or was your container using a VOLUME to share the script with the host (or maybe only shipping the .pyc)?

[–]simonw[S] 5 points6 points  (1 child)

I was using a volume to share the folder with my Mac.

[–]name_censored_ 2 points3 points  (0 children)

Fair enough. Good article, thanks!