Free python server.

2005-01-13 Thread rootshell
Hello.

I need an account no free python server.
Would somebody help me?
I tried to find one no www.python.org [there are few addresses of 
free hosts] but unfortunately can't manage with the registration.

Best Regards
Rootshell

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-13 Thread Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuelle.
Hi !

Server, web ?
Files server ?
Web-services server ?
XML-RPC server ?
Mail-server ?
Newsgroups server ?
SGBD server ?
Object server ?
Persistance server ?
Restaurant server ?


or ALL ?


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-13 Thread rootshell
Hi there.
What I need is web sever, where I could put just one python script.
Greetings.
Rootshell.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-13 Thread Kartic
You can try for a free shell access at www.arbornet.org.

telnet (or better SSH) to m-net.arbornet.org and at the login prompt,
type newuser, press enter and follow the on-screen instructions to
register.

Once you register, you get a shell account with email and web space.
Since it is a free service, space is very limited but should more than
serve your needs now.

--Kartic

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-13 Thread Kartic
And yes, they have python installed...

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-13 Thread rootshell
Thank you very much.
Arbornet.org seems to be ok
Unforutnately I was convinced that I only have to only copy my *.py file to 
/public_hml directory and everything will be all right.
As you expect I was wrong.

R.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-13 Thread Reinhold Birkenfeld
Kartic wrote:
> And yes, they have python installed...

Python 2.1!

Reinhold
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-13 Thread Craig Ringer
On Thu, 2005-01-13 at 19:07 +0100, [EMAIL PROTECTED] wrote:
> Thank you very much.
> Arbornet.org seems to be ok
> Unforutnately I was convinced that I only have to only copy my *.py file to 
> /public_hml directory and everything will be all right.

Your file probably need to (a) be in the cgi-bin, not public_html, (b)
be flagged executable ("chmod a+x file.py"), and (c) begin with the
line: '#!/usr/bin/env python'

If the server doesn't provide you with CGI (or, strongly preferable,
SCGI or mod_python), you're probably out of luck.

-- 
Craig Ringer

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-14 Thread rootshell
> Your file probably need to (a) be in the cgi-bin, not public_html,
(b)
> be flagged executable ("chmod a+x file.py"), and (c) begin with the
> line: '#!/usr/bin/env python'
>
> If the server doesn't provide you with CGI (or, strongly preferable,
> SCGI or mod_python), you're probably out of luck.

You're probably right, this machine doesn't provide with CGI, I'll send
an e-mail to administrator of arbornet.org and make sure.

So, I ask once again: does anyone know where I can put my *.py files?
Greetings.
Rootshell.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Free python server.

2005-01-14 Thread Robin Becker
[EMAIL PROTECTED] wrote:
Your file probably need to (a) be in the cgi-bin, not public_html,
(b)
be flagged executable ("chmod a+x file.py"), and (c) begin with the
line: '#!/usr/bin/env python'
If the server doesn't provide you with CGI (or, strongly preferable,
SCGI or mod_python), you're probably out of luck.

You're probably right, this machine doesn't provide with CGI, I'll send
an e-mail to administrator of arbornet.org and make sure.
So, I ask once again: does anyone know where I can put my *.py files?
Greetings.
Rootshell.
Hi, I just made a cgi script on rht earbornet machine.
Process as follows
mkdir public_html
chmod 0755 public_html
cd public_html
mkdir cgi-bin
chmod 0755 cgi-bin
echo hello world > index.html
cd cgi-bin
echo '#!/bin/sh
> echo content-type: text/html
> echo
> echo "Hello 
World!"
> ' > hw.cgi

chmod a+x hw.cgi
then
http://m-net.arbornet.org/~rgbecker/cgi-bin/hw.cgi
gives a nice red hello world ie acts as a cgi script
I also created the standard echo script
pytestcgi.cgi
as
#!/usr/local/bin/python
import cgi
cgi.test()
chmodded as before. See
http://m-net.arbornet.org/~rgbecker/cgi-bin/pytestcgi.cgi
Please don't misuse it's free and I'm no longer an American :)
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list