[Python-Dev] import file extensions (original) (raw)
tomer filiba tomerfiliba at gmail.com
Fri Sep 14 22:30:20 CEST 2007
- Previous message: [Python-Dev] SSL and asyncore update (and SSL_shutdown)
- Next message: [Python-Dev] import file extensions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] SSL and asyncore update (and SSL_shutdown)
- Next message: [Python-Dev] import file extensions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]