How to install Python on Windows and set path variable

0 votes
May 24, 2019 in Python by Wajiha
• 1,960 points
2,726 views

1 answer to this question.

0 votes
Install python from this link https://www.python.org/downloads/
After this, install it on your PC. Look for the location where PYTHON has been installed on your PC using tge following command on your command prompt: cmd python.
Then go to advanced system settings and add new variable and name it as PYTHON_NAME and paste the copied path.
Then look for the path variable, select it's value and select edit
Add a semicolon towards the end of the value if it's not present and then type %PYTHON_HOME%
answered May 24, 2019 by anonymous
• 180 points

Related Questions In Python

+1 vote
1 answer

How to install tensorflow using anaconda and python 3.7.1 on windows?

Since I am using python 3.5 so ...READ MORE

answered Aug 19, 2019 in Python by Arvind
• 3,050 points
9,333 views
0 votes
0 answers

How to mix read() and write() on Python files in Windows

It appears that a write() immediately following a read() on a ...READ MORE

Oct 24, 2018 in Python by Aryya
• 500 points
830 views
0 votes
1 answer

How to add to the python path in Windows?

You know what has worked for me ...READ MORE

answered Jul 25, 2018 in Python by Frankie
• 9,830 points
1,037 views
0 votes
1 answer

How can I print variable and string on same line in Python?

Use , to separate strings and variables while printing: print ...READ MORE

answered Sep 17, 2018 in Python by Priyaj
• 58,020 points
3,539 views
0 votes
1 answer

How to handle AssertionError in Python and find out which line or statement it occurred on?

Use the traceback module: import sys import traceback try: ...READ MORE

answered Dec 18, 2018 in Python by charlie_brown
• 7,720 points
5,738 views
0 votes
1 answer

Check if the object(variable) is defined in R

You can use the exists(): > exists("toFindUnknown") [1] FALSE > ...READ MORE

answered Apr 17, 2018 in Data Analytics by Sahiti
• 6,370 points
810 views
0 votes
1 answer

Does executable exist in Python?

This is a way I can think ...READ MORE

answered Sep 21, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,275 views
0 votes
1 answer

Python: Glob() to find files recursively

import os, fnmatch def find_files(directory, pattern): ...READ MORE

answered Oct 24, 2018 in Python by Priyaj
• 58,020 points
1,535 views
0 votes
1 answer

Setting $PATH as used by applications in OS X

That's correct; it's in the plist file ~/.MacOSX/environment.plist It ...READ MORE

answered Dec 17, 2018 in Java by nirvana
• 3,130 points
1,007 views
+1 vote
1 answer

How to comment multiple lines in Python?

Comments in Python begin with a # ...READ MORE

answered May 24, 2019 in Python by Nisa
• 180 points
1,150 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP