20 Apr

Python

Introduction:

Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990.Python can be easy to pick up whether you’re a first time programmer or you’re experienced with other languages.Python is developed under an OSI-approved open source license, making it freely usable and distributable, even for commercial use.

Advantages

Advantages of Python over other languages:

  • Python is a Beginner’s Language. Its code is easy to read and you can do a lot of things just by looking at it.
  • You can execute a lot of complex functionalities with ease, thanks to the standard library.
  • Python supports Object-Oriented style.
  • Supports multiple systems and platforms.
  • You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.
  • You can build GUI applications easily.

Current Stable Versions:

For Python2.7 -> 2.7.13

For Python3 -> 3.6.1

Most of the code will be written in Python2.7 as it supports large number of libraries.

How to download Python2.7 ?

Please use below link to download Python2.7 and download Python2.7.13 or above version.

https://www.python.org/downloads/

eclipse_logo

Eclipse Editor for Python:

To write Python scripts, we use Eclipse editor. 

Download Eclipse editor from below link

http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/neon3

Java_logo_icon

Download latest Java from below link

https://java.com/en/download/

Note:

  • Please download Eclipse and Java software based on your system configuration(32-bit or 64-bit).
  • Both Eclipse and Java software should be same version (either 32-bit or 64-bit).
  • Don’t mix match Eclipse and Java software versions. Eg: Eclipse 32-bit and Java 64-bit will get error.

Installing Eclipse for Python Project:

For creating Python projects, we need to install one time Pydev software plugin to Eclipse.

Pydev_logo

Open Eclipse, Go to “Help” Menu and Click “Install New Software”.

Screen Shot 2017-04-20 at 6.10.10 PM

Click “Add” button and give Name as “Pydev” & Location as “http://pydev.org/updates” and then click “OK”.

Screen Shot 2017-04-20 at 6.15.40 PM

Select “PyDev” option and click “Next”

Screen Shot 2017-04-20 at 6.17.17 PM

Click “Next”

Screen Shot 2017-04-20 at 6.21.33 PM

Now click “I accept the terms of the license agreements” button and click “Finish”.

Screen Shot 2017-04-20 at 6.24.43 PM

Click “Brainwy Software;PyDev;Brainwy” option and click “OK”.

Screen Shot 2017-04-20 at 6.26.33 PM

Restart eclipse by clicking “Yes” button.

Screen Shot 2017-04-20 at 6.29.26 PM

For creating new Python project, select File -> New -> Other

Screen Shot 2017-04-20 at 6.31.18 PM

Select “PyDev Project” and click “Next”.

Screen Shot 2017-04-20 at 6.32.58 PM

For configuring Python interpreter, click on link “Click here to configure an interpreter not listed.” and click “OK”

Screen Shot 2017-04-20 at 6.34.57 PM

Give Project Name and Directory path and click “Finish”

Screen Shot 2017-04-20 at 6.40.25 PM

At this stage, we have successfully created new Python project in Eclipse editor.

What we do at QAProgrammer ?

What We Do

  • Create test plan/test scenarios based on business requirement document.
  • Create test Automation scripts/framework from test plan/test scenarios.
  • Provide test Automation results and reports daily to clients.
  • Find bugs and report them to clients.
  • Update and maintain test Automation scripts.
Share this

Comments (6)

employment law discrimination
May 22, 2017 Reply

Hi mates, fastidious piece of writing and pleasant urging commented at this place, I am really enjoying by these.

http://employmenthint.eu/

education online courses
May 22, 2017 Reply

Someone essentially lend a hand to make significantly posts I might state. That is the very first time I frequented your web page and up to now? I surprised with the research you made to create this particular post amazing. Magnificent task!

best online education
May 23, 2017 Reply

Hmm it seems like your website ate my first comment (it was extremely long) so I guess I'll just sum it up what I wrote and say, I'm thoroughly enjoying your blog. I too am an aspiring blog writer but I'm still new to everything. Do you have any helpful hints for newbie blog writers? I'd really appreciate it.|

healthy living
May 23, 2017 Reply

There's definately a lot to know about this subject. I really like all the points you have made.

http://healthhints.eu/

online education
May 24, 2017 Reply

First off I would like to say superb blog! I had a quick question which I'd like to ask if you don't mind. I was curious to know how you center yourself and clear your thoughts prior to writing. I have had a tough time clearing my mind in getting my thoughts out. I do take pleasure in writing but it just seems like the first 10 to 15 minutes are usually wasted just trying to figure out how to begin. Any recommendations or tips? Thanks!

learning styles
May 25, 2017 Reply

Sweet blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Many thanks

Leave a reply