pythonqt icon indicating copy to clipboard operation
pythonqt copied to clipboard

how to use pythran add a myfunction from other py files?

Open YuDe95 opened this issue 3 years ago • 0 comments

toolsTep.py

def HelloWord():
    print('hello word')

testpythran.py

from calaTools.toolsTep import *
#pythran export callOtherPyFiles()
def callOtherPyFiles():
    HelloWord()

complie pythran testpythran.py

  • CRITICAL :
    I am in trouble. Your input file does not seem to match Pythran's constraints...
  • testpythran.py:

    None:None error: Module 'calaTools.toolsTep' not found.

when tow function in save file and it can find ,in diffrent file it occured those errors

YuDe95 avatar Aug 13 '21 00:08 YuDe95