Go to advanced search

by bobba_dwj
Fri Jul 20, 2012 9:02 am
Forum: Python
Topic: how do I check to see if a variable already exists?
Replies: 11
Views: 1840

Re: how do I check to see if a variable already exists?

I would very much agree with timhoffman above - if you are having to check whether a variable exists, then you probably need to re-think the design of the your program. Even in classes, I would recommend defining as many variables in the __init__() constructor, as it is then more obvious to a user o...
by bobba_dwj
Mon Apr 02, 2012 10:46 am
Forum: Python
Topic: This is an excellent book on Python
Replies: 10
Views: 4416

Re: This is an excellent book on Python

Looks like Dr. Craven is working on a 2nd edition:

http://cs.simpson.edu/cmsc150/
by bobba_dwj
Mon Mar 12, 2012 5:48 pm
Forum: Staffroom, classroom and projects
Topic: Please advise me on a good programming language.
Replies: 15
Views: 7174

Re: Please advise me on a good programming language.

<t>gjs said: <br/> <br/> I tried using Python but there is quite a learning curve.  Though this is undoubtedly worthwhile it's not much use if your a VB or C# developer and want to be productive now.  However, more significantly, I tried developing for GUI apps using Python and TKinter and wxPython ...
by bobba_dwj
Thu Mar 08, 2012 10:13 am
Forum: Python
Topic: Best book to learn python?
Replies: 17
Views: 16650

Re: Best book to learn python?

<t>I think there is a balance, writing code (so that the knowledge sinks in, and you challenge/correct your own assumptions), but also reading books so that the gaps in your knowledge aren't too great.  It is so easy to hack code out, without realising that you are doing it the hard way.<br/> <br/> ...
by bobba_dwj
Tue Mar 06, 2012 1:12 pm
Forum: Staffroom, classroom and projects
Topic: Please help newbie, recommend books,videos' etc
Replies: 3
Views: 1251

Re: Please help newbie, recommend books,videos' etc

<r>Obviously I don't know quite how he will get on with this, but I would recommend the "Hello World" book published by Manning on beginning with Python.  You can get it in either paper form or as an ebook:<br/> <br/> <URL url="http://www.manning.com/sande/">http://www.manning.com/sande/</URL><br/> ...
by bobba_dwj
Mon Mar 05, 2012 10:05 am
Forum: Python
Topic: Best book to learn python?
Replies: 17
Views: 16650

Re: Best book to learn python?

<t>One more thought, if you would like a actual book to read, I would recommend "The Quick Python Book" by Vernon Ceder, 2nd edition.  I got mine from the book depository, and found it extremely readable.  If you buy it, you can also download an electronic version from the publisher's web site with ...
by bobba_dwj
Sun Mar 04, 2012 9:39 pm
Forum: Gaming
Topic: Potential Python/Pygame Jetpac Tutorial
Replies: 21
Views: 8311

Re: Potential Python/Pygame Jetpac Tutorial

<t>loonatic said:<br/> <br/> <br/> I have started breaking down the code into tutorial sized chunks and hope to have the first installment on my website early next week.<br/> <br/> <br/> That would be great, please keep us posted.  I'll look forward to seeing your tutorial - I've having fun with Pyt...
by bobba_dwj
Sun Mar 04, 2012 9:36 pm
Forum: Python
Topic: Best book to learn python?
Replies: 17
Views: 16650

Re: Best book to learn python?

<r>I found this one very good when learning myself, it comes in Python 2 or 3 varieties:<br/> <br/> <URL url="http://www.swaroopch.com/notes/Python">http://www.swaroopch.com/notes/Python</URL><br/> <br/> Moreover, the author of "Invent With Python" has just released a book on Python and Pygame:<br/>...
by bobba_dwj
Mon Feb 27, 2012 12:54 pm
Forum: General discussion
Topic: A heartfelt thanks
Replies: 32
Views: 5645

Re: A heartfelt thanks

print 'Thank you Eben, Liz and the whole team!\t' * 1000
by bobba_dwj
Fri Feb 24, 2012 10:20 am
Forum: Staffroom, classroom and projects
Topic: Best first language
Replies: 160
Views: 43872

Re: Best first language

<r>Abishur said: <br/> <br/> <br/> One thing I'm hoping to put together is an unbiased look at a handful of programming languages.  It would show the traditional "Hello World" script and then a short list of pros/cons and then let the individual choose whichever language they felt looked best to the...
by bobba_dwj
Mon Feb 13, 2012 11:22 am
Forum: Staffroom, classroom and projects
Topic: Projects To Try
Replies: 15
Views: 4296

Re: Projects To Try

<r>liz said: <br/> <br/> <br/> A Tetris clone is an exercise that's really good fun, and you'll learn a lot while you're at it. And what about Conway's Game of Life?<br/> <br/> <br/> Yes, Conway's Game of Life is an excellent exercise - my initial version of the program was fairly simple (written in...
by bobba_dwj
Mon Jan 30, 2012 9:52 am
Forum: Staffroom, classroom and projects
Topic: Book Resources for Learning to Program
Replies: 2
Views: 1200

Re: Book Resources for Learning to Program

<r>A good list is on the Pyton wiki:<br/> <br/> <URL url="http://wiki.python.org/moin/In.....ctoryBooks">http://wiki.python.org/moin/In.....ctoryBooks</URL><br/> <br/> I would particularly recommend "A Byte of Python" for beginners, a PDF is available for Python 2 or 3:<br/> <br/> <URL url="http://w...
by bobba_dwj
Wed Jan 25, 2012 1:21 pm
Forum: Staffroom, classroom and projects
Topic: Best first language
Replies: 160
Views: 43872

Re: Best first language

<r>I would very much agree with ofrxnz.<br/> <br/> Although I am more experienced with C and C++, I would recommend Python as an introduction to programming.  It is a clear and concise language, free of much of the unnecessary syntax that plagues other languages.  It is also a serious language that ...
by bobba_dwj
Sat Jan 21, 2012 6:11 pm
Forum: Python
Topic: learning python?
Replies: 13
Views: 5317

Re: learning python?

<r>justin12234 said: <br/> <br/> <br/> im wanting to get a raspberry pi for programming and im currently tryin to understand python, but some parts of it are sooo confusing. ive gotten up to understanding variables and how it stores data, but once it stats talking about string and number variables i...

Go to advanced search