a h wrote: > > I have a C source code, i want to build it using Visual Studio without > using its IDE. Actually i want to know that how do i write code/script > in python so that it builds my "source.c" file and provides me > "source.obj" and "source.exe" files.
As long as you have the environment variables set up properly (by calling vcvarsall.bat or vcvars32.bat, depending on the version), it's just a matter of calling the command line compiler using subprocess or os.system: cl source.c -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32