Install pyDev with eclipse

We cannot code all the things in the python editor, which is in command prompt. To edit the python code quickly, we have to use an IDE for development. In this tutorial, I will be using Eclipse with PyDev.

  • After installing Eclipse, Goto Help >Eclipse marketplace
  • Now search for pyDev and install the software
  • Accept the License and Restart the eclipse.
  • We have to open PyDev perspective to edit python code, Window > Perspective > Open Perspective > Other and choose PyDev
  • Create first Project, File > New > PyDev Project
  • When we use python for the first time, we have to set the interpreter, click to configure the interpreter.
  • Click on Auto-config option, and then finish the creating project wizard.
  • Right-click on the python project and Create a new Pydev Module.
  • Give Module name and click on Finish
  • Select the template as Empty and click on OK
    select-the template
  • After creating Module successfully, your project will look like
  • Now enter the command in the coding area and click on Run button
  • When we Run any module for the first time, we have to choose how you want to run either Just python program or as UnitTest Program
  • You can see the output in the console.

Introduction to Python Datatypes

Console on PyDev

Unlike other programming languages, Python provides live editor, which is you can control the browser entering command by command.

I am not talking about debugging, and Debugging is a process where you will checkpoint and run the complete program step by step to understand the flow and error

Python console gives the ability to run a live command; for example, I have opened a browser, and I Opened, but I realize I want to open, now I don't have to stop the program as I am in the live editor I change the commands.

Let us see how to open Live console :

1. Open Eclipse console.

2. On Right-hand corner, you can find an icon to like a rectangle with a + sign, click it.

3. Choose PyDev Console pydev-console-python

4.Select Console for current Editor

5. Now you have a live console and type the commands that you want to use.

0 results
Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions