Mar-08-2020, 10:44 AM
(Mar-08-2020, 07:08 AM)michael1789 Wrote: Try calling it with a name:
application = app()
Thanks for your reply.
unfortunately I tried that already.
Here are some things I've tried.
app = app() -> same error app = app().login() -> same error The following is working ? import utils # this module only contains methods ! there is NO class def login(): print('Login') #application = app() test = utils.calcExpireDate('2000') print(test)In the latest test I simply tried to call a method from an other module, where is no class.
So I guess it has to do something with the class ? Because I can call a method from an other module ...
Anyone has some additionals ideas whats happening here ?
Is this any TK related issue, or am I messing something up with my classes.
Thanks in advance !