Multiple .py in project

So I'm fairly new to pyCharm. Back when I used Spyder, I'd make file with my functions and call them in another .py so the whole code would look better (no function def at the beginning). I wonder, are there other use than just that for extra .py file in the project? Can a .py be run independently and use the variable from the existing instance (console).

 

Thanks

Please sign in to leave a comment.