Thanks a lot, Seo! Sanghyeon Seo wrote: > 2006/2/22, Alexei Vinidiktov <[EMAIL PROTECTED]>: > >>I'd like to use IronPython.Hosting.PythonCompiler for generating exe >>files from my scripts, but I can't figure out how to do it. > > > In the IronPython distribution, Src/Scripts/Tests/compiler.py should > be enough to get started. > > Here's a minimal example in IronPython: > > # compiler.py > from IronPython.Hosting import PythonCompiler > > from System.Collections.Generic import List > sources = List[str]() > sources.Add('hello.py') > outfile = 'hello.exe' > > compiler = PythonCompiler(sources, outfile) > compiler.Compile() > > Seo Sanghyeon
-- Kind regards, Alexei Vinidiktov _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com