FAQ
Thomas,consider this:
specialized_python.exe --path/foo.px (command line)
where foo.px is zipped ctypes-venster program -modules,some
code,binaries(images etc.)
specialized_python.exe could be statically linked against C ctypes,and could
contain ctypes and venster python code (freezed)
(specialized_python.exe could also work as "regular" python.exe and
successfully run ".py" , ".pyc" files)
Now associate ".px" with specialized_python.exe and you have clickable
packed python programs.

To build such specialized_python.exe you would need your own
PyRun_*NotSoSimple*FileExFlags , new Py_Main,
modified Py_Initialize and probably new or modified import engine.
And with proposed addition specialized_python.exe could use existing Python
shared library!
I'm afraid it wouldn't be possible with Py_InitializeEx, you are proposing.

For one of our clients we created pymozilla.exe to run packed
websites(zipped html,xml,css,images and python "cgi" files)
It's pretty cool. :-)

Current Py_Initialize() is ok for distributed Python framework , but it's
a pain if you'd like to use the language and not necessary each
aspect of the framework.

Why not make Python shared library more usable?

Wiktor

Search Discussions

  • Brad Clements at Dec 18, 2003 at 4:52 pm
    _
    "Wiktor Sadowski" <art at wiktorsadowski.com> wrote in message
    news:02ae01c3c53b$778bf870$0201010a at kret...
    For one of our clients we created pymozilla.exe to run packed
    websites(zipped html,xml,css,images and python "cgi" files)
    It's pretty cool. :-)
    I'd like to find out more about pymozilla.. It sounds very interesting
  • Дамјан г. at Dec 18, 2003 at 7:26 pm

    For one of our clients we created pymozilla.exe to run packed
    websites(zipped html,xml,css,images and python "cgi" files)
    It's pretty cool. :-)
    Yes indeed.
    Can you share some information about that project?




    --
    ?????? (jabberID:damjan at bagra.net.mk)

    "Question everything."
    "Says who?"

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedDec 18, '03 at 7:49a
activeDec 18, '03 at 7:26p
posts3
users3
websitepython.org

People

Translate

site design / logo © 2023 Grokbase