Making GUI with only python without framework?
<ol>
<li>Is it possible to create a user interface without the help of python framework (like tinker or pygame) and use only vanilla python code? If yes, how?</li>
<li>Can you briefly explain how python framework works?</li>
<li>Is the code of different python framework different?</li>
<li>If the computer did not have the framework installed, will the program still runnable if the program uses a framework?
Thanks very much</li>
</ol>

<ol>
<li>Yes, after all tinker and pygame are just python classes packaged as modules.</li>
<li>Python frameworks are a bunch of pre-tested and reusable modules that allow you to use and extend upon so you don't have to reinvent the wheel. </li>
<li>Yes, frameworks will have differences in usability and code.</li>
<li>The computer will always need the dependencies, though you can package these in various ways aka create a package that has all your dependencies for the program to run. </li>
</ol>

python user-interface frameworks