# What Next

## Before the training course

We would recommend reading at least the first few chapters of this book so you are comfortable and familiar with Python before your Python Charmers training course.

If you have read this book thoroughly till now and practiced writing some Python code, then you will be very well-placed to get the most out of the course.

We're sure you'll enjoy the course and learn a lot. Meanwhile, please [get in touch](mailto:help@pythoncharmers.com) if you have any questions!

## After the training course

Here are some project suggestions and further resources for after the course.

## Projects

If you have a work-related project, we recommend that you try applying Python to solve it as soon as possible after the course.

If you would like other project ideas, try these lists:

* [Mega Project List](https://github.com/karan/Projects#mega-project-list)
* [Exercises for Programmers: 57 Challenges to Develop Your Coding Skills](https://pragprog.com/book/bhwb/exercises-for-programmers)
* [Intermediate Python Projects](https://openhatch.org/wiki/Intermediate_Python_Workshop/Projects).

## Example Code

The best way to learn a programming language is to write a lot of code and read a lot of code:

* [Python Cookbook](http://code.activestate.com/recipes/langs/python/) is an extremely valuable collection of recipes or tips on how to solve certain kinds of problems using Python. This is a must-read for every Python user.
* [Python Module of the Week](http://pymotw.com/2/contents.html) is another excellent must-read guide to the [Standard Library](/stdlib.md#stdlib).

## Advice

* [The Hitchhiker's Guide to Python!](http://docs.python-guide.org/en/latest/)
* [The Elements of Python Style](https://github.com/amontalenti/elements-of-python-style)
* [Python Big Picture](http://slott-softwarearchitect.blogspot.ca/2013/06/python-big-picture-whats-roadmap.html)
* ["Writing Idiomatic Python" ebook](http://www.jeffknupp.com/writing-idiomatic-python-ebook/) (paid)

## Videos

* [Full Stack Web Development with Flask](https://github.com/realpython/discover-flask)
* [PyVideo](http://www.pyvideo.org)

## Questions and Answers

* [Official Python Dos and Don'ts](http://docs.python.org/3/howto/doanddont.html)
* [Official Python FAQ](http://www.python.org/doc/faq/general/)
* [Norvig's list of Infrequently Asked Questions](http://norvig.com/python-iaq.html)
* [Python Interview Q & A](http://dev.fyicenter.com/Interview-Questions/Python/index.html)
* [StackOverflow questions tagged with python](http://stackoverflow.com/questions/tagged/python)

## Tutorials

* [Hidden features of Python](http://stackoverflow.com/q/101268/4869)
* [What's the one code snippet/python trick/etc did you wish you knew when you learned python?](http://www.reddit.com/r/Python/comments/19dir2/whats_the_one_code_snippetpython_tricketc_did_you/)
* [Awaretek's comprehensive list of Python tutorials](http://www.awaretek.com/tutorials.html)

## Discussion

If you are stuck with a Python problem, and don't know whom to ask, then the [python-tutor list](http://mail.python.org/mailman/listinfo/tutor) is the best place to ask your question.

Make sure you do your homework by trying to solving the problem yourself first and [ask smart questions](http://catb.org/~esr/faqs/smart-questions.html).

## News

If you want to learn what is the latest in the world of Python, then follow the [Official Planet Python](http://planet.python.org).

## Installing libraries

There are a huge number of open source libraries at the [Python Package Index](http://pypi.python.org/pypi) which you can use in your own programs.

A nice human-curated list of Python packages is here: [Awesome-Python](https://awesome-python.com).

To install and use these libraries, you can use [pip](http://www.pip-installer.org/en/latest/).

## Creating a Website

Learn [Flask](http://flask.pocoo.org) to create your own website. Some resources to get started:

* [Flask Official Quickstart](http://flask.pocoo.org/docs/quickstart/)
* [The Flask Mega-Tutorial](http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world)
* [Example Flask Projects](https://github.com/mitsuhiko/flask/tree/master/examples)

## Graphical Software

Suppose you want to create your own graphical programs using Python. This can be done using a GUI (Graphical User Interface) library with their Python bindings. Bindings are what allow you to write programs in Python and use the libraries which are themselves written in C or C++ or other languages.

There are lots of choices for GUI using Python:

* Kivy
  * <http://kivy.org>
* PyGTK
  * This is the Python binding for the GTK+ toolkit which is the foundation upon which GNOME is built. GTK+ has many quirks in usage but once you become comfortable, you can create GUI apps fast. The Glade graphical interface designer is indispensable. The documentation is yet to improve. GTK+ works well on GNU/Linux but its port to Windows is incomplete. You can create both free as well as proprietary software using GTK+. To get started, read the [PyGTK tutorial](http://www.pygtk.org/tutorial.html).
* PyQt
  * This is the Python binding for the Qt toolkit which is the foundation upon which the KDE is built. Qt is extremely easy to use and very powerful especially due to the Qt Designer and the amazing Qt documentation. PyQt is free if you want to create open source (GPL'ed) software and you need to buy it if you want to create proprietary closed source software. Starting with Qt 4.5 you can use it to create non-GPL software as well. To get started, read about [PySide](http://qt-project.org/wiki/PySide).
* wxPython
  * This is the Python bindings for the wxWidgets toolkit. wxPython has a learning curve associated with it. However, it is very portable and runs on GNU/Linux, Windows, Mac and even embedded platforms. There are many IDEs available for wxPython which include GUI designers as well such as [SPE (Stani's Python Editor)](http://spe.pycs.net/) and the [wxGlade](http://wxglade.sourceforge.net/) GUI builder. You can create free as well as proprietary software using wxPython. To get started, read the [wxPython tutorial](http://zetcode.com/wxpython/).&#x20;

### Summary of GUI Tools

For more choices, see the [GuiProgramming wiki page at the official python website](http://www.python.org/cgi-bin/moinmoin/GuiProgramming).

Unfortunately, there is no one standard GUI tool for Python. I suggest that you choose one of the above tools depending on your situation. The first factor is whether you are willing to pay to use any of the GUI tools. The second factor is whether you want the program to run only on Windows or on Mac and GNU/Linux or all of them. The third factor, if GNU/Linux is a chosen platform, is whether you are a KDE or GNOME user on GNU/Linux.

For a more detailed and comprehensive analysis, see Page 26 of the ['The Python Papers, Volume 3, Issue 1' (PDF)](http://archive.pythonpapers.org/ThePythonPapersVolume3Issue1.pdf).

## Various Implementations

There are usually two parts a programming language - the language and the software. A language is *how* you write something. The software is *what* actually runs our programs.

We have been using the *CPython* software to run our programs. It is referred to as CPython because it is written in the C language and is the *Classical Python interpreter*.

There are also other software that can run your Python programs:

* [Jython](http://www.jython.org)
  * A Python implementation that runs on the Java platform. This means you can use Java libraries and classes from within Python language and vice-versa.
* [IronPython](http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython)
  * A Python implementation that runs on the .NET platform. This means you can use .NET libraries and classes from within Python language and vice-versa.
* [PyPy](http://codespeak.net/pypy/dist/pypy/doc/home.html)
  * A Python implementation written in Python! This is a research project to make it fast and easy to improve the interpreter since the interpreter itself is written in a dynamic language (as opposed to static languages such as C, Java or C# in the above three implementations)

There are also others such as [CLPython](http://common-lisp.net/project/clpython/) - a Python implementation written in Common Lisp and [Brython](http://brython.info/) which is an implementation on top of a JavaScript interpreter which could mean that you can use Python (instead of JavaScript) to write your web-browser ("Ajax") programs.

Each of these implementations have their specialized areas where they are useful.

## Functional Programming (for advanced readers) <a href="#functional-programming" id="functional-programming"></a>

When you start writing larger programs, you should definitely learn more about a functional approach to programming as opposed to the class-based approach to programming that we learned in the [object-oriented programming chapter](/oop.md#oop):

* [Functional Programming Howto by A.M. Kuchling](http://docs.python.org/3/howto/functional.html)
* [Functional programming chapter in 'Dive Into Python' book](http://www.diveintopython.net/functional_programming/index.html)
* [Functional Programming with Python presentation](http://ua.pycon.org/static/talks/kachayev/index.html)
* [Funcy library](https://github.com/Suor/funcy)
* [PyToolz library](http://toolz.readthedocs.org/en/latest/)

## Summary

We have now come to the end of this book but, as they say, this is the *beginning of the end*! You are now an avid Python user and you are no doubt ready to solve many problems using Python. You can start automating your computer to do all kinds of previously unimaginable things or write your own games and much much more. So, get started!

Do [keep in touch](mailto:help@pythoncharmers) to let us know how you go!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prep.pythoncharmers.com/what_next.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
