Path: csiph.com!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: notbob Newsgroups: comp.lang.python Subject: Re: running python 2 vs 3 Date: 20 Mar 2014 17:10:42 GMT Lines: 15 Message-ID: References: <87ob10nbeh.fsf@elektro.pacujo.net> X-Trace: individual.net QWu5up8pXVpW5oGByGXJLAZz4EoV/P03mDb+7MtiZK5HYGFPzQ Cancel-Lock: sha1:xn5t1NemNCVKV9LE3yKss0YKyw0= User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:68587 On 2014-03-20, Zachary Ware wrote: > If you're specifying the interpreter in your command (by calling > "python .py", etc), the shebang won't mean anything > anyway. DOH! I was following you, fine, until that last sentence. Then how should I invoke the scripts? ....as your example is exactly how I've been doing it with 2.7, as per Learn Python the Hard Way. Simply ./.py from the appropriate directory (assuming I keep both vers in separate dirs)? nb