How do I fix no such files or directories in Linux?

How do I fix no such files or directories in Linux?
Answer
3 Answers
  1. Change directory in the terminal to where the Python script is actually located. If the desktop directory is ~/Desktop , then cd ~/Desktop. …
  2. Move the file into your home directory. …
  3. Run the Python script with an complete path from the home directory: python3 ~/Desktop/myfile.py >myfile.html.
 

Tìm kiếm

Back
Top