A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-December/041199.html below:

[Python-Dev] Importing packages from command line

[Python-Dev] Importing packages from command line [Python-Dev] Importing packages from command lineDmitry Vasiliev lists at hlabs.spb.ru
Thu Dec 18 12:52:31 EST 2003
Just an idea...

1. python -p package_name

     Equivalent to:

     import package_name

2. python -p package.zip

     Equivalent to:

     import sys
     sys.insert(0, "package.zip")
     import package

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4