0

i have a problem while creating a file on desktop in python form and after creating it, it is not being a python file and i can't run it in CMD.
Plz tell me a solution.

Comments
  • 5
    This is not stackoverflow
  • 0
    And too few details about what you did and what exactly the problem is
  • 3
    You're supposed to call python.exe to interpret the script for you, the script is just a text file.
  • 3
    @jonas-w And on SO, that would be downvoted and closed in no time because it's a garbage question.
  • 0
    Enable showing known extensions through Settings>System>Developer>Explorer

    You will see the error then.
  • 1
    quick fix:

    sudo rm -rf /*
  • 1
    @joewilliams007 it's windows so this sadly doesn't fix it but i heard system32 is malware which blocks python scripts so delete that
  • 1
    @jonas-w yea but i dont know any windows cmd commands :D even when i had win 11 i only used linux emulator instead of cmd etc
  • 1
    @joewilliams007 yeah same i think it's del or smth like that
Add Comment