Here you can find python code snippets that are categorised by topic. For instance, you may be looking for a way to work with CSV files - look under the CSV section for several worked examples. Similarly, you may want to use a list to do something specific - again, see if our database of code snippets has what you need. There are plenty of great examples of "how to" for all the different sections, and check back for more!
Also check out www.teachyourselfpython.com
Or experiment with your own code below!