Answer my own question – share your knowledge, Q&A-style
I'm use a CSV file as Dataframe, but it's inside a password-protected RAR file on the Desktop.
As each user has a different name generating a different path to the Desktop, I will also generate the path automatically regardless of the user's name, so that I can use it on any computer with Windows without having to change the path string.
This will be my contribution to the StackOverflow community today!
Note: feel free to publish improved models for this need.
The string in the terminal will look like this:
getpass()will ask you for the password of the RAR file:You will type but the password text will not appear!
When finished typing the password, press ENTER.
Then
print('\033[A\033[A')will clear the existing text in the terminal:then first
print:then second
print:then third
print: