#๐ I cant export my file n pycharm
14 messages ยท Page 1 of 1 (latest)
@void pasture
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Python isn't designed to be "exported as an exe"
^ This
There are some tools such as py2exe which can "transform" your Python into an .exe file (couples the interpreter, all packages you need and your code into an executable file).
There's no real way to transform Python code into an .exe since Python is an interpreted language instead of a compiled language.
@void pasture
i know
Then what's the question?
The export in pycharm exports code to html so you can look at the code in a browser.
A html file is not a google link.
It has the chrome logo because that's your default browser.
The actual file is the main.py. It contains the python script.
You don't have to export the main.py. It already exists in the project directory.
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.