Kev Dwyer wrote: > On Sun, 19 Sep 2010 12:55:43 -0500, Default User wrote: > >> Consider: >> >> Can someone do development of programs for use on Windows systems, but >> developed totally on a GNU/Linux system, using standard, contemporary 32 >> and / or 64-bit PC hardware? >> >> This would be for someone who can not or will not use Windows, but wants >> to create software for those who do. >> >> This might not include the use of VM for developing on GNU/Linux, as >> that would seem to require a Windows installation disk, which the >> developer may not be able or willing to obtain and use. >> >> Is the correct answer: >> 1) no. >> 2) yes. >> 3) yes, a "Hello World" program will run just fine on the Windows Python >> interpreter. >> 4) other. > > Hello, > > The answer is "it depends", or 4 on your list of responses. > > You can write pure python on a Linux machine and it will run fine on > Windows as long as you've taken care to program in a portable fashion.
And not use modules not yet converted to microsoft, seems to happen from time to time. > if you have C-extensions in > your code you'll need to compile them over Windows. If you want to > program against the Windows API you'll need access to a Windows box. You can always cross compile, not only over OS but even CPU architecture, but of course testing will be more difficult, on x86 based Linux you can use wine or similar to test, but can give you some differences to run on a native or virtualized instance. -- //Aho -- http://mail.python.org/mailman/listinfo/python-list