Python Forum
launch .PY program Help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
launch .PY program Help
#18
I just added "#! /usr/bin/python -v" to the top of a random python file, and ran it using "test.py" from the command line, not giving any indication (aside from file extension) that it was a python file. I also DID NOT mark the file executable.

And I saw a very large amount of verbose info that's normally never there.

So either windows is parsing shebangs, or python is :p
Reply


Messages In This Thread
launch .PY program Help - by iw2fo - Sep-28-2016, 08:42 AM
RE: launch .PY program Help - by metulburr - Sep-28-2016, 10:11 AM
RE: launch .PY program Help - by sparkz_alot - Sep-28-2016, 01:57 PM
RE: launch .PY program Help - by metulburr - Sep-28-2016, 02:12 PM
RE: launch .PY program Help - by iw2fo - Sep-28-2016, 02:44 PM
RE: launch .PY program Help - by metulburr - Sep-28-2016, 02:52 PM
RE: launch .PY program Help - by nilamo - Sep-28-2016, 02:53 PM
RE: launch .PY program Help - by iw2fo - Sep-28-2016, 03:16 PM
RE: launch .PY program Help - by metulburr - Sep-28-2016, 03:32 PM
RE: launch .PY program Help - by sparkz_alot - Sep-28-2016, 03:36 PM
RE: launch .PY program Help - by Larz60+ - Sep-28-2016, 05:02 PM
RE: launch .PY program Help - by wavic - Sep-29-2016, 10:26 AM
RE: launch .PY program Help - by snippsat - Sep-29-2016, 07:15 PM
RE: launch .PY program Help - by Barrowman - Oct-18-2016, 07:17 PM
RE: launch .PY program Help - by micseydel - Oct-18-2016, 07:48 PM
RE: launch .PY program Help - by nilamo - Oct-18-2016, 07:56 PM
RE: launch .PY program Help - by micseydel - Oct-18-2016, 08:33 PM
RE: launch .PY program Help - by nilamo - Oct-18-2016, 08:39 PM
RE: launch .PY program Help - by metulburr - Oct-18-2016, 08:57 PM
RE: launch .PY program Help - by micseydel - Oct-18-2016, 08:57 PM
RE: launch .PY program Help - by Barrowman - Oct-18-2016, 09:13 PM
RE: launch .PY program Help - by nilamo - Oct-18-2016, 09:03 PM
RE: launch .PY program Help - by metulburr - Oct-18-2016, 09:05 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020