Getting Started with Python for OpenStack

Python is an object oriented program language used in OpenStack.

If you ask yourself how to set your dev environment for OpenStack this post is for you.

OpenStack uses Python 2.x and NOT 3.x. In order to create your dev environment you first need to download the 2.x interpreter at Python official website. While writing these lines the latest 2.x version is 2.7.9.

I then followed the instructions of how to get my Eclipse used as dev environment on my Mac by following the free online video course I found on iTunes. On this course, Alex Bowers teach you how to set up the environment for a Mac but this process should be quite similar on Linux or Windows environments. Note that the course is teaching you to program Python 3.x so you’ll have to change the syntax and the installation process so it would match Python 2.x. I used the same Eclipse Indigo 3.7.2 and the same 2.5xxxx PyDev environment he downloaded by checking off “Show only the latest versions of available software” on the PyDev download page. After having errors using the latest versions I decided to follow the course instructions and exact same versions, except using Python 2.7.9 as my interpreter, step-by-step and it worked with no issues.

Further Python learning materials can be found at the official Python documentation or if you looking for an interactive tutorial with a built-in interpreter go to


2 thoughts on “Getting Started with Python for OpenStack

  1. Hi there! I could have sworn I’ve been to this blog before but
    after browsing through some of the post I realized
    it’s new to me. Nonetheless, I’m definitely glad I found it and I’ll be
    book-marking and checking back frequently!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s