How does py2exe work?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vasudevram

    #1

    How does py2exe work?

    Hi,

    I recently checked out py2exe (on Windows). Looks good.
    Was able to build an EXE out of one of my Python apps.

    Wondering how it works? Does it actually compile the Python source of
    your script into machine language, or does it do something more like
    bundling the Python interpreter, the Python libraries and the script
    itself, into a file?

    Will look at the source code but would like to get some ideas ...

    Thanks ...

    Vasudev Ram
    Dancing Bison Enterprises
    Biz site: http://www.dancingbison.com
    Blog on software innovation: http://jugad.livejournal.com
    xtopdf: PDF creation/construction toolkit:
    Find information, resources and relevant links for dancingbison.com. This domain may be for sale.


  • Thomas Jollans

    #2
    Re: How does py2exe work?

    On Sunday 01 July 2007, vasudevram wrote:
    Wondering how it works? Does it actually compile the Python source of
    your script into machine language, or does it do something more like
    bundling the Python interpreter, the Python libraries and the script
    itself, into a file?
    essentially, that's what it does.

    --
    Regards, Thomas Jollans
    GPG key: 0xF421434B may be found on various keyservers, eg pgp.mit.edu
    Hacker key <http://hackerkey.com/>:
    v4sw6+8Yhw4/5ln3pr5Ock2ma2u 7Lw2Nl7Di2e2t3/4TMb6HOPTen5/6g5OPa1XsMr9p-7/-6

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBGiAKiJpi nDvQhQ0sRArndAJ 9pOcWe7/L2Or+MDheLVUq/xlkHmwCcCpEl
    U5FBpcJT0XuTHYA 6rayJ6vw=
    =iN1U
    -----END PGP SIGNATURE-----

    Comment

    • Wildemar Wildenburger

      #3
      Re: How does py2exe work?

      Thomas Jollans wrote:
      On Sunday 01 July 2007, vasudevram wrote:
      >
      >Wondering how it works? Does it actually compile the Python source of
      >your script into machine language, or does it do something more like
      >bundling the Python interpreter, the Python libraries and the script
      >itself, into a file?
      >>
      >
      essentially, that's what it does.
      >
      >
      Q: A or B?
      A: Yes.

      *nudgenudge*
      /W

      Comment

      • vasudevram

        #4
        Re: How does py2exe work?

        On Jul 2, 12:43 am, Wildemar Wildenburger <wilde...@freak mail.de>
        wrote:
        Thomas Jollans wrote:
        On Sunday 01 July 2007, vasudevram wrote:
        >
        Wondering how it works? Does it actually compile the Python source of
        your script into machine language, or does it do something more like
        bundling the Python interpreter, the Python libraries and the script
        itself, into a file?
        >
        essentially, that's what it does.
        >
        Q: A or B?
        A: Yes.
        >
        *nudgenudge*
        /W
        He should have said "the 2nd way" but thanks, I did guess what he
        meant :-)

        - Vasudev


        Comment

        Working...