Skip to main content

TBA

Project description

exectools

Using exectools

# reload modules before importing

> from exectools import _import, _from
> _import('import foo as bar')
> _import('foo as bar')
> _import('from foo import bar, kaz')
> _from('foo import bar')
> _from('foo import bar as kaz')

# execfile for python 3

> from exectools import execfile
> execfile('file.py')

# make refresh helpers

> from exectools import make_refresh
> refresh_me = make_refresh(__file__)
> refresh_me()

# unload all modules matching regex pattern
> from exectools import unload
> unload('exect')

Changelog

0.0.1: initial release (2021-09-24)

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

exectools-0.0.5.tar.gz (6.5 kB view hashes)

Uploaded Source

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