Re: [orca-list] Regarding the migration to Python 3yi



meaning, Orca will have that line bby default in the entry point/ main script?
That's perfect for me, else I won't mind adding it myself, although I am a hacker, I was wondering if havint 
this by default in the main orca script will sheeld non-technical users.
happy hacking.
Krishnakant.
On Tue, May 01, 2012 at 03:42:11PM +1000, Jason White wrote:
Krishnakant mane <krmane gmail com> wrote:
There is still a problem with many libraries not working well with Python 3.
So what if I need python 2X still to be the default on my machine?

That's fine. My machine (Debian) has Python 2.7 and Python 3 both installed in
parallel, and:
jason jdc:~$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Jan 25 08:52 /usr/bin/python -> python2.7

So 2.7 is the default, but any script that needs Python 3 can just do this in
its first line:
#!/usr/bin/python3
although I understand that the proper way to do it is
#!/usr/bin/env python3
which works as long as python3 is somewhere in $PATH.

_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]