I Dont have any path added to system variable but have added to user variable in environment variable but my code is still running on Jupiter or cmd
1.)how?
2.)is i have to add path of where i have installed python file?
I Dont have any path added to system variable but have added to user variable in environment variable?
hey @ARYAN27 ,
-
User variable are only used and available for the current logged in user , so if you are the only user on your system , then your system variables and user variables will be same . That’s the reason that while you have added path to you user variable ,python still works fine.
-
Yes , you have to add the required path where you installed python in environment variables , if you haven’t done so.
I hope this would have resolved your doubt.
Happy Learning
.
why we are adding path to environment variable? .
so to run on our PC applications or some other explanation?
actually there are many programs running in background to keep your system work properly and these programs are command line based so they don’t take any kind of inputs and hence , require environmental variable for there working.
Python is also one them , and hence requires this path to find it installed modules ,its executable file ,etc. . This is the reason why we need to add its path to environment variables.
in very short ,yes.
okay thank you so much
No problem.
If your doubt resolved then kindly mark this doubt as resolved in your course Ask Doubt Section ,and do provide your valuable feedback .
Happy learning
.