I cannot open some Python scripts that includes files in VS, but in Python IDE without any problem

Emolga826 0 Reputation points
2025-04-06T14:22:12.76+00:00

Hello everyone

Recently i'm having some problems with Visual Studio, i was working with a file that includes some images an a SQLite database, all of them in a workspace, but when i closed it due of some issues, all the Python files that work with the extra files don't open anymore, i receive only this error message

"_tkinter.TclError: couldn't open "example.png": no such file or directory" (Same with database files)

All the files are in the same folder, but i have another folder that includes those same files too, i don't know if that second folder is part of the problem, but when i try to run the files on Python's IDE it runs without any trouble, so i don't know if it's problem of VS, the second folder or anything else

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,068 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.