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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

import_here-0.3-py3-none-any.whl (2.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page