Questions about packaging and modules etc.
Hi. I've done python course without understanding last season : packaging. And have some questions about that. I have to say that searching the web didn't solve my problem and made me more confused. 1- how to import modules made by myself? I have two files named "real.py" and "executor.py" in "real" I defined function "print(x)" that prints string of x. And executor includes "import real" and an input line and "real.print(input)" . When I run executor it says "no module named real". 2- what does "__init__.py" do? 3- what does "__main__.py" do? 4- give me a site or something to yeah me how to make package for pypi.(real python was my best reference but I couldn't understand that too.) 5 - (I know it's duplicate) what is best python GUI maker to build modern GUIs? 6 - how to extract some piece of codes from pages? Sorry for bad English(any help to improve my English will be appreciated ;) ) And thanks! EDIT: I'm using pycharm