Friday, July 31, 2015

Python Basics - 004 - PyCharm and other IDEs

Previous chapter: Data Types Next Chapter: Variables



004 - PyCharm and other IDEs

Using notepad and then fumbling around the command line are all necessary skills to call yourself a programmer, however once you know how to do them, you don't have to always do it the same way. We can move on to IDEs which will make our life a lot easier.

Python has a lot of IDEs[1][2] and one of my favourites is PyCharm.

For beginners PyCharm I feel is the easiest of all IDEs and you can get you code running in a very short time.

Downloads are available here: https://www.jetbrains.com/pycharm/download/ and community edition is free and open source. The professional edition is not needed in this early stage. The professional edition license is also free if you're a student or operating a open source project.

It is a pretty straightforward installation and the installer is available for windows, mac and linux operating systems.

Here's the quick start guide[3] for anything you might need to configure PyCharm.

You can also get a lot of demos and videos in PyCharm website[4].

Working with PyCharm:

You can open a project or create just a Python file using File -> new.

Once created, you can go ahead and type the same sample code we discussed in the previous post.

Use the play button to run the script.

The output will be displayed in the bottom console window area.

That's pretty much all you need to start coding in PyCharm.


References:

  1. https://wiki.python.org/moin/IntegratedDevelopmentEnvironments
  2. http://pedrokroger.net/choosing-best-python-ide/
  3. https://www.jetbrains.com/pycharm/quickstart/
  4. https://www.jetbrains.com/pycharm/documentation/



Previous chapter: Data Types Next Chapter: Variables

No comments:

Post a Comment