PyCharmGetting started with PyCharm


Remarks

This section provides an overview of what pycharm is, and why a developer might want to use it.

It should also mention any large subjects within pycharm, and link out to the related topics. Since the Documentation for pycharm is new, you may need to create initial versions of those related topics.

Versions

PyCharm VersionEditionsBuildRelease Date
2016.3.3Professional, Community163.15188.42017-03-17
2016.3.2Professional, CommunityN.A.2016-12-30
2016.3.1Professional, CommunityN.A.2016-12-14
2016.3Professional, CommunityN.A.2016-11-03
2016.2.3Professional, Community162.1967.102016-09-07
2016.2.2Professional, CommunityN.A.2016-08-25
2016.2.1Professional, CommunityN.A.2016-08-11
2016.2Professional, CommunityN.A.2016-07-21
2016.1.5Professional, Community145.2073.102016-11-18
2016.1.4Professional, CommunityN.A.2016-05-26
2016.1.3Professional, CommunityN.A.2016-05-11
2016.1.2Professional, CommunityN.A.2016-04-08
2016.1.1Professional, CommunityN.A.2016-04-05
2016.1Professional, CommunityN.A.2016-03-23
5.0.6Professional, Community143.2371.12016-11-18
5.0.4Professional, CommunityN.A.2016-01-28
5.0.3Professional, CommunityN.A.2015-12-23
5.0.2Professional, CommunityN.A.2015-12-10
5.0.1Professional, CommunityN.A.2015-11-11
5Professional, CommunityN.A.2015-11-02
4.5.5Professional, Community141.30582016-05-11
4.5.4Professional, CommunityN.A.2016-09-01
4.5.3Professional, CommunityN.A.2016-07-09
4.5.2Professional, CommunityN.A.2016-06-17
4.5.1Professional, CommunityN.A.2016-05-22
4.5Professional, CommunityN.A.2015-11-02
4.0.7Professional, Community139.18032016-05-11
4.0.6Professional, CommunityN.A.2015-04-03
4.0.5Professional, CommunityN.A.2015-03-10
4.0.4Professional, CommunityN.A.2015-01-07
4.0.3Professional, CommunityN.A.2014-12-16
4.0.2Professional, CommunityN.A.2014-12-09
4.0.1Professional, CommunityN.A.2014-11-27
4Professional, CommunityN.A.2014-11-19
3.4.4Professional, Community135.13572016-05-11
3.4.1Professional, CommunityN.A.2014-06-10
3.4Professional, CommunityN.A.2014-05-29
3.1.4Professional, Community133.18842016-05-11
3.1.3Professional, CommunityN.A.2014-04-22
3.1.2Professional, CommunityN.A.2014-04-04
3.1.1Professional, CommunityN.A.2014-02-14
3.1Professional, CommunityN.A.2014-02-04
3.0.3Professional, Community131.8492016-05-11
3.0.2Professional, CommunityN.A.2013-12-02
3.0.1Professional, CommunityN.A.2013-10-17
3Professional, CommunityN.A.2013-09-24
2.7.4N.A.129.15662016-05-11
2.7.3N.A.N.A.2013-06-18
2.7.2N.A.N.A.2013-04-18
2.7.1N.A.N.A.2013-02-28
2.7N.A.N.A.2013-02-07
2.6.3N.A.121.3782012-10-26
2.6.2N.A.N.A.2012-09-17
2.6N.A.N.A.2012-09-04
2.5.2N.A.117.6632012-06-29
2.5.1N.A.N.A.2012-05-08
2.5N.A.N.A.2012-04-13
2.0.2N.A.111.2912012-02-07
2.0.1N.A.N.A.2011-12-15
2N.A.N.A.2011-12-13
1.5.4N.A.107.7562011-08-29
1.5.3N.A.N.A.2011-07-12
1.5.2N.A.N.A.2011-06-17
1.5N.A.N.A.2011-06-06
1.2.1N.A.105.582011-04-12
1.2N.A.105.582011-03-15
1.1.1N.A.101.152011-01-18
1.1N.A.N.A.2010-12-23
1.0.1N.A.101.152010-11-12
1.0N.A.N.A.2010-10-13

Hello World

  1. Open PyCharm

  2. Select Create New Project

    • Select the desired location to create the project
    • Select the python interpreter
    • Click Create
  3. Create a new python file e.g. with File->New...-> Python File

  4. Add the following code

    #!/usr/bin/env python
    print("Hello World")
     
  5. Run the code e.g. with Run->Run...->YourCreatedPytonFile

Installation or Setup

There are two PyCharm editions: Community and Professional.
Both are downloadable from JetBrains website. Additionally, there is another edition, PyCharm Edu. JetBrains recommend this edition, if you are learning or teaching Programming with Python.

The supported platforms are Windows, Linux and macOS.

To install PyCharm on:

  • Windows: Run the .exe file and follow the instructions of PyCharm Setup wizard
  • Linux: Unpack the .tar.gz archive into any directory within your home directory
  • OS X: Open the .dmg package, and drag PyCharm to the Applications folder

Windows

Go to the download page, choose the desired edition and go through the classic installer.

Linux

There are two options on how to install PyCharm on Linux which depends on if your distro supports ppa packages.

  1. If your distro doesn't support ppa packages or simply you want download PyCharm directly to the JetBrains website, follow this procedure:

    • Download the <pycharm-professional or pycharm-community>-*.tar.gz file from the download page.

    • Unpack the <pycharm-professional or pycharm-community>-*.tar.gz file to a different folder, if your current "Download" folder doesn't support file execution

      tar xfz <pycharm-professional or pycharm-community>-*.tar.gz <new_archive_folder> 
       
    • Switch to the bin directory:

      cd <new archive folder>/<pycharm-professional or pycharm-community>-*/bin
       
    • Run pycharm.sh from the bin subdirectory

  2. If your distro supports ppa packages, type this in the terminal:

    sudo add-apt-repository ppa:mystic-mirage/pycharm
    sudo apt-get update
    sudo apt-get install pycharm
     

If you are not sure about this information, choose the first method.

macOS

Go to the download page, choose the desired edition and open the .dmg package, and drag PyCharm to the Applications folder.