Installing Python 2.4 on Linux
Edward Diener
eldiener_no_spam_here at earthlink.net
Sat Apr 9 17:55:34 EDT 2005
John Ridley wrote:
> * Edward Diener wrote:
>
>>I need python to be python2.3 else many utilities no longer work.
>
>
> Then leave your 2.3 installation exactly as it is (so that python is a
> link to python2.3) and run python2.4 where needed.
>
> To specifically use python 2.4 to run IDLE, simply type in a shell:
>
> [user]$ python2.4 /usr/bin/idle
>
> Alternatively, create your own (executable) idle or pydoc with a
> shebang that points permanently at python2.4. For example:
>
> file: $HOME/bin/idle2.4
> -----------------------------------
> #!/usr/bin/python2.4
>
> from idlelib.PyShell import main
> if __name__ == '__main__':
> main()
> -----------------------------------
>
> Then if $HOME/bin is on your PATH, you can simply run: idle2.4
This change worked. Thanks !
>
>
>>The problem is then using IDLE and pydoc for Python2.4 since neither
>>are .py scripts
>
>
> Really?! What are they on Fedora, then?
I realized they are links to the respective idle2.4.py and pydoc2.4.py
scripts.
More information about the Python-list
mailing list