#🔒 Hi I’m a very new to python.
13 messages · Page 1 of 1 (latest)
@limber blade
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.
Hey! That is just the command output. IDEs like Visual Studio print the command that runs the file, it is not par t of your code.
The stuff that you see is your terminal path, the path to your python and the path to the file you're executing, vsc pastes those stuff automatically to run your code, you can ignore them
Or if you don't wanna see all those stuff you'll have to run it manually yourself by typing python filename.py in the terminal
If you mean the stuff left of the command word /usr/local/bin;python3, that is the shell prompt for the shell running in the terminal window. VSCode "types" at that shell to run the command.
You can also type in that window to run commands.
Like this:
[~]fleet2*> cd ~/tmp/python-discord
/Users/cameron/tmp/python-discord
[~/tmp/python-discord]fleet2*> python3 -c 'print(2)'
2
[~/tmp/python-discord]fleet2*>
My prompt is different to yours, but the idea's the same,
@limber blade ^^
Thx u guys
I tried it in my terminal but I got can’t open file ‘.file name’; [Errno 2] No such file or directory
This help channel has been closed. 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.