Re: [python-win32] Regarding build of code using Visual Studio in python
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. If that's really all you want, you don't really need much of a tool. But since it's easy enough, have a look at scons: http://www.scons.org/ TJG ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] Regarding build of code using Visual Studio in python
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