22

I will be in charge of teaching a small group of middle school students how to program phone applications. After much research I found that Python might be the best way to go.

I am a website development senior at my university, but I have not used Python before. I understand both ActionScript and Javascript and I think their logic might be beneficial for learning Python. For the web languages I am familiar with writing I use Sublime2, Dreamweaver, or Flash to code them.

So my questions are:

Which program do I use to code Python?
How do I use the code created in Python to work on Android phones?


5 답변


10

There are many IDEs you can use for Python. You will have to find one that suits what you want to do. The official Python wiki has a large list of IDEs and editors that you can use as a starting point.

However, keep in mind when you are teaching a class to not end up teaching the editor, but rather the language/concepts.

For Android, the only supported language is Java. There is a android-scripting project that supports Python, however this is strictly experimental.


  • I was also looking at Java, however some people suggested that I don't take that path as Python is easier to learn and the kids would understand it better. - Willow
  • Python is easier (by far), but the issue is with Android. Perhaps start with Python for kids. - Burhan Khalid
  • Do you know of any good resources for Java and phones? - Willow
  • I found the official guides to be very friendly and easy to digest. - Burhan Khalid

13

I would suggest you to look at http://kivy.org/#home. It supports android, iphone, etc. Also if you are familliar with javascript as you said you can try great titanium accelerator, or some alternative to develop android app.


  • Thanks for the resource. I looked at Kivy earlier today, but I wasn't able to get it to properly work on my mac. It said to drag the python file into the program and it should open, but it didn't. =\ - Willow

2

Old question, I know, but you can also check out pygame subset for android which allows you to convert pygame applications to android.


1

You can use Android scripting layer.



0

Dr. python is a good ide/editor, but its simple to use. If your using linux, you can install it in the software center. I don't know how to install it on OSX/Windows

Linked


Related

Latest