Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't open files
#1
Hello everyone,

I keep running into this issue and after some research I still don't know what to do. I have used different IDE's and editors, but I always end up not being able to open up my .py files.
I double click and the files just won't open. There is no little widow telling me what's wrong, it just doesn't happen.

I had this problem several times now. Do you guys have any idea what's going on?

Greetings Lass.
Reply
#2
You didn't tell us what OS you are using, but it sounds like the .py extension is not mapping to either an IDE or a Python runtime. Normally you would map it to the runtime, and open it in the IDE by opening the IDE first.
Reply
#3
(Oct-24-2020, 05:49 PM)jefsummers Wrote: You didn't tell us what OS you are using, but it sounds like the .py extension is not mapping to either an IDE or a Python runtime. Normally you would map it to the runtime, and open it in the IDE by opening the IDE first.

I'm on Windows, assuming that that's what you mean.
I tried opening the file through IDE (Wing 101) and I set the PATH to this. I worked on it for a little while, but when I tried to reopen it, it won't open.
Reply
#4
Not familiar with Wing. If you right click on the file and choose Open With, what options does it show?
Reply
#5
(Oct-25-2020, 06:26 PM)jefsummers Wrote: Not familiar with Wing. If you right click on the file and choose Open With, what options does it show?

It showed me a few programs that don't actually work. Wing isn't on there. When I try looking for other apps and I find Wing, I click it, it still won't open.
Reply
#6
First, would make sure your Windows Path includes the path to your Python installation. Then, open the control panel and associate the .py extension with your Python installation.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  open python files in other drive akbarza 1 632 Aug-24-2023, 01:23 PM
Last Post: deanhystad
  How to open/load image .tiff files > 2 GB ? hobbyist 1 2,383 Aug-19-2021, 12:50 AM
Last Post: Larz60+
  Open and read multiple text files and match words kozaizsvemira 3 6,672 Jul-07-2021, 11:27 AM
Last Post: Larz60+
Question (solved) open multiple libre office files in libre office lucky67 5 3,212 May-29-2021, 04:54 PM
Last Post: lucky67
  Using Python to loop csv files to open them Secret 4 2,658 Sep-13-2020, 11:30 AM
Last Post: Askic
  Find specific subdir, open files and find specific lines that are missing from a file tester_V 8 3,487 Aug-25-2020, 01:52 AM
Last Post: tester_V
  Multiprocessing OSError 'too many open files' DreamingInsanity 3 10,197 Dec-27-2019, 04:50 PM
Last Post: DreamingInsanity
  How to open and write into several files kazimahmet 3 2,810 May-07-2018, 02:08 PM
Last Post: wavic
  how to open folder and change files in it ahmadeldawoody 2 2,563 Feb-10-2018, 08:50 PM
Last Post: ahmadeldawoody
  methods for open files Skaperen 5 4,022 Jan-08-2018, 02:40 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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