title: How can i access the python standard library files?
body: <p>I just started learning python not too long ago, and I was hoping to learn more about how the functions and methods of the modules I import actually work.</p>
  
  <p>I was hoping that python libraries would kind of be like javascript frameworks- where i can go into an imported file and see the actual code that the framework/module is built with.</p>
  
  <p>But when i dug around in the python sub directories, i found that the modules were in .lib format.</p>
  
  <p>So are standard library modules actual python code that i could somehow inspect the functions of? Or are they too deeply integrated for me to be able to study them like that?</p>
  
  <p>On a side note, would the same rules apply for non-standard library imports, i.e. beautifulsoup? I was kind of hoping to look at the code to understand how webscraping works from the ground up</p>
  
  <p>Thanks</p>