Differences between revisions 4 and 11 (spanning 7 versions)
Revision 4 as of 2004-08-16 11:53:28
Size: 1195
Editor: rrcs-nys-24-97-207-39
Comment:
Revision 11 as of 2024-07-24 04:05:32
Size: 325
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Environment =
The py2exe distribution contains a sample named ''hello.py'' together with a setup script to build [http://www.pureteenz.com/Aria-Giovanni/ Aria Giovanni] an executable. The script can be used to explore the differences in the runtime environments between the Python script, run with the Python interpreter, and the executable.

== special attributes of the sys module ==
 * {{{sys.path}}} contains only a single entry: the full pathname of the shared code archive.

 * {{{sys.prefix}}} contains the directory name of the shared code archive.

 * {{{sys.executable}}} is set to the full pathname of the exe-file.

 * The first item in {{{sys.argv}}} is the full pathname of the executable, the rest are the command line arguments.

 * {{{sys.frozen}}} only exists in the executable. It is set to {{{"console_exe"}}} for a console executable, to {{{"windows_exe"}}} for a console-less gui executable, and to {{{"dll"}}} for a inprocess dll server.

 * {{{sys.frozendllhandle}}} only exists in inproc dll servers, it is set to the numerical value of the win32 dll handle.

== misc ==
 * {{{__file__}}} is not defined (you might want to use sys.argv[0] instead)
I'm Antonetta and I live in Belbroughton. <<<BR>>
><<<BR>>
>
I'm interested in Medicine, Fishing and Portuguese art. I like to travel and reading fantasy.<<<BR>>
><<<BR>>
>
<<<BR>>
><<<BR>>
>
my webpage; [[http://www.healthndream.com/gnuboard5/bbs/board.php?bo_table=qna_heartsine&wr_id=1790201|Bliss Keto Health]]

I'm Antonetta and I live in Belbroughton. <
><
> I'm interested in Medicine, Fishing and Portuguese art. I like to travel and reading fantasy.<
><
> <
><
> my webpage; Bliss Keto Health

Py2exeEnvironment (last edited 2024-07-24 06:23:12 by JimmyRetzlaff)