example directory structure and code: how would you go about removing the text [inside these square brackets] on the import statements? of course, doing this kind of structure will cause this to not be possible: Answer The simplest is to just use a relative import. For example in utils_one.py you can do You can also use .. to go up
Tag: structure
Is there a better way to use a function from a different .py file?
I am making an agent that uses different sets of functions to solve different types of problems. My issue is – there are many different types of problems to solve, so I have many, many different functions that the agent needs to use. My main .py file is likely going to end up at least 1000 lines, which I’d like