Multiple versions of Python coexisting in the same OS

News123 news1234 at free.fr
Sun Jul 25 10:31:20 EDT 2010


On 07/25/2010 02:46 PM, Edward Diener wrote:
> On 7/25/2010 6:07 AM, Gelonida wrote:

>> There the windows solution could be something like a small 'pystarter'
>> program, which would decide depending on the file's location / the
>> file's first line which python should be started.
> 
> This does not work when Python is invoked internally via a file
> association. That was the point of my saying that the simple solutions
> do not work.

I'm not sure I understand. The ida is of course, that the file
association would point to the pystarter and that pystarter would
depending on directory / first line of the script
identify the correct executable to be started with.



Perhaps you could once more explain, what your intended solution would be.




More information about the Python-list mailing list