Blogging with TN
Sunday, 9 August 2015
Python Modules - how to find location of module sources
Let's assume we want to find the source of Python module Selenium.
In Python Shell:
>>> import selenium
>>>
>>> selenium.__file__
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/__init__.pyc'
>>>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment