Re: [orca-list] Regarding the migration to Python 3
- From: Alex Midence <alex midence gmail com>
- To: orca-list gnome org
- Subject: Re: [orca-list] Regarding the migration to Python 3
- Date: Tue, 1 May 2012 10:20:26 -0500
I think it'll be fine. I think my Ubuntu installation has both as
well. Not being a Pythonista, I've never understood why there are two
versions still in active use. Isn't Python 3 the better one of the
two? Why aren't more people using it as the default? I've seen most
python programs written with some variant of python 2 and most of the
textbooks and introductory books I've come across only seem to feature
2 and rarely 3. I'm guessing this will make Orca faster and/or more
responsive somehow?
Alex M.
On 5/1/12, Jason White <jason jasonjgw net> 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]