Python shebang

github logo Originally published at ofdigitalwater.postach.io on ・1 min read

Currently, in the interregnum where Python 2 and Python 3 may co-exist on the same system, the PEP 0394 recommendations for the shebang line in Python programs run in short like this:

  1. Use #!/usr/bin/env before Python interpreter
  2. Use #!/usr/bin/env python only for programs that work with both Python 2 and Python 3
  3. If your program runs with Python 3 only, replace python in the previous line with python3
  4. Else, for Python 2-based programs, replace python with python2
twitter logo DISCUSS
Classic DEV Post from Nov 28 '18

Why might a project/company use a monorepo?

What are the pros and cons of the "monorepo" approach? ...

Wincent Balin profile image
I have many interests, mostly where computer science or IT meets music or humanities.

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️