Helpful Information
 
 
Category: Development Articles
Python 101 (part 6): Hedgehogs, Pythons And Funky Chameleons

Thank you for your excellent articles.
<br />
I searched the web for good Python tutorials and found the best one here at devshed.
<br />

Hi guys, great job on this tutorial. Would love to see some in-depth examples of wxPython or TkInter. Thanks again.

I agree - I have found this even better than some of the books out there for learning Python.

Cheers for the effort you have put in.

Graham

I've been looking for a good excuse to turn my window box of and have a play with my Linux box, here it is. Great stuff.

This is really cool! I can pick up the skills quick here, after not programming for so many years :-)

Simple. To the point execatly what I was looking for!

I knew about the keyword, but was using it wrong!

_instance

def get():
if global _instance == None:
_instance = MainForm(None)
return _instance
should be:
def get():
global _instance
if _instance == None:
_instance = MainForm(None)
return _instance

Python 101 \(part 6\): Hedgehogs, Pythons And Funky Chameleons (http://www.devshed.com/c/a/Python/Python-101-part-6-Hedgehogs-Pythons-And-Funky-Chameleons)

This week, Python 101 discusses how to abstract out parts of your Python code into reusable functions, add flexibility to them by allowing them to accept different arguments, and make them return specific values. Also included: a discussion of variable scope and functions to help you write your own functions. Confused? All is explained within...

Please discuss this article in this thread. You can read the article here (http://www.devshed.com/c/a/Python/Python-101-part-6-Hedgehogs-Pythons-And-Funky-Chameleons).










privacy (GDPR)