A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2007-September/074667.html below:

[Python-Dev] import file extensions

[Python-Dev] import file extensions [Python-Dev] import file extensionsGuido van Rossum guido at python.org
Fri Sep 14 23:11:41 CEST 2007
I think you're looking for a PEP 302 style meta hook.

On 9/14/07, tomer filiba <tomerfiliba at gmail.com> wrote:
> a quick question: i'm working on a pythonic build system, where the
> build
> scripts are plain python files. but i want to differentiate them from
> normal
> python files (.py) by a different suffix (say .pyy), but then i can't
> import
> them.
>
> so i'm wondering, is there a quick way to just add another extension
> to
> import mechanism? or do i have to write a fully fledged import hook?
>
>
> -tomer
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
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