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
check_answer
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
> > be
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
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
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?
>
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 bu
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 particular
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
>> > ...
>> > self.sock.send(l
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 for
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 "sendall"
Bobby 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 if I think I do
qu
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 bas
Paul Rubin wrote:
sturlamolden 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). Pyt
sturlamolden wrote:
On 9 Sep, 22:28, Zac Burns 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, uses
Java's GC. D
sturlamolden 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). Python does not sha
On 9 Sep, 22:28, Zac Burns 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 references. If you
On Wed, Sep 9, 2009 at 6:52 PM, David Stanek wrote:
> On Wed, Sep 9, 2009 at 4:28 PM, Zac Burns 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
On Wed, Sep 9, 2009 at 4:28 PM, Zac Burns 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. This in turn may
> 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
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 functio
"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 h
"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
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 sol
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.
>
> 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 amazi
25 matches
Mail list logo