#๐ How to hide file pathways in terminal
26 messages ยท Page 1 of 1 (latest)
@rough rose
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.
can you give an example of exactly what you mean "the file pathways in the terminal"? a screenshot or something
like C: User\name\desktop\file...etc
just saying where I've saved the file to basically
mh not really there's not a great way to hide that
if you mean when you click the button and the main file runs and it shows python "C:/..." you can cd into the directory with your file and run it yourself python myfile.py but that's about the best you can get to my knowledge
hold on ill get a screenshot of what it shows on the terminal when i run the file
cause the videos ive watched work fine for them
the bit in red is what I've actually typed the rest is just there on its own
are they manually running the code from terminal or are they clicking the green button in vscode to run it?
manually running
you can write python test.py in the terminal to run it manually
or depending on how you installed it the name might be py or something else
im on the terminal thing at the bottom tho, is it not the right one?
sry for my lack of awareness im still getting used to the workspace
Honestly, you should just get used to this. As you do more in the terminal, having context will become increasingly important. It isn't uncommon to have multiple terminals open and to go back and forth between them.
At this point, I don't even see that part of the output unless I'm looking for it.
if thats for the best ill leave it be, honestly ive been getting pretty frustrated trying to figure it out
ty for the help tho :)
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.
๐ How to hide file pathways in terminal