OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Armagon on April 10, 2006, 11:15:06 am
-
Greetings. I'm running 1.1.0beta1 on my C1000, and I've got a couple of python questions:
1. Does python_2.4.1_arm5tel.ipk contain all of the python stuff? Which is to say, if I install it, can I uninstall all the other python*.ipk files?
2. Is there any way to use the arrow keys to edit lines when using the python interactive interpreter? When I try, I get things symbols like ^[[A.
3. How do I run IDLE? I installed the python and tk packages, but when I try to run "python idle.pyc" in the /usr/python2.4/idlelib directory, I get
** IDLE can't import Tkinter. Your Python may not be configured for Tk. **
4. Barring getting numbers 2 or 3 working, can anyone recommend an IDE that lets me get at python's help facilities?
Thanks,
Armagon
-
1) The other ipks contain various modules that you may or may not use, depending on your needs. A full blown python installation is something like 40 MB, so I think the python_2.4.1 ipk is only the core.
2) Make sure the readline ipks are installed. This means both the regular readline ipk and something like python-readline.
3) I haven't tried idle itself, but for Tk applications, you need tcl/tk installed, in addition to python-tkinter.
4) Not sure on #4. I use books :-)
This is all from memory, so the filenames might vary a bit. All of the above work for me, so you should be able to get what you want. Good luck.
Mike
-
2) Make sure the readline ipks are installed. This means both the regular readline ipk and something like python-readline.[div align=\"right\"][a href=\"index.php?act=findpost&pid=122519\"][{POST_SNAPBACK}][/a][/div]
That was it? Thank you so much! That's wonderful.
3) I haven't tried idle itself, but for Tk applications, you need tcl/tk installed, in addition to python-tkinter.
Ah. I'd installed Tk but not tcl. Works like a charm.
4) Not sure on #4. I use books :-)
Yeah; it is hard to beat books. Although, downloading the python docs and reading them on the Z is really nice, too.
Thank you so much, Mike!
If anyone knows more about question number 1 (or has any more thoughts on question 4), I'd love to know.
Armagon