Patiencer / pyscripter

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

Adding an Import statement to a script requires restart PyScripter #353

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create and save a script.
2. Install a module like PyExcelerator using easy_install
3. In the Python script:
      a) Add "import pyExcelerator as xl"
      b) Add "mydoc=xl.Workbook()"
5. Run the script.

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

A reference error occurs because PyScripter cannot detect this added 
module. It will also not detect changes to other imported modules. I found 
that the Ulipad and Winware Python editor automatically detect these new 
import/changes and imports them.

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

1.9.9.7

Please provide any additional information below.

Original issue reported on code.google.com by autu...@gmail.com on 31 Jan 2010 at 4:22

GoogleCodeExporter commented 9 years ago
See my answer to issue 370

Original comment by sebavo...@googlemail.com on 28 Jun 2010 at 11:26

GoogleCodeExporter commented 9 years ago
PyScripter has no problems detecting modules installed after it has started. 
Are you sure the module is installed in the same Python version used by 
PyScripter? 
Or are you referring to Issue 256?  Please read my last comment there.

Original comment by pyscripter on 31 Jul 2010 at 2:22