maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Python for Newbies on Maemo - Google Wave (https://talk.maemo.org/showthread.php?t=35832)

Tetharion 2009-12-13 18:39

Re: Python for Newbies on Maemo - Google Wave
 
hi,

would love to see this wave too :)
my id is tetharion at googlemail.com, if it's possible please add me to the wave :)

thanks,
Tetharion

Dexter1759 2009-12-14 11:19

Re: Python for Newbies on Maemo - Google Wave
 
Hi All,

I'm trying to get this example working on my N900.

But the tutorial is designed to be run and tested in scratchbox (which I don't have access too).

So I have the .py file and the .desktop file, and for the moment they are in "N900/Python" where I believe "N900" is an alias of somekind for "/home/user/MyDocs/".

Firstly, If I simply load up the Py file in PyGTKEditor it basically says it can't find HildonDesktop (which I would assume is already on the N900!), so my best guess is that the py and desktop files aren't in the right place (assuming that when importing HildonDesktop it is looking in the same location as the Py file).

So where do I put them? I can't seem to find/access "/usr/lib/hildon-desktop/" on my N900. Is that because that path (given in the example linked to earlier) is relevant to scratch box?

Many thanks,
Dex

ymb 2009-12-14 11:41

Re: Python for Newbies on Maemo - Google Wave
 
Tawyn and z3phyr your invites have been sent.

By the way, I have borrowed a copy of O'Reilly's Learning Python from my local library, and the first two articles that rm42 has posted are a good summary of the first part of the book.

If the wave still exists, can you add me (I use ymbrads on Googlewave).

rm42 2009-12-14 14:31

Re: Python for Newbies on Maemo - Google Wave
 
Dexter,

What I would do is create a new folder for your Python scripts. Something like:

/home/user/MyDocs/Py

Place your .py files there (ones you create). Open the terminal and go to that folder. Then simply type: python myscript.py (or whatever you called your .py file).

rm42 2009-12-14 14:35

Re: Python for Newbies on Maemo - Google Wave
 
As far as the wave goes, I am now only adding developers to it. Everyone else can go to the published version of the tutorial:

http://www.themaemo.com/python-for-newbies/

By the way, the wave is now a bit out of date since I made some changes and corrections on the published version that I haven't had a chance to update on the wave yet. If any one already on the wave wants to help with this it will be much appreciated.

We also need to bring the code samples in compliance with Pep - 8.

mwerle 2009-12-15 13:40

Re: Python for Newbies on Maemo - Google Wave
 
Hi,

As I don't yet have the ability to PM here, and as my Wave ID not really a secret, could you please add me to this wave? mwerle@googlewave.com

Also, scanning the topics in the first post, a topic that's missing is 'how to package and distribute your python program'.

Cheers,
- Micha.

rm42 2009-12-15 20:03

Re: Python for Newbies on Maemo - Google Wave
 
Quote:

Originally Posted by mwerle (Post 428929)
Hi,

As I don't yet have the ability to PM here, and as my Wave ID not really a secret, could you please add me to this wave? mwerle@googlewave.com

Also, scanning the topics in the first post, a topic that's missing is 'how to package and distribute your python program'.

Cheers,
- Micha.

OK Micha, you are in. I assume that you are a developer and want to help out. Thanks.

lizardo 2009-12-21 16:29

Re: Python for Newbies on Maemo - Google Wave
 
Hi,

Can I be added to the wave? I already have an account: anderson.lizardo _AT_ googlewave.com

I might try to help on the PyMaemo specific bits (on my spare time for now).

It would be nice if you could post your tutorial URL (the "static" one) to the pymaemo-developers mailing list.

Good work ;)

rm42 2009-12-21 16:46

Re: Python for Newbies on Maemo - Google Wave
 
Quote:

Originally Posted by lizardo (Post 436516)
Hi,

Can I be added to the wave? I already have an account: anderson.lizardo _AT_ googlewave.com

I might try to help on the PyMaemo specific bits (on my spare time for now).

It would be nice if you could post your tutorial URL (the "static" one) to the pymaemo-developers mailing list.

Good work ;)

OK you are in. I also sent a note to the pymaemo-developers. Thanks for the suggestion.

blubbi 2010-03-20 09:49

Re: Python for Newbies on Maemo - Google Wave
 
Hi, great idea!

I would suggest a large block about python and evolution (python-evolution module http://live.gnome.org/Conduit/evolution-python).

I am messing around with it and it is far away from being intuitive or well documented.
http://talk.maemo.org/showthread.php?p=574485

Cheers
Bjoern


All times are GMT. The time now is 03:03.

vBulletin® Version 3.8.8