Answer the question
In order to leave comments, you need to log in
How to create an exe with other libraries?
How to make an exe file a.py if it imports a function from another b.py file ?
Content of a.py file :
from b import hello_b
def qwerty():
print('вызываем функцию из файла b')
print(hello_b())
if __name__ == '__main__':
qwerty()
def hello_b():
return "ЭТОТ HELLO В ФАЙЛЕ B"
pyinstaller --onefile a.py
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question