
December 5th, 2002, 07:00 AM
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
Quote: Originally posted by Hartmann
But he wants to know if Python can include files like PHP does... Which is exactly what import is. You can include other Python files you create with the import statement. I don't think he needs anything preprocessed. |
No, that seems to be the problem - he doesn't want to include other Python files. He wants to include HTML. Which would end up trying to be parsed by the interpreter when the script is called. Which would, of course, be bad.
|