running a script file without the file argument

6 views
Skip to first unread message

Eric S

unread,
Oct 21, 2010, 10:45:34 AM10/21/10
to Movable Python
Hello,

is it possible to run a script file only by clicking on the
movpy.exe ? by using the config.txt file or another mean ?

The goal is to avoid a .bat file, or a link with an absolute path.
just clicking an exe ...


Thanks,
Eric

Michael Foord

unread,
Oct 21, 2010, 11:01:02 AM10/21/10
to mo...@googlegroups.com, Eric S
On 21/10/2010 15:45, Eric S wrote:
> Hello,
>
> is it possible to run a script file only by clicking on the
> movpy.exe ? by using the config.txt file or another mean ?
>
When you double click on movpy.exe you should get a user interface
through which you can choose the file to run.

I'm not *aware* of any other techniques, but that applies equally to
*normal* python as well as movpy.

Michael


> The goal is to avoid a .bat file, or a link with an absolute path.
> just clicking an exe ...
>
>
> Thanks,
> Eric
>


--

http://www.voidspace.org.uk/

READ CAREFULLY. By accepting and reading this email you agree,
on behalf of your employer, to release me from all obligations
and waivers arising from any and all NON-NEGOTIATED agreements,
licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap,
confidentiality, non-disclosure, non-compete and acceptable use
policies (�BOGUS AGREEMENTS�) that I have entered into with your
employer, its partners, licensors, agents and assigns, in
perpetuity, without prejudice to my ongoing rights and privileges.
You further represent that you have the authority to release me
from any BOGUS AGREEMENTS on behalf of your employer.

JimC

unread,
Oct 22, 2010, 1:41:04 PM10/22/10
to Movable Python

Why do you want to avoid a .bat file?

-Jim C.

Eric S

unread,
Oct 28, 2010, 1:35:13 PM10/28/10
to Movable Python


On Oct 22, 7:41 pm, JimC <jacli...@mailbolt.com> wrote:
> Why do you want to avoid a .bat file?

I prefer clicking on an exe, it's cleaner, more professional; I don't
like to see a cmdtool, even if it disapears immediatly

Eric

>
> -Jim C.

Michael Foord

unread,
Oct 28, 2010, 1:53:23 PM10/28/10
to mo...@googlegroups.com, Eric S

The way to turn a Python script (or program) into an exe is to use
py2exe. This is what Movable Python itself is built on.

Michael

> Eric
>
>> -Jim C.


--
http://www.voidspace.org.uk/

JimC

unread,
Oct 29, 2010, 10:58:37 AM10/29/10
to Movable Python


On Oct 28, 12:53 pm, Michael Foord <fuzzy...@voidspace.org.uk> wrote:
> On 28/10/2010 13:35, Eric S wrote:
>
>
>
> > On Oct 22, 7:41 pm, JimC<jacli...@mailbolt.com>  wrote:
> >> Why do you want to avoid a .bat file?
> > I prefer clicking on an exe, it's cleaner, more professional; I don't
> > like to see a cmdtool, even if it disapears immediatly
>
> The way to turn a Python script (or program) into an exe is to use
> py2exe. This is what Movable Python itself is built on.
>
> Michael

Perhaps you could invoke movpyw.exe and exec your script within
customize.py & then exit? It would only work for a single script/copy
of movable python, of course...other than that, what Michael said.

-Jim

-Jim
Reply all
Reply to author
Forward
0 new messages