Ask Your Question

Revision history [back]

As @Bernd mentioned the documentation is a good start. But I will add some of parallel documentation and free courses for this purpose.

  1. Tutorialpoint, is the first option for me when I have to learn or remember something about programming. The python docs were useful for my students when I was teaching as moderator at college. https://www.tutorialspoint.com/python/

  2. Course with online tool for testing for free https://www.codecademy.com/learn/learn-python

  3. Good online documentation that explain in an easy way why to use python, how are the easy implementations and provide some good examples on each section https://www.programiz.com/python-programming

If you want it to learn python for openstack. You can go directly on the documentation and check some uses. https://docs.openstack.org/stein/language-bindings.html

If you will be using the basic actions use the openstack client. If not, I will recommend to avoid the use of the python implementation of the openstackclient for python due is still in develpment and can have some missing actions that are in the core of the other clients. https://docs.openstack.org/openstacksdk/stein/

I recommend to you the use of classes, functions and templates. For templating in python you can use Jinja2 that is the most popular engine http://jinja.pocoo.org/

Hope this will be helpful to you :D