Re: cant't use package internals

2017-09-06 Thread Peter Otten
Andrej Viktorovich wrote: > Hello, > > I have Python package tst in my workspace. > > tst has files: > __init__.py > tst.py > > > content of __init__.py: > print("importing Tst") > > > content of tst.py: > class Tst: > def __init__(self): > print("init Tst") > > > I run python

cant't use package internals

2017-09-06 Thread Andrej Viktorovich
Hello, I have Python package tst in my workspace. tst has files: __init__.py tst.py content of __init__.py: print("importing Tst") content of tst.py: class Tst: def __init__(self): print("init Tst") I run python console in workspace directory. I do >>>import tst Run without erro