creating a small test server on my local computer
Mirco Wahab
wahab at chemie.uni-halle.de
Fri Sep 29 15:32:11 EDT 2006
Thus spoke John Salerno (on 2006-09-29 21:13):
> Irmen de Jong wrote:
>> John Salerno wrote:
>>> Ok, this is completely unnecessary so I don't intend to get into stuff
>>> that's beyond my skill, but I'm wondering how simple it would be to
>>> use Python to create a server that runs on my computer
>> Why do you need to use Python for the server?
> Well, perhaps I don't know what I'm talking about. I'm on an XP machine
> and I just needed a way to test my web pages, and I thought Python could
> be used to create a server to do this. But I know nothing about network
> programming...
My advice would be (because Apache installations on
WinXP don't usually support Python (except pulling
the whole thing into each CGI invocation) - download
and install a VMWare Player
( http://www.vmware.com/products/player/ ),
download a pre-built virtual machine w/Apache and
Python preinstalled and configured (=> 190MB):
( http://www.rpath.org/rbuilder/project/lamp/build?id=4912 )
and give the virtual machine a shared ip number
on your own network card (mostly trivial) - thats it.
Then - you can use the virtual machine as your own full
blown web server, put your Python stuff on it (e.g. via
Samba or SSH/SFTP, => http://winscp.net/eng/download.php -)
and therefore don't bother w/setting up the whole thing
yourself.
Regards
Mirco
More information about the Python-list
mailing list