Compiling python scripts to native code ??

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

    Compiling python scripts to native code ??

    Hi...

    Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
    would be much appreciated.


    Thanks,

    Fred.

  • Diez B. Roggisch

    #2
    Re: Compiling python scripts to native code ??

    > Is there any way to do this for *nix ?? Pointers to resources and/or FAQS[color=blue]
    > would be much appreciated.[/color]

    No, its not. For no platform. You can use psyco for JIT-compiling some
    arithmetically challenged stuff, and pyrex to create native code in a
    python-like syntax.

    --
    Regards,

    Diez B. Roggisch

    Comment

    • Thomas Guettler

      #3
      Re: Compiling python scripts to native code ??

      Am Tue, 17 Feb 2004 08:43:15 -0800 schrieb Fred Mailhot:
      [color=blue]
      > Hi...
      >
      > Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
      > would be much appreciated.[/color]

      Why do you want to do this?
      - Improve speed
      - hide your source code
      ...

      thomas

      Comment

      • Fred Mailhot

        #4
        Re: Compiling python scripts to native code ??


        On 2/17/04 7:25 AM, "Thomas Guettler" <guettli@thom as-guettler.de> wrote:
        [color=blue]
        > Am Tue, 17 Feb 2004 08:43:15 -0800 schrieb Fred Mailhot:
        >[color=green]
        >> Hi...
        >>
        >> Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
        >> would be much appreciated.[/color]
        >
        > Why do you want to do this?
        > - Improve speed
        > - hide your source code
        > ...
        >
        > thomas[/color]

        Nothing quite so nefarious...*gr in*...Actually, I've just realized that the
        initial question wasn't posed properly.

        What I want is to be able to compile Python scripts so that they can be run
        on a system that doesn't have Python installed. I realize that maybe that
        doesn't make a lot of sense, but I want my product to be as widely
        distributable as possible.


        Thanks again,

        Fred.

        Comment

        • Harry George

          #5
          Re: Compiling python scripts to native code ??

          Fred Mailhot <fred.mailhot@v ideotron.ca> writes:
          [color=blue]
          > On 2/17/04 7:25 AM, "Thomas Guettler" <guettli@thom as-guettler.de> wrote:
          >[color=green]
          > > Am Tue, 17 Feb 2004 08:43:15 -0800 schrieb Fred Mailhot:
          > >[color=darkred]
          > >> Hi...
          > >>
          > >> Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
          > >> would be much appreciated.[/color]
          > >
          > > Why do you want to do this?
          > > - Improve speed
          > > - hide your source code
          > > ...
          > >
          > > thomas[/color]
          >
          > Nothing quite so nefarious...*gr in*...Actually, I've just realized that the
          > initial question wasn't posed properly.
          >
          > What I want is to be able to compile Python scripts so that they can be run
          > on a system that doesn't have Python installed. I realize that maybe that
          > doesn't make a lot of sense, but I want my product to be as widely
          > distributable as possible.
          >
          >
          > Thanks again,
          >
          > Fred.
          >[/color]

          That makes a lot of sense. Try:




          --
          harry.g.george@ boeing.com
          6-6M21 BCA CompArch Design Engineering
          Phone: (425) 342-0007

          Comment

          Working...