2017-05-29

PyCharm vs PyDev in Eclipse

So what does Internet say about this? I've googled "pycharm vs pydev" and read a few of the most relevant hits. So just to recap, in my last post I concluded that I'm looking at either PyCharm Community or Eclipse with PyDev. Eclipse is a platform on which addons can be installed for different purposes. For Python development, it seems to be the PyDev addon that's what's needed to develop Python programs in Eclipse.
What is remote debugging? According to Wikipedia, remote debugging can be explained as follows:

"Remote debugging is the process of debugging a program running on a system different from the debugger. To start remote debugging, a debugger connects to a remote system over a network. The debugger can then control the execution of the program on the remote system and retrieve information about its state."

and which is something that I don't need at the moment. So to conclude it all, I believe that Internet thinks that I should go for PyCharm, so here we go!

Let's start off with hitting the PyCharm Community Download button.

 The automatically selected, I guess latest stable, version of PyCharm Community is 2017.1.3 and the setup file is approximately 147 MB large. A few moments later I'm executing the downloaded setup file.  Required space is 412.7 MB. Seems like it's time to upgrade my hardware.


Ok, so there are separate launchers for 32-bit and 64-bit systems, and as I'm allergic to having stuff on my desktop I'll keep those two boxes unchecked. I also skip the file association to .py, I don't really know why, but it's easy to fix afterwards if it becomes annoying. What is "JRE x86 by JetBrains"? I'm running Windows 7 64-bit, so x86 doesn't sound applicable to me, but let's check it out. JRE stands for "Java Runtime Environment" and is needed to run java applications on your computer.


Nothing special here...


Nothing special here...


Finish and run!


I have no settings to import.


And I guess I have no choice but accepting the privacy policy.


First settings to make. The keymap scheme determines shortkeys for different commands etc. It's all reconfigurable inside the program later on. The IDE theme determines the visual theme of the program. Let's try IntelliJ.


Clicking the "Click to preview" unfolds a small windows with a code example. Changing the Editor colors and fonts changes the code example.


I'm going with Warmneon.


After click OK on the short configuration wizard this is what comes up. Hit the Create New Project button.


 No Python interpreter selected? -> Google -> Stack overflow -> I haven't installed Python! I shut down PyCharm for now.


Let's download and install Python then. Which one to go for? -> Google -> Python wiki -> "Short version: Python 2.x is legacy, Python 3.x is the present and future of the language" -> I'm going for Python 3.6.1. Clicking the left button take's me to a new page


on which I scroll down to Files and select the appropriate file for me, "Windows x86-64 executable installer".


29.9MB later I run the executable and then click Customize installation button just to see what's in the installation.

 Nothing weird really, maybe I could do without the Documentation since I've got Internet close at hand, but hey, maybe it's useful for once. Next...


I deselect the Create shortcuts box. Next...


Install... Great success!


Checking in Programs and Features (Windows), Python 3.6.1 (64-bit) takes 90.5MB and Python Launcher 1.73MB.

Now try again with PyCharm and see if there's any difference. The red text is gone! I'm selecting another location for my project. Create!

 

 Tip of the Day. For the first time ever I'm going to go through this kind of thing and see what happens.


That's all for this post folks. Next post will be about getting started with the coding and maybe running a "Hello world" program.

/Ludvig

1 comment:

  1. Thank you for reading the blog, I'm happy to hear that it's helpful. Best regards

    ReplyDelete