develop for Windows on GNU/Linux, using Python

Default User hunguponcontent at gmail.com
Mon Sep 20 10:16:56 EDT 2010


On Sun, Sep 19, 2010 at 14:31, J.O. Aho <user at example.net> wrote:

> 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.
>
>
>
< sigh > . . .

Well, that's about what I expected, unfortunately.   But thanks for the
honest replies.

[OT]
So what's the alternative -- use the end user's browser as an interpreter
for JavaScript or HTML5?
[/OT]


--
>
>  //Aho
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100920/4df18ed3/attachment-0001.html>


More information about the Python-list mailing list