Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 days ago.
Improve this question
I'm trying to run a python program in VSCode that reads a file. This file is in my computer but even so it gives an error "no such file or directory". If it is already in my computer I don't know what else I can do.
I want the program to find the file so I can run it.enter image description here
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
This post was edited and submitted for review 18 days ago.
Improve this question
I am new to Python and VS Code and am trying to debug a simple python program via "F5" or "Run with debugger".
Whenever I try to debug a simple python program using the python extension, a pop up appears at the bottom right "The Python path in your debug configuration is invalid."
It suggests opening launch.json, but doesn't explain what to add.
How can I easily debug my new python program?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
enter image description here
hello I have a problem with my python code that I am creating I wanted to import the nmap module on my code but I have a problem with line 5 of the module
someone would have a little idea please
enter image description here
The nmap Python module only works if you actually have nmap installed. It doesn't come by default on Windows. You can get it here.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Hello I have a problem in Python 3 on Windows with the Tkinter module it is not recognized when I import it even though I installed it on PowerShell with pip.
I don't know if the module is not installed or if I enter the correct code, don't hesitate to show me how to use Tkinter.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am using Python 3.4 and I wish to convert my .PY file into a single .EXE file. I have heard of Py2exe, cx_freeze and Pyinstaller. Are any of these better than the others?
Also, my Python source code calls upon external resources, such as Firefox. How do you ensure that the functionality of Firefox is included, given that the person I am handing the app to might not even have it installed on their PC?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Is there a way in Python 2.7 on Windows to mark a directory as a system folder?
(PS: I found the solution, see the answer below)
Here is what worked:
import win32api, wind32con
mydir ="Directory path goes here"
win32api.SetFileAttributes(mydir,win32con.FILE_ATTRIBUTE_SYSTEM)