Python Forum
open python files in other drive
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
open python files in other drive
#1
hi
I open Python by searching python word in Windows search and then the Python is opened (python 3.11 window with dark blue color ). (Is this window called python shell?)
I save my files in D drive for example in D:\akb_py_projects .

When after >>> I write the name of a python file, for example echo.py, the below error is shown:
Error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'echo' is not defined
how can I open python files in the above address from the above python window?
thanks
Reply


Messages In This Thread
open python files in other drive - by akbarza - Aug-24-2023, 10:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Right way to open files with different encodings? Winfried 2 297 Apr-23-2024, 05:50 PM
Last Post: snippsat
  Open files in an existing window instead of new Kostov 2 372 Apr-13-2024, 07:22 AM
Last Post: Kostov
Question How to get a removable disc type in drive Daring_T 12 1,356 Feb-11-2024, 08:55 AM
Last Post: Gribouillis
  Integrating Google Drive in App Lahearle 0 490 Jul-19-2023, 05:51 PM
Last Post: Lahearle
  code to send attachments contained on the drive. stefanoste78 1 912 Oct-12-2022, 02:16 AM
Last Post: Larz60+
  access is denied error 5 for network drive mapping ? ahmedbarbary 2 1,836 Aug-17-2022, 10:09 PM
Last Post: ahmedbarbary
  Cant Access D: Drive kucingkembar 4 1,407 Jul-28-2022, 04:53 PM
Last Post: kucingkembar
  Deploy Python to Cloud and save output to Google Drive chandrabr80 2 1,619 Jan-25-2022, 06:56 AM
Last Post: ndc85430
  Calling exe on network drive GrahamL 4 2,630 Jan-21-2022, 12:01 PM
Last Post: GrahamL
  How to open/load image .tiff files > 2 GB ? hobbyist 1 2,489 Aug-19-2021, 12:50 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020