ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6086
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Want to learn Python?

Sat Aug 20, 2011 11:43 am

Just stumbled upon this book. Looks great... short chapters which are straight to the point without the boring fluff.

http://inventwithpython.com/chapters/

gerits
Posts: 50
Joined: Thu Aug 04, 2011 11:50 am

Re: Want to learn Python?

Sat Aug 20, 2011 11:59 am

Is there a special motivation to learn python?

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: Want to learn Python?

Sat Aug 20, 2011 4:12 pm

It's a pretty robust and powerful language that also has some far reaching roots so it has wide acceptance and appeal
Dear forum: Play nice ;-)

hordecore
Posts: 28
Joined: Sat Aug 13, 2011 11:30 am

Re: Want to learn Python?

Sat Aug 20, 2011 5:08 pm

Also came across that one, downloaded python and basically just took a wee look at it just now. The premise of python and that book definitely appeals to me and looks like it would be good for my 11 yr old son to get to grips with even in just a passing manner.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6086
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Want to learn Python?

Sat Aug 20, 2011 6:49 pm



There's a downside though - it's an interpreted language:

hordecore
Posts: 28
Joined: Sat Aug 13, 2011 11:30 am

Re: Want to learn Python?

Sat Aug 20, 2011 10:48 pm

lol, i love it!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24195
Joined: Sat Jul 30, 2011 7:41 pm

Re: Want to learn Python?

Sun Aug 21, 2011 9:13 am

Quote from gerits on August 20, 2011, 12:59
Is there a special motivation to learn python?

It going to be supplied with the Raspberry Pi (and I think it's where the Pi bit comes from).

I've not done anything serious with it - just played - but it looks quite useful. Eclipse and PyDev works quite well.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

User avatar
RobinJ
Posts: 68
Joined: Mon Aug 08, 2011 4:21 pm
Location: Belgium
Contact: Website

Re: Want to learn Python?

Sun Aug 21, 2011 9:48 am

Quote from jamesh on August 21, 2011, 10:13
Quote from gerits on August 20, 2011, 12:59
Is there a special motivation to learn python?

It going to be supplied with the Raspberry Pi (and I think it's where the Pi bit comes from).

I've not done anything serious with it - just played - but it looks quite useful. Eclipse and PyDev works quite well.
I think the Pi comes from the word Pie and the number Pi (3,141592653589793238462643383279502884197169399375105820974944592...).

Admin: Maybe you'd better set a maximum width for the forum. At first I posted Pi with 100 decimals, and there suddenly was a HUGE horizontal scrollbar :p
Rule #1: If a human tries to argue with a logical device like a computer, the device always wins.
Rule #2: A big bucket of water, window, or hammer can nullify Rule #1.

mcphro
Posts: 2
Joined: Fri Aug 26, 2011 8:48 pm

Re: Want to learn Python?

Fri Aug 26, 2011 9:59 pm

The trouble with Python though, how can you get a GUI type environment like in flash or visual basic?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6086
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Want to learn Python?

Fri Aug 26, 2011 11:04 pm

You code the GUI using something like wxPython or pygame.

stuporhero
Posts: 125
Joined: Fri Aug 19, 2011 2:02 pm

Re: Want to learn Python?

Sat Aug 27, 2011 6:42 pm

PyGame is great! It should be noted it's not just for games...

frafra
Posts: 19
Joined: Sun Aug 28, 2011 2:20 pm
Contact: Website

Re: Want to learn Python?

Sun Aug 28, 2011 3:28 pm

Quote from mcphro on August 26, 2011, 22:59
The trouble with Python though, how can you get a GUI type environment like in flash or visual basic?

Personally I suggest Qt Python binding: http://www.pyside.org/

stuporhero
Posts: 125
Joined: Fri Aug 19, 2011 2:02 pm

Re: Want to learn Python?

Sun Aug 28, 2011 3:45 pm

What happened to PyQt?

hacdan
Posts: 1
Joined: Sun Aug 28, 2011 2:51 pm
Contact: Website

Re: Want to learn Python?

Sun Aug 28, 2011 3:53 pm

PyQt still exists, but in terms of licensing, well, it's hectic to say the least.

Pyside offers much more lenient licensing which allows for redistribution without any hassle. PyQt doesn't offer this.

Personally I use the development tools offered by Qt and PyQt but instead of using the PyQt libraries, I use Pyside. I've yet to run into any issues.

Just my $0.02 on the matter, though.

frafra
Posts: 19
Joined: Sun Aug 28, 2011 2:20 pm
Contact: Website

Re: Want to learn Python?

Sun Aug 28, 2011 3:54 pm

PyQt still exists too. Nokia and OpenBossa have developed PySide from scratch due to license problem (PyQt is not LGPL as Qt, see http://www.riverbankcomputing......qt/license ).

robert.keizer
Posts: 2
Joined: Sun Aug 28, 2011 1:29 pm

Re: Want to learn Python?

Sun Aug 28, 2011 6:05 pm

I'll add my support for PySide. I've worked with it for a while now and find it quite easy to utilize.

Petr
Posts: 9
Joined: Sun Oct 09, 2011 8:51 am

Re: Want to learn Python?

Sun Oct 23, 2011 10:00 pm

Tkinter GUI is traditionally bundled with Python (using Tk).
There is plenty of others as well:
http://wiki.python.org/moin/Gu.....rogramming
There is plenty of books for beginners as well:
http://wiki.python.org/moin/Be.....rogrammers

Return to “Python”