Message287919
Hi,
I have two file "t1.py" and "t2.py" in the same directory. "t2.py" can't import "t1.py" when launched from python.exe on Python-3.6. it was ok on Python-3.5 (all other things being equal). And it's ok when launched from IDLE.
Has there been a volontary change ?
t1.py:
print("i am t1")
t2.py:
import t1
print("I am t2")
result (on WinPython-3.6):
python.Exe C:\WinPython\basedir36\buildZero\winpython-64bit-3.6.x.2\test\t2.py
Traceback (most recent call last):
File "C:\WinPython\basedir36\buildZero\winpython-64bit-3.6.x.2\test\t2.py", line 1, in <module>
import t1
ModuleNotFoundError: No module named 't1'
C:\WinPython\basedir36\buildZero\winpython-64bit-3.6.x.2\scripts>
nota: Winpython specificity is the use of python._pth, with:
python36.zip
DLLs
Lib
.
import site |
|
Date |
User |
Action |
Args |
2017-02-16 08:56:15 | Big Stone | set | recipients:
+ Big Stone, paul.moore, tim.golden, zach.ware, steve.dower |
2017-02-16 08:56:15 | Big Stone | set | messageid: <1487235375.21.0.440893966448.issue29578@psf.upfronthosting.co.za> |
2017-02-16 08:56:15 | Big Stone | link | issue29578 messages |
2017-02-16 08:56:14 | Big Stone | create | |
|