Skip to main content

A small import package

Project description

1

may,use like this

2

dir1:
    file1.py
dir2:
    file2.py

3

file2.py:

import file1

4

python dir2/file2.py

you will got: ERROR,ERROR,ERROR ...

5

file2.py

if __name__ == '__main__':
    import smart_append_path
    smart_append_path.append_top1(__file__)

Project details


Download files

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

Source Distribution

smart_append_path-0.0.1.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

smart_append_path-0.0.1-py2-none-any.whl (1.8 kB view details)

Uploaded Python 2

File details

Details for the file smart_append_path-0.0.1.tar.gz.

File metadata

File hashes

Hashes for smart_append_path-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cb03c08d11886aa4a7d24702f58ec20a0672f58c8e7ee193bd00e4fce3a35125
MD5 bc714f84b783936de87c2a4a4c8a5417
BLAKE2b-256 c0e56486474831ecbdb5130afe8622db5a8195b8de7edb78b51c473ed11e24e0

See more details on using hashes here.

File details

Details for the file smart_append_path-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for smart_append_path-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 c3bd086fbd90f24613d75e2e81d16fff6cc29bd6af113663eb51a0638d7efcc7
MD5 5aaabc92adb442f4bb2bb5d46243bf08
BLAKE2b-256 8f71b6692257cc36569813c07fb173a6e7576f862c6af961f135f4f4d55f377f

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