7/10/2023 0 Comments Python in visual studio vs pycharmMy concern is that I am misunderstanding a fundemental idea surrounding Modules in Python and that is leading to my problem. Visual Studio seems to treat folders and (I think) files as Modules whereas P圜harm does not? The code shown above is in a separate folder (Main/start_up.py) at the same level: Built by Intellij, much like Visual Studio, P圜harm is able to do basic Python development and help programmers along with autocompleting, linkers, and suggestions. In my folder structure DataManagement is the name of a folder and game_start_manager is the name of a file: game_start_manager.py which contains a class: GameStartManager. P圜harm is another full-featured IDE capable of program development from code, built, test, all the ay to debugging Python applications. The code above works fine in Visual Studion, however, in P圜harm I am being told that there is "No Module" named DataManagement. I was looking at moving to P圜harm for Python coding so as to be more alligned with the Python world. I write my Python in Visual Studio 2019 because by trade I'm a C# developer so I had it already. I have a line in my code at the top of a python file before the class def: import DataManagement.game_start_manager as game_start_manager_
0 Comments
Leave a Reply. |