Coder Social home page Coder Social logo

Shebang in .py files about jenkinsflow HOT 4 CLOSED

lhupfeldt avatar lhupfeldt commented on July 24, 2024
Shebang in .py files

from jenkinsflow.

Comments (4)

lhupfeldt avatar lhupfeldt commented on July 24, 2024

Unfortunately there is no real cross platform way of specifying the interpreter. I'm not sure if using 'env' is better, not all platforms have that either. Anybody not having /usr/bin/python (in the correct version) can still just invoke the script using 'pythonXX <script>'.

from jenkinsflow.

lechat avatar lechat commented on July 24, 2024

That's why I never put interpreter shebang into my scripts.

from jenkinsflow.

lhupfeldt avatar lhupfeldt commented on July 24, 2024

So your philosophy is that because it doesn't work for everybody, everybody
has to suffer? Even though making it work for some, detracts nothing from
anybody.
Den 23/02/2014 01.28 skrev "Aleksey Maksimov" [email protected]:

That's why I never put interpreter shebang into my scripts.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-35819887
.

from jenkinsflow.

lechat avatar lechat commented on July 24, 2024

My philosophy is that it shall work for lowest common denominator. Which is already there, by running script using python script.py.

from jenkinsflow.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.