ringgono / python-for-android

Automatically exported from code.google.com/p/python-for-android
Apache License 2.0
0 stars 0 forks source link

Python 3 #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Python 3.2.1 to be exact. What is required to make it possible on Android?

Original issue reported on code.google.com by techtonik@gmail.com on 31 Mar 2011 at 11:59

GoogleCodeExporter commented 8 years ago
Someone needs to work out how to crosscompile python 3 for an ARM platform.

Original comment by rjmatthews62 on 20 Apr 2011 at 3:42

GoogleCodeExporter commented 8 years ago
Thing is why would we want that?

Py3 isn't much supported yet, many libraries are not compatible, and that's 
what makes Python strong it's "batteries" why do we want Py3 on Android now if 
we can't get batteries.

If you have a resonable why I can take a look and what it takes.

Original comment by naranjo....@gmail.com on 20 Apr 2011 at 11:46

GoogleCodeExporter commented 8 years ago
We want it because syntax parsing for Python 3 is simplified. There are less 
syntax sugar constructs, and thanks to that performance should be greater.

As a side effect - if some package has ported to Python 3, that means it is 
active, and its developers are probably interested to test it on their Android 
devices. I don't know how to cross-compile Python 3 for ARM, but if it is 
possible to cross-compile PyPy, then the efforts to Python 3 porting can be 
joined.

Original comment by techtonik@gmail.com on 20 Apr 2011 at 1:12

GoogleCodeExporter commented 8 years ago
yes I know py3, but that argument is not totally valid.

For example Django which is one of Python's largest web frameworks is not py3 
compatible officially, there's a port, but not the official version.

Main development is been done for py 2.7, as everyone is waiting the others to 
port they're applications.

You could try mimicing what I did for py2 to get py3 into Android, but again, 
I'm not sure if it makes much sense, as it breaks the API and renders some 
packages useless.

Original comment by naranjo....@gmail.com on 20 Apr 2011 at 1:38

GoogleCodeExporter commented 8 years ago
Do you really expect users running Django apps on Android any time soon? I'd 
say they will be more interested to run Blender on their Honeycomb tablets.

Original comment by techtonik@gmail.com on 20 Apr 2011 at 2:15

GoogleCodeExporter commented 8 years ago
Well I do use Django apps on Android, and I'm releasing a production ready 
application based on Twisted soon. I don't really think we will see Blender on 
Android any time soon, I guess gtk or qt are dependencies. Still go ahead, do 
the port, I would like to help you, but don't expect me to do it (and I'm 
talking just for me here) unless I really need it.

Original comment by man...@aircable.net on 23 Apr 2011 at 8:53

GoogleCodeExporter commented 8 years ago
Well I do use Django apps on Android, and I'm releasing a production ready 
application based on Twisted soon. I don't really think we will see Blender on 
Android any time soon, I guess gtk or qt are dependencies. Still go ahead, do 
the port, I would like to help you, but don't expect me to do it (and I'm 
talking just for me here) unless I really need it.

Original comment by man...@aircable.net on 23 Apr 2011 at 8:53

GoogleCodeExporter commented 8 years ago
Blender is OpenGL rendered. No GTK or Qt. Just want to stress that starting 
with Python 3 on alpha platforms is more beneficial for users as it gives them 
ability to write tutorials in a consistent language early. Many libraries can 
be run with 2to3 and it is a goal to catch early if they can't.

Original comment by techtonik@gmail.com on 26 Apr 2011 at 5:22

GoogleCodeExporter commented 8 years ago
I think that we really need Python 3.X.
Why? For example, let's look at me. I'm learning Python. And I use P3.2. And I 
know there are many differences for 2.X versions.
I'm not the only one, who have same request - to develop using Python. I'm not 
newbie on developing - have 3 years Delphi using. I think last version of 
language is thу best. That is why we really need python 3.2

Original comment by vlad.maz...@gmail.com on 14 Jun 2011 at 4:25

GoogleCodeExporter commented 8 years ago
Writing applications for Android devices is a great, fun way to learn 
programming and for that reason alone it's worth getting a new generation of 
coders onto Python 3 now.

Original comment by VictorLu...@googlemail.com on 8 Jul 2011 at 11:16

GoogleCodeExporter commented 8 years ago
Python 3 is the future, don't get stuck in the past...

Original comment by laurent....@gmail.com on 11 Jul 2011 at 2:07

GoogleCodeExporter commented 8 years ago
I agree with those above me, I started developing in python at the end of the 
2.7 era and decided to just jump to 3 and I know there is a large and 
ever-growing group of us.

Original comment by shojuke...@gmail.com on 26 Sep 2011 at 4:26

GoogleCodeExporter commented 8 years ago
Same here, started learning Python 2.6/2.7 and then jumped to 3.2. I would 
appreciate being able to code for 3.x on my Android phone.

Original comment by Amazing...@gmail.com on 9 Oct 2011 at 3:00

GoogleCodeExporter commented 8 years ago
This is must too get novacut on android so it least one project needs it now if 
not sooner

Original comment by saras....@gmail.com on 14 Oct 2011 at 6:53

GoogleCodeExporter commented 8 years ago
i want python 3, but google is not interested in it, GAE does not support 
it,and android?

Original comment by wangchen...@gmail.com on 20 Oct 2011 at 3:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have partially port the Python 3.2 to Android, by manually applying the P4A's 
patches to Py3's source code. Details in 
http://www.klayge.org/2011/11/06/compile-python-3-2-with-android-ndk-r6/. 

Original comment by minmin.gong on 7 Nov 2011 at 6:15

GoogleCodeExporter commented 8 years ago
I am currently developing in python 3(first version of py that I've tried) and 
am look for a way to run apps on my phone. Seeing that all I know about python 
code is in python 3, it would be nice if python 3 was supported, otherwise I 
would just not develop for android until it WAS supported.

Original comment by hobomcho...@gmail.com on 12 Nov 2011 at 7:39

GoogleCodeExporter commented 8 years ago
I would also like to have a fully functioning Python 3 version for android. All 
of my University stuff in python is based on 3.0 >. I'm forced to try and learn 
both versions on-the-fly and its difficult.  

Original comment by chs200...@gmail.com on 3 Mar 2012 at 6:57

GoogleCodeExporter commented 8 years ago
Alpha version of 3.2.2 available. See: 
http://code.google.com/p/python-for-android/wiki/Python3

Original comment by rjmatthews62 on 21 Mar 2012 at 5:49

GoogleCodeExporter commented 8 years ago
rjmatthews62 I'm taking a programming class to learn python and have to 
download Python 3 along with Idle to run scripts.  I came across this site, and 
your download Python 3 for Android after almost giving up and thinking I had to 
drop the class because I couldn't find a compatible version for my Android 
device.  Thanks so much!!!  By the way, do you know the source, my device is 
blocking the download because it says the source is unknown. Thx, 
Shimmerous@gmail.com

Original comment by shimmer...@gmail.com on 29 Sep 2012 at 1:44

GoogleCodeExporter commented 8 years ago
You need to turn on 'Unknown Sources' under Menu-->Applications.

You'll also need to have sl4a installed:
sl4a<http://code.google.com/p/android-scripting/>

Robbie

-- 
  <http://www.apress.com/9781430237839>
Beginning Android Tablet Programming <http://www.apress.com/9781430237839>

   - Publication Date: November 2, 2011
   - ISBN13: 978-1-4302-3783-9

 *Robbie Matthews* gives a full, no-holds barred introduction to
Android <http://www.apress.com/9781430237839>programming for tablets.
No previous experience required! Learn
More � <http://www.apress.com/9781430237839>

[image: Beginning Android Tablet
Programming]<http://www.apress.com/9781430237839>

Original comment by rjmatthews62 on 29 Sep 2012 at 11:56