Active Topics

 


Reply
Thread Tools
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#1
I am working on a Book/Tutorial for teaching newbies how to program using Python. I want it to be especially focused on Maemo development. I decided to put it in Google Wave as a way of testing the open development methodology and as a way to test Google Wave itself.

All the content of the wave will be understood to be provided under the Creative Commons Attribution-Share Alike 3.0 license:

http://creativecommons.org/licenses/by-sa/3.0/

http://creativecommons.org/licenses/by-sa/3.0/legalcode

The versions of Python and other libraries targeted by the wave will be initially the ones available on Maemo 5 at the time of the N900 release. That means Python 2.5.4. As Maemo starts moving to more recent versions of Python we will attempt to keep this wave in sync.
This is the Table of Contents so far:

  • What is Python?
  • Why Python?
  • Installing Python
  • How Python works.
  • The building blocks of a Python program
    • Variables
    • Expressions
    • Numbers
    • Strings
    • Lists
    • Tuples
    • Dictionaries
  • How to program in Python
    • "for" loops
    • "Truth" tests
    • "while" loops
    • "if" statements
  • Functions
    • Defining a function
    • Namespaces and Scope
  • Modules
    • Maemo/N900 specific modules
  • Working with files
  • Classes and Objects
  • Errors and Error Handling
  • Other common built-in functions
  • Time
  • GUI - Qt development
  • GUI - GTK development
  • Bibliography (attributions)

I am looking especially for developers that can help me with the still incomplete sections (items in red).

[Edit:]
Regular users can read the finished areas of the tutorial here:

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

I have a few Google Wave invitations that I will reserve for Python developers. If you are a Python developer and would like to join Google Wave send me a PM with your email address. The only requirement is that you make at least one edit to the wave.

[/Edit:]

I hope this is fun and helpful.

PS: I will be out all evening. If I don't respond immediately, don't panic.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/

Last edited by rm42; 2009-12-09 at 19:54.
 

The Following 35 Users Say Thank You to rm42 For This Useful Post:
Posts: 62 | Thanked: 24 times | Joined on Nov 2009 @ France
#2
This is what I was looking for !

I'm quite experienced in PHP and would like to develop for the N900 without having to learn C/C++.

Thank you for your work and good luck !
If you want to make a html/php version of it, I can host it on my dedicated server

EDIT : I already have a Wave account, could you please send me the link ? (this is the first time I really think it can be useful)
 

The Following User Says Thank You to Aweb For This Useful Post:
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#3
Originally Posted by Aweb View Post
EDIT : I already have a Wave account, could you please send me the link ? (this is the first time I really think it can be useful)
I need to know your Google Wave account in order to add you to the wave. If you don't want to post it here, just send me a PM.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Posts: 716 | Thanked: 303 times | Joined on Sep 2009 @ Sheffield, UK
#4
Originally Posted by Aweb View Post
This is what I was looking for !

I'm quite experienced in PHP and would like to develop for the N900 without having to learn C/C++.

Thank you for your work and good luck !
If you want to make a html/php version of it, I can host it on my dedicated server

EDIT : I already have a Wave account, could you please send me the link ? (this is the first time I really think it can be useful)
Same here, although I wouldn't necessarily say I am "quite experienced" in PHP, more than I can hack my way around with a little help from Google. :-p

I have to admit, so far I am not loving the Python tutorials I have found. I find it really hard to get motivated except when diving right in developing something I really want. As such I want to learn Python on the N900 rather than learning it on desktop Linux first - as I can't think of anything I would want to write for desktop Linux.

I do not have a Wave account btw.
 
Posts: 62 | Thanked: 24 times | Joined on Nov 2009 @ France
#5
Originally Posted by rm42 View Post
I need to know your Google Wave account in order to add you to the wave. If you don't want to post it here, just send me a PM.
I sent it to you by PM.

Alex Atkin UK => Maybe I was a bit over-confident when I said I was "quite experienced", it's just that I've been using it for years and that generally I can achieve what I want with it.
Also, as you, I can't really learn a programming language if I haven't a project for it, and I have one for Python on the N900
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#6
Hmmm... The point of that wiki is not clear and obvious for me... There's nice tutorial and documentation on official Python site, there's 'Dive into Python', PythonInfo Wiki, PythonOnMaemo (there are really good examples and links to hildon-specific bindings, documentation etc.). So what's the point of making one more? Only if you want to get together all the information from those resources.
Remember: 'batteries included'
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#7
Originally Posted by 412b View Post
Hmmm... The point of that wiki is not clear and obvious for me... There's nice tutorial and documentation on official Python site, there's 'Dive into Python', PythonInfo Wiki, PythonOnMaemo (there are really good examples and links to hildon-specific bindings, documentation etc.). So what's the point of making one more? Only if you want to get together all the information from those resources.
Remember: 'batteries included'
Well, I think you answered your own question. I also want it to be very newbie friendly. Some of those tutorials, like 'Dive into Python' assume you already know quite a lot. I have added a few programming newbies into the wave. I am anxious to hear what they think.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Posts: 7 | Thanked: 1 time | Joined on Nov 2009
#8
Originally Posted by rm42 View Post
I am working on a Book/Tutorial for teaching newbies how to program using Python. I want it to be especially focused on Maemo development. I decided to put it in Google Wave as a way of testing the open development methodology and as a way to test Google Wave itself.

...

I will also allocate 5 Google Wave invitations for regular users who have never done any type of programing in their lives. Just send me a PM with your email address.

Any one else that already has a Google Wave account and wants to join the wave let me know as well.

When the work is done, we will donate it to the Maemo community somehow.

I hope this is fun and helpful.
Hello!

I think this is a great idea and it might be just the thing I am looking for.

Iīm a newbie in coding, I have the basic understanding what it is, but nothing concrete, especially in Python. I know some basic HTML/CSS and Iīm currently trying to learn more of it, as I just enrolled for a Web publishing course at my uni.

I had/have a few ideas for applications for Symbian and considered learning to develope for it. Somehow I felt that the starting phase was a bit overwhelming and couldnīt really visualize my idea becoming an app(in a considerable amount of time), so the "spark" to learn slowly died.

Now, thanks to the N900 and Maemo, I feel the spark has ignited again. Unfortunately Iīm quite cramped, timewise, and donīt know how much time I have to put in to this, but Iīd love to participate as much as I can.

I also have to admit, that one of the reasons why your project seems so interesting is, that itīs done through Wawe. So I feel, that I could learn two things at once, which is always nice. Unfortunately I donīt have a Wawe account. So if you still have those newbie invites left, I would appreciate one. It seems that Iīm unable to send PMīs(Why is that? Not enough posts??) so hereīs my mail: Edit: Thank you for the invitation.

Last edited by ommike; 2009-12-04 at 15:50.
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#9
Originally Posted by ommike View Post
Hello!

I think this is a great idea and it might be just the thing I am looking for.

Iīm a newbie in coding, I have the basic understanding what it is, but nothing concrete, especially in Python. I know some basic HTML/CSS and Iīm currently trying to learn more of it, as I just enrolled for a Web publishing course at my uni.

I had/have a few ideas for applications for Symbian and considered learning to develope for it. Somehow I felt that the starting phase was a bit overwhelming and couldnīt really visualize my idea becoming an app(in a considerable amount of time), so the "spark" to learn slowly died.

Now, thanks to the N900 and Maemo, I feel the spark has ignited again. Unfortunately Iīm quite cramped, timewise, and donīt know how much time I have to put in to this, but Iīd love to participate as much as I can.

I also have to admit, that one of the reasons why your project seems so interesting is, that itīs done through Wawe. So I feel, that I could learn two things at once, which is always nice. Unfortunately I donīt have a Wawe account. So if you still have those newbie invites left, I would appreciate one. It seems that Iīm unable to send PMīs(Why is that? Not enough posts??) so hereīs my mail: ******** A---T gmail.com
I have added you to the list of people that Google is considering for inclusion in Google Wave. Most likely you will get your account in one or two days. You can edit your message above to remove your email address if you want. Let me know when you get your account so that I add you to the wave.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 

The Following User Says Thank You to rm42 For This Useful Post:
Posts: 486 | Thanked: 154 times | Joined on Sep 2009 @ New York City
#10
Do you have example code for talking to the N900's location services (liblocation)?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:50.