Complete newbie here. How do I tell which versions of Python are installed? asked 11 Mar '11, 07:32 tesuji |
Just type "python" in your SSH prompt, and press the Tab key couple of times (taking advantage of the auto-complete feature of Bash) to see the different Python interpreters you can invoke. answered 11 Mar '11, 07:39 tie Hm, doesn't seem to work. When I type "python" I get the Python prompt but tab doesn't do anything but insert tab spaces. I'm using PuTTY on Windows for SSH.
(11 Mar '11, 10:27)
tesuji
Don't press Enter when you type "python" - just tap Tab twice before you actually submit the command.
(11 Mar '11, 10:30)
tie
That works. Excellent :)
(11 Mar '11, 10:34)
tesuji
|
This '/usr/local/bin/python' was exactly what I needed. Saved my bothering support. @Webfaction, I suggest you make that type of info '#!/usr/local/bin/python' and the equivalent a sticky somewhere easy to find, as it is one of the first things people will need (especially newcomers to Perl and Python like me). answered 22 Jun '13, 03:01 MikeA |