Skip to main content

`import` module from same directory.

Project description

Import Here

import module from same directory.

Usage

from import_here import import_module_here, export_all

# import file as a module
lib = import_module_here("foo.bar.com.py", "lib", file=__file__)
# export the exported variables in the lib's scope into current module scope
export_all(lib, locals())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for import-here, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size import_here-0.3-py3-none-any.whl (2.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page