0

Is it possible to run a .py file on a computer that doesn't have Python installed?

I'm asking this because I was messing around with py2exe and noticed that every time I built an executable, it would create a 'python26.dll' along with some other files.

I was wondering, if I wanted to distribute a script to another computer without Python, could I run .py files by just packaging the 'python26.dll' with my script in a zip?

3
Contributors
2
Replies
6
Views
7 Years
Discussion Span
Last Post by sravan953
0

It's not quite as simple!

However you use Portable Python. It installs a portable version of Python right on an inexpensive USB flash drive (plan on 150MB for each version). You can use the flash drive now on Windows computers that do not have Python installed. It comes in Python25, Python26 and Python30 flavors. See:
http://www.portablepython.com/releases/

Portable Python 1.1 based on Python 2.5.4 -->
Python25
Django-1.0.2-final (for web development)
IPython-0.9.1
Matplotlib-0.98.5.2 ( for graphic plotting)
Numpy-1.2.1 (for high speed arrays)
PIL-1.1.6 (for image manipulation)
Py2exe-0.6.9 (packed python code to .exe files)
PyGame-1.8.1 (the python game toolkit)
PyReadline-1.5
PyScripter v1.9.9.6 (a very nice IDE to write programs with)
PyWin32-212 (window extension library)
Rpyc-2.60 (remote python)
Scipy-0.7.0b1 (a high spped scientific toolkit)
SPE-0.8.4.c (another very nice IDE)
VPython-3.2.11 (for 3D scientific modeling)
wxPython-unicode-2.8.9.1 (a popular GUI toolkit)

Portable Python 1.1 based on Python 2.6.1 -->
Python26
Django-1.0.2-final
IPython-0.9.1
PIL-1.1.6
Py2exe-0.6.9
PyGame-1.8.1
PyReadline-1.5
PyScripter v1.9.9.6
PyWin32-212
Rpyc-2.60
SPE-0.8.4.c
wxPython-unicode-2.8.9.1

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.