I'm rather new to the Python language, but I have experience in several programming languages several being C++ and Java. I recently started learning Python because my school requires in our Computer Science class. Now I've used those programming languages extensively and some of the things in which Python does seems very odd.
I'll give you an example, firstly I can't import files from another directory. At the moment, I am trying to create a text-based RPG game. My idea was to have a entity superclass with the properties and then branch that off to other subclasses (player.. bosses.. enemies). I'd also thought I'll use for weapons and other items.
However, I recently discovered that by default you can't import files from other directories. I'm used to in Java and other languages that you being able to import files from anywhere you wanted. If that's the case then does every python file that's going to be used by another file have to be in the same directory? If that's the case then how do you organize the code? I assume there's a way, but I seem to be unable to find anything about it.