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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file import_here-0.3-py3-none-any.whl.

File metadata

  • Download URL: import_here-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for import_here-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 88267d1b05868a6b6d2ff6a081cd14e01a9d79e5261b40b5f2b6b05481fdeb1b
MD5 a54a65e36eedf6c446baa8d0f82997d2
BLAKE2b-256 8a425b010a224dc124241b1db031e479bfc800fe31eb3b9528f234f921552fbd

See more details on using hashes here.

Supported by

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