DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
find location of a class in python
import sys, os os.path.abspath(sys.modules[LocationArtifact.__module__].__file__)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#find
#location
#class
#python
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit