Switch to Python from PHP

This article is a short tutorial for guiding developers with PHP background to start with Python. I have not an intention of rewriting all the existing documents but just a guide line how we start.

  1. http://www.diveintopython.net/

this is a perfect book for starting Python, dont read the whole book if you have not much of times, just read the chapter: 2, 3, 4, 5. The left of book is just some examples so we will discover later in real projects.

2. Once you finish the book, normally you already know how to use dir for inspecting the available methods of each object. If not, try to use this and test all the methods for playing a little bit with Python data types.

3. When you know how to play with Python, now it’s time for giving a try at virtualenv and virtualenvwrapper. With Python, we can create an isolated environment for each project. Virtualenvwrapper is a wrapper of virtualenv, it make use of virtualenv easier.

4. https://www.djangoproject.com/

Show your support

Clapping shows how much you appreciated Ha Trong Hieu’s story.