May-31-2022, 01:17 AM
Hi all,
I've been slowly trying different things with Python whenever I get time and last year I created a couple of python files in Pycharm on my windows 10 machine. I found out a month or so later that I could just double click any Python file and the code would execute without me having to open Pycharm. I've been doing that for months.
Last week I needed to reinstall Windows 10 and since then I've reinstalled Pycharm and also installed Python (also ensured the "Ádd Python to PATH" was selected).
But if I click on any python file to execute it, I get a black screen appear and disappear within a second (I cannot read what it says) and nothing seems to happen.
I don't know what other information you may require to diagnose (please let me know if there is any), but can anyone please tell me how I can execute any python files like I used to without having to open Pycharm?
Thank you.
I've been slowly trying different things with Python whenever I get time and last year I created a couple of python files in Pycharm on my windows 10 machine. I found out a month or so later that I could just double click any Python file and the code would execute without me having to open Pycharm. I've been doing that for months.
Last week I needed to reinstall Windows 10 and since then I've reinstalled Pycharm and also installed Python (also ensured the "Ádd Python to PATH" was selected).
But if I click on any python file to execute it, I get a black screen appear and disappear within a second (I cannot read what it says) and nothing seems to happen.
I don't know what other information you may require to diagnose (please let me know if there is any), but can anyone please tell me how I can execute any python files like I used to without having to open Pycharm?
Thank you.