Re: python: server is not receiving input from client flask

2021-06-29 Thread Chris Angelico
On Wed, Jun 30, 2021 at 6:21 AM Jerry Thefilmmaker wrote: > @app.route("/check_answer/", methods = ['POST']) > def check_answer(ans): > > > Enter your answer: > > What you're creating here is a route with a placeholder. The

Re: python: server is not receiving input from client flask

2021-06-29 Thread Jerry Thefilmmaker
On Tuesday, June 29, 2021 at 2:03:58 PM UTC-4, Chris Angelico wrote: > On Wed, Jun 30, 2021 at 3:38 AM Jerry Thefilmmaker > wrote: > > Thanks for taking the time to explained, Chris. Believe me, it helps. It > > had me thinking for a while. So, All the stuff about HTTP makes sense. I've > >

Re: python: server is not receiving input from client flask

2021-06-29 Thread Chris Angelico
On Wed, Jun 30, 2021 at 3:38 AM Jerry Thefilmmaker wrote: > Thanks for taking the time to explained, Chris. Believe me, it helps. It had > me thinking for a while. So, All the stuff about HTTP makes sense. I've been > studying and trying to wrap my head around the rest of your explanation and

Re: python: server is not receiving input from client flask

2021-06-29 Thread Jerry Thefilmmaker
On Monday, June 28, 2021 at 3:59:54 PM UTC-4, Chris Angelico wrote: > On Tue, Jun 29, 2021 at 5:43 AM Jerry Thefilmmaker > wrote: > > > > Do you mind elaborating a bit more on making one function for any given > > request? > > > > As far as defining a bunch of functions that get called when

Re: python: server is not receiving input from client flask

2021-06-28 Thread Chris Angelico
On Tue, Jun 29, 2021 at 5:43 AM Jerry Thefilmmaker wrote: > > Do you mind elaborating a bit more on making one function for any given > request? > > As far as defining a bunch of functions that get called when particular > requests come in I thought that's what I had going on in my codes. No? >

Re: python: server is not receiving input from client flask

2021-06-28 Thread Jerry Thefilmmaker
On Monday, June 28, 2021 at 2:41:23 PM UTC-4, Chris Angelico wrote: > On Tue, Jun 29, 2021 at 4:36 AM Jerry Thefilmmaker > wrote: > > @app.route("/", methods = ['POST', 'GET']) > > def play(): > > > > @app.route("/", methods = ['POST', 'GET']) > > def check_answer(ans, user): > When you're

Re: python: server is not receiving input from client flask

2021-06-28 Thread Chris Angelico
On Tue, Jun 29, 2021 at 4:36 AM Jerry Thefilmmaker wrote: > @app.route("/", methods = ['POST', 'GET']) > def play(): > > @app.route("/", methods = ['POST', 'GET']) > def check_answer(ans, user): When you're building a Flask app, you're defining a bunch of functions that get called when

python: server is not receiving input from client flask

2021-06-28 Thread Jerry Thefilmmaker
I am new at python but newer at flask, and I'm trying to deploy a web app where I: 1. Send the user the question 2. Get the answer from the user 3. Send additional information based on the answer I am able to send the question but stuck at getting the answer from the user. Base on the answer

Re: python server socket file transfer

2018-01-10 Thread dieter
bingbong3...@gmail.com writes: > On Wednesday, January 10, 2018 at 9:07:33 AM UTC+2, dieter wrote: >> bingbong3...@gmail.com writes: >> > how much client can i handel whit this code what the amount of client that >> > i can handel >> > the size of the file is 716 kb >> > ... >> >

Re: python server socket file transfer

2018-01-10 Thread bingbong3334
On Wednesday, January 10, 2018 at 9:07:33 AM UTC+2, dieter wrote: > bingbong3...@gmail.com writes: > > how much client can i handel whit this code what the amount of client that > > i can handel > > the size of the file is 716 kb > > ... > > self.sock.send(l) > > Please read the documentation

Re: python server socket file transfer

2018-01-09 Thread dieter
bingbong3...@gmail.com writes: > how much client can i handel whit this code what the amount of client that i > can handel > the size of the file is 716 kb > ... > self.sock.send(l) Please read the documentation for *send* in the "socket" module: it tells you that "send" (in contrast to

python server socket file transfer

2018-01-09 Thread bingbong3334
how much client can i handel whit this code what the amount of client that i can handel the size of the file is 716 kb import socket from threading import Thread from SocketServer import ThreadingMixIn ## TCP_IP = '' TCP_PORT = 3156 BUFFER_SIZE = 1024 class ClientThread(Thread): def

Re: configuration setting for python server

2010-06-15 Thread David Zaslavsky
On Monday 14 June 2010 11:29:35 pm shanti bhushan wrote: do we have some configuration file for python server?? No. As people have explained in reply to your other messages, Python's BaseHTTPServer does not use any configuration files. If you want a web server which uses a configuration file

configuration setting for python server

2010-06-14 Thread shanti bhushan
I want to update the configuration file for python server ,but i am not able to locate the python configuration file. Please guide me in this respect. I am using a python web server This is the code for it --- import string,cgi,time from os

Re: configuration setting for python server

2010-06-14 Thread David Zaslavsky
On Monday 14 June 2010 6:19:33 am shanti bhushan wrote: I want to update the configuration file for python server ,but i am not able to locate the python configuration file. What configuration file? I don't see anything in your code that reads a configuration file. :) David -- http

Re: configuration setting for python server

2010-06-14 Thread shanti bhushan
On Jun 15, 5:53 am, David Zaslavsky diaz...@ellipsix.net wrote: On Monday 14 June 2010 6:19:33 am shanti bhushan wrote: I want to update the configuration file for python server ,but i am not able to locate the python configuration file. What configuration file? I don't see anything in your

Re: configuration setting for python server

2010-06-14 Thread shanti bhushan
On Jun 15, 5:53 am, David Zaslavsky diaz...@ellipsix.net wrote: On Monday 14 June 2010 6:19:33 am shanti bhushan wrote: I want to update the configuration file for python server ,but i am not able to locate the python configuration file. What configuration file? I don't see anything in your

Re: configuration setting for python server

2010-06-14 Thread Stephen Hansen
On 6/14/10 8:30 PM, shanti bhushan wrote: On Jun 15, 5:53 am, David Zaslavsky diaz...@ellipsix.net wrote: On Monday 14 June 2010 6:19:33 am shanti bhushan wrote: I want to update the configuration file for python server ,but i am not able to locate the python configuration file. What

python server developer

2009-11-21 Thread Bobby
Hello, We are looking for Python server developer location : Hyderabad Experience : 3 years . Send me your updated resume with availability for Telephonic interview -- http://mail.python.org/mailman/listinfo/python-list

Re: python server developer

2009-11-21 Thread garabik-news-2005-05
Bobby aaron.bob...@gmail.com wrote: Hello, We are looking for Python server developer location : Hyderabad Experience : 3 years . Send me your updated resume with availability for Telephonic interview Hyderabad, India or Hyderabad, Pakistan? (no, I am not going to apply in either case, even

Re: Python server locks up

2009-09-14 Thread M.-A. Lemburg
Zac Burns wrote: I have a server running Python 2.6x64 which after running for about a month decides to lock up and become unresponsive to all threads for several minutes at a time. While it is locked up Python proceeds to consume large amounts of continually increasing memory. The basic

Re: Python server locks up

2009-09-11 Thread sturlamolden
On 9 Sep, 22:28, Zac Burns zac...@gmail.com wrote: Theories:    Python is resizing the large dictionary    Python is garbage collecting Python uses reference counting, not a generational GC like Java. A Python object is destroyed when the refcount drops to 0. The GC only collects cyclic

Re: Python server locks up

2009-09-11 Thread Paul Rubin
sturlamolden sturlamol...@yahoo.no writes: Python uses reference counting, not a generational GC like Java. A Python object is destroyed when the refcount drops to 0. The GC only collects cyclic references. If you create none, there are no GC delays (you can in fact safely turn the GC off).

Re: Python server locks up

2009-09-11 Thread Terry Reedy
sturlamolden wrote: On 9 Sep, 22:28, Zac Burns zac...@gmail.com wrote: Theories: Python is resizing the large dictionary Python is garbage collecting Python uses reference counting, not a generational GC like Java. The CPython implementation, that is. Jython, built on top of Java,

Re: Python server locks up

2009-09-10 Thread Zac Burns
On Wed, Sep 9, 2009 at 6:52 PM, David Stanek dsta...@dstanek.com wrote: On Wed, Sep 9, 2009 at 4:28 PM, Zac Burnszac...@gmail.com wrote: How would you suggest to figure out what is the problem? I don't think you said your OS so I'll assume Linux. Sometimes it is more noise than value, but

Python server locks up

2009-09-09 Thread Zac Burns
I have a server running Python 2.6x64 which after running for about a month decides to lock up and become unresponsive to all threads for several minutes at a time. While it is locked up Python proceeds to consume large amounts of continually increasing memory. The basic function of the server is

Re: Python server locks up

2009-09-09 Thread MRAB
Zac Burns wrote: I have a server running Python 2.6x64 which after running for about a month decides to lock up and become unresponsive to all threads for several minutes at a time. While it is locked up Python proceeds to consume large amounts of continually increasing memory. The basic

Re: Python server locks up

2009-09-09 Thread Zac Burns
If it has been running continuously all that time then it might be that the dictionary has grown too big (is that possible?) or that it's a memory fragmentation problem. In the latter case it might be an idea to restart Python every so often; perhaps it could do that automatically during a

Re: Python server locks up

2009-09-09 Thread David Stanek
On Wed, Sep 9, 2009 at 4:28 PM, Zac Burnszac...@gmail.com wrote: How would you suggest to figure out what is the problem? I don't think you said your OS so I'll assume Linux. Sometimes it is more noise than value, but stracing the process may shed light on what system calls are being made.

Re: XMLRPC - C Client / Python Server

2008-10-01 Thread care02
On 30 Sep, 21:58, Michael Torrie [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I have implemented a simple Python XMLRPC server and need to call it from a C/C++ client. What is the simplest way to do this? I need to pass numerical arrays from C/C++ to Python. Which do you need, C or

Re: XMLRPC - C Client / Python Server

2008-10-01 Thread Chris Rebert
On Wed, Oct 1, 2008 at 1:05 AM, [EMAIL PROTECTED] wrote: On 30 Sep, 21:58, Michael Torrie [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I have implemented a simple Python XMLRPC server and need to call it from a C/C++ client. What is the simplest way to do this? I need to pass

XMLRPC - C Client / Python Server

2008-09-30 Thread care02
I have implemented a simple Python XMLRPC server and need to call it from a C/C++ client. What is the simplest way to do this? I need to pass numerical arrays from C/C++ to Python. Yours, Carl -- http://mail.python.org/mailman/listinfo/python-list

Re: XMLRPC - C Client / Python Server

2008-09-30 Thread Chris Rebert
On Tue, Sep 30, 2008 at 8:05 AM, [EMAIL PROTECTED] wrote: I have implemented a simple Python XMLRPC server and need to call it from a C/C++ client. What is the simplest way to do this? I need to pass numerical arrays from C/C++ to Python. If you just googled for xmlrpc c, you would've found

Re: XMLRPC - C Client / Python Server

2008-09-30 Thread Michael Torrie
[EMAIL PROTECTED] wrote: I have implemented a simple Python XMLRPC server and need to call it from a C/C++ client. What is the simplest way to do this? I need to pass numerical arrays from C/C++ to Python. Which do you need, C or C++? They are two different languages with different

Re: Problem with Python Server Pages (PSP)

2008-07-23 Thread barun . saha04
On Jul 22, 5:36 pm, Sebastian \lunar\ Wiesner [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I am facing a very basic problem with PSP. I have installed mod_python (in fedora Core 1), added the lines required for loading Python modules and handling PSP pages. I have

Re: Problem with Python Server Pages (PSP)

2008-07-23 Thread Graham Dumpleton
On Jul 22, 1:54 pm, [EMAIL PROTECTED] wrote: On Jul 22, 5:18 am, Graham Dumpleton [EMAIL PROTECTED] wrote: On Jul 21, 9:42 pm, [EMAIL PROTECTED] wrote: Hi, I am facing a very basic problem with PSP. I have installedmod_python (in fedora Core 1), added the lines required for

Re: Problem with Python Server Pages (PSP)

2008-07-23 Thread barun . saha04
On Jul 23, 6:18 pm, Graham Dumpleton [EMAIL PROTECTED] wrote: On Jul 22, 1:54 pm, [EMAIL PROTECTED] wrote: On Jul 22, 5:18 am, Graham Dumpleton [EMAIL PROTECTED] wrote: On Jul 21, 9:42 pm, [EMAIL PROTECTED] wrote: Hi, I am facing a very basic problem with PSP. I have

Re: Problem with Python Server Pages (PSP)

2008-07-22 Thread Sebastian lunar Wiesner
[EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I am facing a very basic problem with PSP. I have installed mod_python (in fedora Core 1), added the lines required for loading Python modules and handling PSP pages. I have created a hello.psp page. But when I try to view this hello.psp page, all

Problem with Python Server Pages (PSP)

2008-07-21 Thread barun . saha04
Hi, I am facing a very basic problem with PSP. I have installed mod_python (in fedora Core 1), added the lines required for loading Python modules and handling PSP pages. I have created a hello.psp page. But when I try to view this hello.psp page, all Python code are getting displayed. The said

Re: Problem with Python Server Pages (PSP)

2008-07-21 Thread Graham Dumpleton
On Jul 21, 9:42 pm, [EMAIL PROTECTED] wrote: Hi, I am facing a very basic problem with PSP. I have installedmod_python (in fedora Core 1), added the lines required for loading Python modules and handling PSP pages. I have created a hello.psp page. But when I try to view this hello.psp page,

Re: Problem with Python Server Pages (PSP)

2008-07-21 Thread barun . saha04
On Jul 22, 5:18 am, Graham Dumpleton [EMAIL PROTECTED] wrote: On Jul 21, 9:42 pm, [EMAIL PROTECTED] wrote: Hi, I am facing a very basic problem with PSP. I have installedmod_python (in fedora Core 1), added the lines required for loading Python modules and handling PSP pages. I have

python server side scripting with apache2

2008-04-18 Thread syed mehdi
Hi Guys, I want to do server side scripting in python for one of my applications. So after installing apache2, python lib for apache2 (libapache2), and doing some changes in default file in /etc/apache2/sites-available i was able to execute python scripts in /var/www/ directory from client

Re: How to import custom python file in python server page (psp) ?

2008-03-15 Thread Graham Dumpleton
On Mar 15, 6:44 am, Joshua Kugler [EMAIL PROTECTED] wrote: James Yu wrote: Hi folks, I prepared a python script for dynamically get the absolute paths of the files in certain folder. Then I tried to invoke that function from my web server in a .psp file like this:       1 html    

How to import custom python file in python server page (psp) ?

2008-03-14 Thread James Yu
Hi folks, I prepared a python script for dynamically get the absolute paths of the files in certain folder. Then I tried to invoke that function from my web server in a .psp file like this: 1 html 2 headMETA HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf8/head 3

Re: How to import custom python file in python server page (psp) ?

2008-03-14 Thread Joshua Kugler
James Yu wrote: Hi folks, I prepared a python script for dynamically get the absolute paths of the files in certain folder. Then I tried to invoke that function from my web server in a .psp file like this: 1 html 2 headMETA HTTP-EQUIV=Content-Type CONTENT=text/html;

Python server j2me client ssl socket handshake error

2007-11-16 Thread eliseo
Hello, I want to make the same application : python Serveur and J2me Client whit ssl socket. I would like to know if you have solved the problem? Can you show me the final version of python server code and the J2ME client code, so that I can make my application with your help. Thanks Best

Xinetd python server script. problem to get data from from client

2007-07-30 Thread ilia . meerovich
Hello I wrote simple script to test communication: When i connect via telnet like: telnet localhost 51423 the server is working send and receive information. but when i connected to him via client scrip so client script receive messages from server but server doesn't receive message from client.

Python server j2me client ssl socket handshake error

2006-07-31 Thread karzem
I try to write simple midlet in java to connect with my server which monitors processes in my PC. I've written almost everything and now I've spend 4 days trying to set up a connection between them. Without ssl everything works fine. Here is my fragment of server program: def verify_cb(conn,

Re: a little more help with python server-side scripting

2006-02-24 Thread Magnus Lycka
John Salerno wrote: Ok, seems like the verdict is that the server doesn't have mod_python nor does it detect the .psp extension. It can, however, detect the .py extension. But does this mean I can simply include Python code in my HTML files, and then give my HTML files a .py extension? I

Re: a little more help with python server-side scripting

2006-02-24 Thread John Salerno
Magnus Lycka wrote: The other option is ASP. You have been given information about that already. Be aware that ASP does not imply VBScript. You can use Python in ASP as long as that's enabled. It seems to be exactly what you are asking for, so I don't understand why you seem to reject it.

Re: a little more help with python server-side scripting

2006-02-24 Thread John Salerno
Kent Johnson wrote: John Salerno wrote: Magnus Lycka wrote: The other option is ASP. You have been given information about that already. Be aware that ASP does not imply VBScript. You can use Python in ASP as long as that's enabled. It seems to be exactly what you are asking for, so I don't

Re: a little more help with python server-side scripting

2006-02-24 Thread Kent Johnson
John Salerno wrote: Kent Johnson wrote: John Salerno wrote: Magnus Lycka wrote: The other option is ASP. You have been given information about that already. Be aware that ASP does not imply VBScript. You can use Python in ASP as long as that's enabled. It seems to be exactly what you

Re: a little more help with python server-side scripting

2006-02-24 Thread Magnus Lycka
John Salerno wrote: Maybe I'm misunderstanding what is meant when you say to use ASP. I'm thinking that it involves having to learn another language (such as C# with ASP.NET), instead of writing my code in Python. Is that not the case? Nope. Just like CGI, ASP is language agnostic. It's a

Re: a little more help with python server-side scripting

2006-02-24 Thread Gerard Flanagan
John Salerno wrote: Kent Johnson wrote: John Salerno wrote: Magnus Lycka wrote: The other option is ASP. You have been given information about that already. Be aware that ASP does not imply VBScript. You can use Python in ASP as long as that's enabled. It seems to be exactly what

Re: a little more help with python server-side scripting

2006-02-24 Thread Magnus Lycka
John Salerno wrote: But isn't this code: Response.Write('Python Testbr') Response.write('h3Smaller heading/hr') written using ASP instead of Python? Listen John. This will be the last time I respond to this thread, since you just ask more and more instead of digesting all the information

Re: a little more help with python server-side scripting

2006-02-24 Thread John Salerno
Magnus Lycka wrote: Listen John. This will be the last time I respond to this thread, since you just ask more and more instead of digesting all the information you are given. Why should we spend time on answers if you don't read them properly anyway. Well, I appreciate the help. I'm trying

Re: a little more help with python server-side scripting

2006-02-24 Thread Paul Boddie
John Salerno wrote: Well, I appreciate the help. I'm trying to figure it out, but it seems like with each new post, there is some new technology being mentioned or new method to do what I'm trying to do. Let's just consolidate what we've learned here. Your provider says that you can serve up

Re: a little more help with python server-side scripting

2006-02-24 Thread John Salerno
Paul Boddie wrote: To sum up: 1. Copy the three line CGI with Python example, save it as yourfile.py, upload it, test it. If it works, celebrate and move on to step 2. If it doesn't, move on to step 2 anyway. ;-) 2. Copy the Web page example from the Microsoft link, save it

Re: a little more help with python server-side scripting

2006-02-23 Thread Magnus Lycka
Dennis Lee Bieber wrote: On Wed, 22 Feb 2006 20:43:38 GMT, John Salerno [EMAIL PROTECTED] declaimed the following in comp.lang.python: Does that answer the question about active scripting language? Slipping in... It sure sounds to me like they have Python as a pure CGI language.

Re: a little more help with python server-side scripting

2006-02-23 Thread Magnus Lycka
John Salerno wrote: The python installation on our windows hosting is not configured as mod_python. Perhaps you can switch to linux hosting instead? If they have mod_python in that environment, you can use Python Server Pages, and whatever tools you use, there is much better support

Re: a little more help with python server-side scripting

2006-02-23 Thread John Salerno
Sybren Stuvel wrote: Check out PSP. I found a PSP website that said this: - In general, PSP pages are like normal HTML files with two exceptions: 1. They always have a .PSP file extension 2. They can have JPython code embedded in them - That sounds like just what I want,

Re: a little more help with python server-side scripting

2006-02-23 Thread John Salerno
John Salerno wrote: Sybren Stuvel wrote: Check out PSP. I found a PSP website that said this: - In general, PSP pages are like normal HTML files with two exceptions: 1. They always have a .PSP file extension 2. They can have JPython code embedded in them - That

Re: a little more help with python server-side scripting

2006-02-23 Thread Sybren Stuvel
John Salerno enlightened us with: That sounds like just what I want, except do I have to write my code in Jython? Can't I just use regular Python? I wouldn't know, never used Python ;-) Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for

Re: a little more help with python server-side scripting

2006-02-23 Thread John Salerno
Sybren Stuvel wrote: I wouldn't know, never used Python ;-) So far, me neither. :) -- http://mail.python.org/mailman/listinfo/python-list

Re: a little more help with python server-side scripting

2006-02-23 Thread Magnus Lycka
John Salerno wrote: After a little more investigation, this seems to be just one implementation of PSP. I need to just figure out how to get 'regular' PSP working for me, or if it's even possible on a Windows 2003 server. I don't think there is such a thing as regular PSP. If they've enabled

Re: a little more help with python server-side scripting

2006-02-23 Thread John Salerno
John Salerno wrote: Unfortunately, I don't completely understand what it is I need to do now. Where do I put the path they mentioned? And what do they mean by my script path? Ok, seems like the verdict is that the server doesn't have mod_python nor does it detect the .psp extension. It

Re: a little more help with python server-side scripting

2006-02-23 Thread Paul Boddie
John Salerno wrote: John Salerno wrote: Unfortunately, I don't completely understand what it is I need to do now. Where do I put the path they mentioned? And what do they mean by my script path? Ok, seems like the verdict is that the server doesn't have mod_python nor does it detect the

Re: a little more help with python server-side scripting

2006-02-23 Thread John Salerno
Paul Boddie wrote: No, it means that you either write Python programs which produce pages as output, according to the CGI specification, or that you embed Python code inside ASP files, as described in the above document. I haven't used ASP, and I've been working hard to remove from my memory

Re: a little more help with python server-side scripting

2006-02-23 Thread Gerard Flanagan
John Salerno wrote: Ok, seems like the verdict is that the server doesn't have mod_python nor does it detect the .psp extension. It can, however, detect the .py extension. But does this mean I can simply include Python code in my HTML files, and then give my HTML files a .py extension? No.

Re: a little more help with python server-side scripting

2006-02-23 Thread Paul Boddie
John Salerno wrote: Paul Boddie wrote: No, it means that you either write Python programs which produce pages as output, according to the CGI specification, or that you embed Python code inside ASP files, as described in the above document. I haven't used ASP, and I've been working hard

Re: a little more help with python server-side scripting

2006-02-22 Thread John Salerno
Steve Holden wrote: Note that purists might suggest this isn't the best way to use Python on the web. If it gets you where you want to be, feel free to ignore them :-) Thanks for the info. Basically I don't plan to do big stuff with Python on the internet (at least not right now while I'm

Re: a little more help with python server-side scripting

2006-02-22 Thread John Salerno
John Salerno wrote: I contacted my domain host about how Python is implemented on their server, and got this response: Uh, okay, I asked a related question to them and now I got this: Hello John, There are some corrections based on last reply. The python installation on our

Re: a little more help with python server-side scripting

2006-02-22 Thread Sybren Stuvel
John Salerno enlightened us with: What I had asked was if I could just embed Python code within my HTML files, like you do with PHP, but they didn't address that yet. Check out PSP. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for

Re: a little more help with python server-side scripting

2006-02-22 Thread Steve Holden
John Salerno wrote: John Salerno wrote: I contacted my domain host about how Python is implemented on their server, and got this response: Uh, okay, I asked a related question to them and now I got this: Hello John, There are some corrections based on last reply.

Re: a little more help with python server-side scripting

2006-02-22 Thread John Salerno
Steve Holden wrote: OK, what you need to ask them is whether they have installed Python as an Active Scripting language. If they have then you can use it pretty much like VBscript. Here's there latest: -- Please note that it is possible for the server to recognize bits of Python

a little more help with python server-side scripting

2006-02-21 Thread John Salerno
I contacted my domain host about how Python is implemented on their server, and got this response: --- Hello John, Please be informed that the implementation of python in our server is through mod_python integration with the apache. These are the steps needed for you to be

Re: a little more help with python server-side scripting

2006-02-21 Thread Ben Cartwright
John Salerno wrote: I contacted my domain host about how Python is implemented on their server, and got this response: --- Hello John, Please be informed that the implementation of python in our server is through mod_python integration with the apache. These are the steps

Re: a little more help with python server-side scripting

2006-02-21 Thread Steve Holden
John Salerno wrote: I contacted my domain host about how Python is implemented on their server, and got this response: --- Hello John, Please be informed that the implementation of python in our server is through mod_python integration with the apache. These are the

Re: a little more help with python server-side scripting

2006-02-21 Thread John Salerno
Ben Cartwright wrote: The script can be given a executable mode, or permission, using the chmod command: $ chmod +x myscript.py And this answers your second. Your host needs to know the path to your script so they can use chmod to make it executable. Where does this line go? Just at

Re: a little more help with python server-side scripting

2006-02-21 Thread John Salerno
Steve Holden wrote: Fortunately they've given you the information you need to run CGI scripts. Try installing this script in your cgi-bin directory as test.py (you may have to set it executable): Thank you! I desperately needed to test it, and that seemed to work. I didn't have to make it

Re: a little more help with python server-side scripting

2006-02-21 Thread Steve Holden
John Salerno wrote: Ben Cartwright wrote: The script can be given a executable mode, or permission, using the chmod command: $ chmod +x myscript.py And this answers your second. Your host needs to know the path to your script so they can use chmod to make it executable. Where does

Re: a little more help with python server-side scripting

2006-02-21 Thread Steve Holden
John Salerno wrote: Steve Holden wrote: Fortunately they've given you the information you need to run CGI scripts. Try installing this script in your cgi-bin directory as test.py (you may have to set it executable): Thank you! I desperately needed to test it, and that seemed to work. I

Re: a little more help with python server-side scripting

2006-02-21 Thread John Salerno
Steve Holden wrote: Where does this line go? Just at the top as well? Nope. I presume you can log in to your web server using ssh or telnet or similar. In which case you do so. Then use the commands cd {wherever}/cgi-bin chmod +x test.py to make the script executable, and therefore

Re: a little more help with python server-side scripting

2006-02-21 Thread John Salerno
Steve Holden wrote: If the script ran, you will now know waht version of Apaceh you're running with! Well, the script did seem to run, but I'm still not sure if this is what I'm ultimately after. This allows me to run Python script files, which is good, but what I really want to do is write

Re: a little more help with python server-side scripting

2006-02-21 Thread Steve Holden
. There are various ways you can do this, each of which depends on having a particular framework in place. Since your web service provider tells you that mod_python is available it's likely that you'll be able to use PSP (one of several beasts known as Python Server Pages). This is briefly

Re: python server

2005-11-09 Thread Frithiof Andreas Jensen
linuxpld [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I`m writing a program (server in future) in python. I would like to write it in such a way that I will be able to write gui in any language and connect to my python program and use functionality included with it. are

Re: python server

2005-11-09 Thread Frithiof Andreas Jensen
Magnus Lycka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thee are many solutions. An XML-RPC server springs to mind as a solution. There are several Python XML-RPC servers . Good Idea. Seems that those particular batteries are included with Python 2.2 and up: OP: See help

Re: python server

2005-11-08 Thread Magnus Lycka
linuxpld wrote: I`m writing a program (server in future) in python. I would like to write it in such a way that I will be able to write gui in any language and connect to my python program and use functionality included with it. are there any libraries that I could use? Thee are many

python server

2005-11-07 Thread linuxpld
Hello I`m writing a program (server in future) in python. I would like to write it in such a way that I will be able to write gui in any language and connect to my python program and use functionality included with it. are there any libraries that I could use? I dont know if i wrote it

Re: python server

2005-11-07 Thread Bill Mill
On 7 Nov 2005 10:22:18 -0800, linuxpld [EMAIL PROTECTED] wrote: Hello I`m writing a program (server in future) in python. I would like to write it in such a way that I will be able to write gui in any language and connect to my python program and use functionality included with it. are

Re: python server?

2005-10-12 Thread Diez B. Roggisch
I was wondering if something similar already existed, to use as-is or to adapt to my needs. I did a little googling, which pointed me to interesting, but rather different projects. Has anybody ever seen or heard something of this kind? Or maybe there is something almost-ready in the amazing

python server?

2005-10-11 Thread Francesco Marchetti-Stasi
Hello everybody, I am the happy yet unsatisfied owner of an ipaq 3760. I am writing a python+pygtk editor optimized for an handheld, and in the future I'd like to write more applications (to-do-list and agenda are on top of my priorities, since the existing ones don't fit my needs). I was now

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

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

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