Patiencer / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

the menu TOOL/python path/ can not save the added path #328

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

As the summary says, everything when I added a new path, when I relaunch
the pyscripter, I will have to add the path again. I would be nicer that
Pyscripter can save the added path.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by alexy...@gmail.com on 4 Aug 2009 at 5:04

GoogleCodeExporter commented 9 years ago
Sorry, I didnt notice the format.
What steps will reproduce the problem?
1.  go to Menu TOOL/Python path
2.  add some new path 
3.  close pyscripter
4.  open the menu again, u will find that the path u added b4 dispeared

What is the expected output? What do you see instead?

I expected the path I added will be saved so  that I will dont have to add it 
again.

What version of the product are you using? On what operating system?

1.9.9.7  winXP

Please provide any additional information below.

Original comment by alexy...@gmail.com on 5 Aug 2009 at 4:58

GoogleCodeExporter commented 9 years ago
The aim of PyScripter is to provide an environment in which Python scripts 
behave in exactly the same way as in the standard Python interpreter.   If 
PyScripter uses a different path than the standard python interpreter then you 
would get unpredictably different results.

The Tools, Python path functionality was implemented to allow easy browsing of 
the python path and temporary changes to it, so changes are not saved.  To 
change the Python pyhon path permanently you use one of the ways which also 
affect the standard Python interpreter (PYTHONPATH environment variable, 
registry value HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.x\PythonPath).  
In a future version I will provide the ability to specify a Python script that 
runs when the Python engine gets initialized in which among other things you 
can manipulate and add to the python path, import modules you use regularly etc.

Original comment by pyscripter on 15 Aug 2010 at 10:58