4 lines
144 B
Python
4 lines
144 B
Python
def get_resource(filename):
|
|
import pkg_resources, os
|
|
return pkg_resources.resource_filename("premiere", os.path.join("data", filename))
|