faqts : Computers : Programming : Languages : Python : Snippets

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 3 people (33%) answered Yes
Recently 0 of 2 people (0%) answered Yes

Entry

What is the standard way of compiling a source file into bytecode?

Jul 5th, 2000 09:59
Nathan Wallace, unknown unknown, Hans Nowak, Snippet 44, Gordon McMillan


"""
Packages: arcane_arts.bytecode
"""

"""
Magnus wrote:

> What is the standard way of compiling a source file into bytecode?
> (I'm sure I should know this, but...) AFAICS there is no option that
> makes python do this from the command line...

compile.py (which just imports anything it finds).

"""