从记忆棒运行python? [英] running python from a memory stick?
问题描述
有没有办法''安装''并在记忆棒上使用Python,就像你在任何计算机上使用?b $ b?我使用Windows,我知道安装
使用注册表做事情,所以我可能无法使用可执行文件
文件进行安装。但是有可能以其他方式做到这一点,比如你可以在Linux上自己构建它吗(虽然我不知道如何做到这一点
呢)然后直接编写并运行脚本直接来自
你的记忆棒?
John Salerno写道:
有没有办法''安装''并在记忆棒上使用Python,就像你在任何计算机上使用?b $ b?我使用Windows,我知道安装
使用注册表做事情,所以我可能无法使用可执行文件
文件进行安装。
只需像往常一样在C:上安装它,然后从\windows复制\python24目录,再加上python24.dll
\ system32,到一个合适的目录上。你可以使用像
exemaker这样的工具:
http://effbot.org/zone/exemaker.htm
为脚本提供EXE加载器。
< / F>
在7/13/06,John Salerno< jo ****** @ nospamgmail.comwrote:
有没有办法''安装''并在记忆棒上使用Python,就像你在任何计算机上使用?b $ b?我使用Windows,我知道安装
使用注册表做事情,所以我可能无法使用可执行文件
文件进行安装。但是有可能以其他方式做到这一点,比如你可以在Linux上自己构建它吗(虽然我不知道如何做到这一点
呢)然后直接从
你的记忆棒直接编写和运行脚本?
Google for Movable Python。
-
干杯,
Simon B,
si***@brunningonline.net ,
http://www.brunningonline.net/simon/blog/
Simon Brunning写道:
2006年7月13日,John Salerno< jo ****** @ nospamgmail.comwrote :
>有没有办法安装并在记忆棒上使用Python,就像你在任何计算机上一样?我使用Windows,并且我知道安装
会对注册表执行操作,因此我可能无法使用可执行文件来安装它。但是有可能以其他方式做到这一点,例如你如何在Linux上自己构建它(虽然我还不知道如何做到这一点)然后只需编写和运行脚本通常直接来自你的记忆棒?
Google for Movable Python。
Eh,请打电话给我,但我喜欢使用真实的 ; Python的版本,
不是任何带有额外附件的特殊版本,特别是那些
我必须付费。
Is there a way to ''install'' and use Python on a memory stick, just as
you would on any computer? I use Windows, and I know the installation
does things with the registry, so probably I couldn''t use the executable
file to install it. But is it possible to do it some other way, such as
how you might build it yourself on Linux (although I don''t know how to
do that yet) and then just write and run scripts normally straight from
your memory stick?
John Salerno wrote:
Is there a way to ''install'' and use Python on a memory stick, just as
you would on any computer? I use Windows, and I know the installation
does things with the registry, so probably I couldn''t use the executable
file to install it.just install it as usual on C:, and copy the \python24 directory, plus the python24.dll
from \windows\system32, to a suitable directory on the stick. you can use a tool like
exemaker:
http://effbot.org/zone/exemaker.htm
to provide EXE loaders for your scripts.
</F>
On 7/13/06, John Salerno <jo******@nospamgmail.comwrote:Is there a way to ''install'' and use Python on a memory stick, just as
you would on any computer? I use Windows, and I know the installation
does things with the registry, so probably I couldn''t use the executable
file to install it. But is it possible to do it some other way, such as
how you might build it yourself on Linux (although I don''t know how to
do that yet) and then just write and run scripts normally straight from
your memory stick?Google for Movable Python.
--
Cheers,
Simon B,
si***@brunningonline.net,
http://www.brunningonline.net/simon/blog/
Simon Brunning wrote:On 7/13/06, John Salerno <jo******@nospamgmail.comwrote:>Is there a way to ''install'' and use Python on a memory stick, just as
you would on any computer? I use Windows, and I know the installation
does things with the registry, so probably I couldn''t use the executable
file to install it. But is it possible to do it some other way, such as
how you might build it yourself on Linux (although I don''t know how to
do that yet) and then just write and run scripts normally straight from
your memory stick?
Google for Movable Python.
Eh, call me uptight but I like using the "authentic" version of Python,
not any kinds of special versions with extra add-ons, especially ones
I''d have to pay for.
这篇关于从记忆棒运行python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!