#๐Ÿ”’ How to hide file pathways in terminal

26 messages ยท Page 1 of 1 (latest)

slate lintelBOT
#

@rough rose

Python help channel opened

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.

neat cairn
#

can you give an example of exactly what you mean "the file pathways in the terminal"? a screenshot or something

rough rose
#

like C: User\name\desktop\file...etc

#

just saying where I've saved the file to basically

neat cairn
#

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

rough rose
#

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

neat cairn
rough rose
#

manually running

neat cairn
#

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

rough rose
neat cairn
#

Use exit() then try again

rough rose
#

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

vale cave
#

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.

rough rose
#

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 :)

slate lintelBOT
#
Python help channel closed

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