Author Topic: Python on the C750  (Read 3506 times)

fredamat

  • Newbie
  • *
  • Posts: 7
    • View Profile
Python on the C750
« on: March 26, 2004, 05:14:55 pm »
Hello all

New UK user of the C750 - very impressed.

However.. I\'m trying to learn the Python programming language - I\'ve downloaded what I think are the correct files from riverbank. Python runs from the command line but I can\'t get the ide to work - click, hourglass, throws me back to the applications screen - Help!?

I need to be able to write and run scripts - can\'t see how I can do that from the konsole - every instruction runs straight away.

Be gentle with me - I\'m new to all this!

markb

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
Python on the C750
« Reply #1 on: March 26, 2004, 05:50:24 pm »
I have a C860. I had the same problem with the python IDE.
Currently I use the command line to run scripts, and vi to edit them.
If you\'re new to Linux vi might not be the best choice for editing files.
If anyone knows of a working IDE I\'d be interested too.

Meanwhile you could try one of the more friendly text editors to create your scripts.
You can do that from Qtopia, and swap to the command line to run your script.
You might find a task-switcher program will come in handy.
It\'ll allow you to swap between apps with a couple of keystrokes.

You can run your script from the command line by specifying the file name after the python command.
e.g.

python NAME-OF-MY-SCRIPT

- Mark

fredamat

  • Newbie
  • *
  • Posts: 7
    • View Profile
Python on the C750
« Reply #2 on: March 27, 2004, 02:08:11 pm »
Mark

Thank you, I\'ll give that a try until an ide shows up

Martin

chroafjd

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://
Python on the C750
« Reply #3 on: March 31, 2004, 08:15:47 am »
Quote
Mark

Thank you, I\'ll give that a try until an ide shows up

Martin

Hi,

I finally managed to get the Python IDE, written by Konrad hansen, run on my C860. I gues it will be the same for your device. Check the ipk on www.killefiz.de - just do a search for Python IDE. You might need to have some extra python modules - code. traceback, codeop - copied into the python installation directory on the zaurus. The IDE looks and works great. Give if a try, if you get stuck give a shout.

Cheers,
Ashu

fredamat

  • Newbie
  • *
  • Posts: 7
    • View Profile
Python on the C750
« Reply #4 on: March 31, 2004, 08:57:42 am »
Hi Ashu

Thanks for that - that\'s the ide I tried, but I only installed the core module. I\'ll pop the ones you suggest in there and see what happens!

Martin

fredamat

  • Newbie
  • *
  • Posts: 7
    • View Profile
Python on the C750
« Reply #5 on: March 31, 2004, 09:01:04 am »
Oh, by the way, Mark\'s suggestion did get me up and running - I currently use tkc editor and then run the progs in the command line - but an ide would be nice!

Martin