Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66490

Re: passing an option to the python interpreter

From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: passing an option to the python interpreter
Date 2014-02-16 00:47 +0200
Organization A noiseless patient Spider
Message-ID <871tz4kn6p.fsf@elektro.pacujo.net> (permalink)
References <mailman.7026.1392503602.18130.python-list@python.org>

Show all headers | View raw


Jabba Laci <jabba.laci@gmail.com>:

> I tried this:
>
> #!/usr/bin/env python -u

The hash-bang notation is quite rigid; it only accepts a single argument
("python") to the command ("/usr/bin/env").

I don't know if there is a simple workaround.


Marko

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

passing an option to the python interpreter Jabba Laci <jabba.laci@gmail.com> - 2014-02-15 23:32 +0100
  Re: passing an option to the python interpreter Marko Rauhamaa <marko@pacujo.net> - 2014-02-16 00:47 +0200
    Re: passing an option to the python interpreter Anssi Saari <as@sci.fi> - 2014-03-02 21:40 +0200

csiph-web