OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio


Welcome Guest ( Log In | Register )

> Python On Zaurus - Newbie Questions, basic questions and problems
Bertram Wooster
post Jan 8 2005, 04:04 AM
Post #1

Group: Members
Posts: 39
Joined: 18-December 04
From: Germany
Member No.: 5,957

dear people at zug. i don't want to bother you too much, especially as most people in here definitely know what they are doing (in contrast to myself). on the other hand i am sure that you know the answer to my questions (please not the plural...)

ok. i am not new to computers and programming in general, but my experience is based on many years of win and a bit of visual basic and to some assembler on my c64 (oh, yes those were the days... - visible sign of getting old?).
now i dared to venture into the promising abyss of linux on a c3000. it's a beautiful machine, without any doubt, but as soon as one starts to fiddle with it, problems start to arise.

python as a programming language still seems a good choice. i am not able to compare it with c or java, but i got it running under win and reading http://diveintopython.org/ makes me sure i did the right decision.

now the problems start:
QUESTION1: which python distribution makes most sense on a c3000 (sharp rom)?

there is the riverbank distribution, abandoned and old, but at least i got it running on my z. however i found those different versions:
QUESTION2: which of these riverbank distributions works best (on the c3000)?

well, the pyqt is just as confusing
QUESTION3: which pyqt? the newer the better?

supposedly there is also an ide for this riverbank distribution:
i couldn't make it work: the icon appears, it will start (hourglass) but nothing will happen (python on the terminal however works).
QUESTION4: how can i make the ide work?
QUESTION5: do i need it at all? and which alternatives are there on the z?

well, and then there is the vanille-distribution. updated, that's fine. however i think that only the gcc2 feed makes sense for a c3000 with an original sharp rom (btw: what does the oz in the files' names stand for: open zaurus? wouldn't that be gcc3?)
anyway, i tried to install this (before installing riverbank's!), but the ipk didn't show up in the add&remove wizard. googling i found out that vanille's distribution is "ar formatted" (whatever that might mean):
on the other hand i also read on a completely different page (http://zsi2.stonekeep.com/index.php?v=d&a=2134) that the new sharp rom (i guess the c3000 should have a relatively new sharp rom) is able to handle these "ar formatted" files:
"Apparently the Sharp ROM uses ar formatted ipks instead of the tar.gz version used on OZ/familier."
QUESTION6: what is "ar formatted"?
QUESTION7: how can i change it to a format able to be installed (i guess tar/ipk would be the best choice)? i know that there is a description on the zug-page mentioned above (mkdir foo; cd foo; ar x file; tar zcvf file), but please (please, please) explain... i would like to know what i'm doing...

i guess i stole enough of your precious time (and i'm afraid that this is not the last of my post here). thank you for reading this and even more thanks to everyone who will answer.
Go to the top of the page
+Quote Post
Start new topic
post Jan 22 2005, 03:42 AM
Post #2

Group: Members
Posts: 95
Joined: 20-October 04
Member No.: 5,111

i couldn't figure out which ROM you're using.
there are different ROMs, each of which has its own gotcha's, features, and python distros.
OZ (openZaurus), pdaXrom, cacko/sharp are most popular (IMHO).

eventually, this way or another, you find out how to install python on your distro.
- for cacko/sharp, i used Kopsis' distros or the ones from Vanilla.
- for OZ, i used Vanilla.
- for pdaXrom i am currently using the IPKs from the feed.

a tip from my experience:
installing python on external media (SD/CF) forces you to have this card stuck in the Z all the time no matter what. can't format, can't change FS...
For my it's too risky, since i use python scripts all over, and i depend on specific module setups, my own library files etc.

i install python to main memory.
i may well take someone's advice here, and stuff most library files on a ZIP, but i dont suffer (yet) from MB shortage.

another issue is the GUI, if you intend to develop or run GUI apps.
there are too many (IMO) gui toolkits, makeing coding, distribuition, hacking, and installing a pain in the Z.
using the default sharp (or cacko for that matter) most probably gives you QT toolkit.

ps. python is the 2nd best thing in computers (1st is the "undo" feature).
Go to the top of the page
+Quote Post
Bertram Wooster
post Jan 22 2005, 11:49 AM
Post #3

Group: Members
Posts: 39
Joined: 18-December 04
From: Germany
Member No.: 5,957

many thanks fpp and shula (and an excuse especially for you fpp, as i didn't reply earlier in this thread...). after a few days of playing around with it i can say a few things you might not need. however it might help other green newbies ...

on a c3000 with an original sharp rom (i don't think any alternatives exist yet, except openbsd and no-one daring to test it...) i can say that kopsis distribution is by way the easiest to install, work with (and definitely very extensive). vanille is unfortunately not as straight forward to install.

when it comes to the editor i do like visiscript very much. the list of languages it supports (highlighting etc) is not as large as the one in tkceditor, but it's free and easy to handle. also it will output python in a seperate screen!

i guess this was not my last question in here, but python still feels like the right decision!
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 6th May 2015 - 07:39 PM