OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Kondou on March 15, 2006, 10:12:07 am
-
I Need a pyGTK IDE app. to creat pyGTK program how can find this is on Zaurus Pdaxrom?
-
I Need a pyGTK IDE app. to creat pyGTK program how can find this is on Zaurus Pdaxrom?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=118718\")
You should definitely try SciTE, which is installed by default (under Office). Also, [a href=\"https://www.oesf.org/forums/index.php?showtopic=17932&hl=gtksourceview]gtksourceview[/url] sounds interesting (but I think it has more dependancies than are listed in the .ipk).
I was (and still want to -- when I have time) trying to learn pyGTK myself. The pyGTK tutorials (http://www.pygtk.org/tutorial.html) have sample apps that are supposed to let you do things really quickly -- but I couldn't get them to run.
I think some of the other errors I got may be resolved by installing additional python modules. (One error was about not being able to find a "signal" package, for example.)
One troublesome problem, in particular, is that if I execute "import pygtk", I get this error:
File "/home/sash/Work/Akita/pdaXrom-builder/build/pygtk-2.5.3/ipkg_tmp/usr/lib/python2.4/site-packages/pygtk.py", line 22, in ?
ImportError: No module named fnmatch
While I'm talking about python and bugs, if I run "python" in a terminal, my arrow keys do not work correctly. If I push up to edit the previous line, I get "^[[A" as output instead. [The arrow keys work normally in the terminal when python is not running.]
Are there work arounds for these? I suppose I should write bug reports, eh (after verifying that they aren't already there -- but I didn't see them at a glance)? Oh, and I am using 1.1.0beta1 -- is it OK to still write bugs for it, or should I check 1.1.0beta2 first?
Thanks,
Armagon
-
I Need a pyGTK IDE app. to creat pyGTK program how can find this is on Zaurus Pdaxrom?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118718\"][{POST_SNAPBACK}][/a][/div]
One troublesome problem, in particular, is that if I execute "import pygtk", I get this error:
File "/home/sash/Work/Akita/pdaXrom-builder/build/pygtk-2.5.3/ipkg_tmp/usr/lib/python2.4/site-packages/pygtk.py", line 22, in ?
ImportError: No module named fnmatch
While I'm talking about python and bugs, if I run "python" in a terminal, my arrow keys do not work correctly. If I push up to edit the previous line, I get "^[[A" as output instead. [The arrow keys work normally in the terminal when python is not running.]
Are there work arounds for these? I suppose I should write bug reports, eh (after verifying that they aren't already there -- but I didn't see them at a glance)? Oh, and I am using 1.1.0beta1 -- is it OK to still write bugs for it, or should I check 1.1.0beta2 first?
Thanks,
Armagon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118891\"][{POST_SNAPBACK}][/a][/div]
1. ad import pygtk
yes, the error is raised, but you dont need to import the pygtk -- just gtk is enough -- it contains all you need. i use this import sequence (just ignor the pygtk stuff):
import gtk
you can use all of the gtk objects, constants and such
2. ad history in intercative shell
install the readline ipk. it contains the readline support => ie. history then works
-
1. ad import pygtk
yes, the error is raised, but you dont need to import the pygtk -- just gtk is enough -- it contains all you need. i use this import sequence (just ignor the pygtk stuff):
import gtk
you can use all of the gtk objects, constants and such
Awesome. I'll give it a shot.
2. ad history in intercative shell
install the readline ipk. it contains the readline support => ie. history then works
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124175\"][{POST_SNAPBACK}][/a][/div]
I just found out about that a couple of weeks ago.
Thank you!