Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problem with importing Python file in Visual Studio Code
Post: RE: Problem with importing Python file in Visual S...

Menu.launch is actually proposed by visual code but with import Menu.launchI have the error Error:ModuleNotFoundError: No module named 'Menu'but I have a "Menu" folder in my working directory
DXav General Coding Help 7 5,138 Jun-15-2022, 10:54 AM
    Thread: Problem with importing Python file in Visual Studio Code
Post: RE: Problem with importing Python file in Visual S...

I installed all the needed Extension There is a "launch.py" file in in the "Menu" folder in my current working directory. This is a python file with only one function for now. I can open it with os.p...
DXav General Coding Help 7 5,138 Jun-15-2022, 09:46 AM
    Thread: Problem with importing Python file in Visual Studio Code
Post: Problem with importing Python file in Visual Studi...

Hello here ! I'm learning how to code starting with Python, and I'm facing a problem trying to import a file as a module. With this code : import os import sys sys.path.append(os.getcwd()+"\launch") ...
DXav General Coding Help 7 5,138 Jun-14-2022, 10:04 AM

User Panel Messages

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