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"
Hi all.
I want to have dates as major ticks labels of X axis.
This fragment of code works fine except that I need more dates to appear
instead the 6 I am getting. The number of dates in dtsd is for ex. 262.
Thanks for any help.
BTW, I got most of this code from some site on the internet.
...
On Tue, 09 Jan 2018 16:14:27 +0200, Frank Millman wrote:
> Maybe I was not clear. The Context instance is passed as an argument to
> many methods. The methods can access the attributes of the instance. The
> instance has no methods of its own.
Ah, I see, I misunderstood.
[...]
>> Alternatively,
On 09/01/18 05:09, INADA Naoki wrote:
> Hi, all.
>
> Yesterday, I released msgpack-0.5, which was msgpack-python.
> Both packages provide "msgpack" python package.
>
> I used msgpack in early days, but easy_install crawling website
> and download msgpack-1.0.0.tar.gz, which is msgpack for C inste
On Tuesday, January 9, 2018 at 3:22:30 PM UTC, Robert O'Shea wrote:
> Hey all,
>
> Been subscribed to this thread for a while but haven't contributed much.
> One of my ultimate goals this year is to get under the hood of CPython and
> get a decent understanding of mechanics Guido and the rest of y
On 09-Jan 15:21, Robert O'Shea wrote:
>
> Been subscribed to this thread for a while but haven't contributed much.
+1. I'm a lurker too.
> So besides just grabbing a chunk of CPython source code and digesting it, I
> was wondering if those of you have read and understood the source code, do
> y
Manuel Rincon writes:
[...]
> Type=0 MarketTime=11:18:26.549 Price=112.8300
> Type=0 MarketTime=11:18:28.792 Price=112.8300
[...]
>
> I would need to filter only the numeric part of all the columns.
I assume that by "numeric" you mean the value after Price=
line.split()[2].split('=')[1]
lin
Dear:
With what function could you separate the numerical part of each column?
MarketTime Price
Type
Type=0 MarketTime=11:18:26.549 Price=112.8300
Type=0 MarketTime=11:18:28.792 Price=112.8300
Type=0 MarketTime=11:18
ElChino writes:
> Chris Angelico wrote:
>
>> CPython is a stack-based interpreter, which means it loads values onto
>> an (invisible) internal stack, processes values at the top of the
>> stack, and removes them when it's done.
>
> Is this similar to how Lua operates too?
No. Lua uses a register
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 __init__(
On Wed, Jan 10, 2018 at 6:20 AM, ElChino wrote:
> Chris Angelico wrote:
>
>> CPython is a stack-based interpreter, which means it loads values onto
>> an (invisible) internal stack, processes values at the top of the
>> stack, and removes them when it's done.
>
>
> Is this similar to how Lua opera
Chris Angelico wrote:
CPython is a stack-based interpreter, which means it loads values onto
an (invisible) internal stack, processes values at the top of the
stack, and removes them when it's done.
Is this similar to how Lua operates too?
--
https://mail.python.org/mailman/listinfo/python-li
On 9 January 2018 at 16:18, Chris Angelico wrote:
> On Wed, Jan 10, 2018 at 2:21 AM, Robert O'Shea
> wrote:
>> Hey all,
>>
>> Been subscribed to this thread for a while but haven't contributed much.
>> One of my ultimate goals this year is to get under the hood of CPython and
>> get a decent unde
On Wed, Jan 10, 2018 at 2:21 AM, Robert O'Shea
wrote:
> Hey all,
>
> Been subscribed to this thread for a while but haven't contributed much.
> One of my ultimate goals this year is to get under the hood of CPython and
> get a decent understanding of mechanics Guido and the rest of you wonderful
>
Python 3.7.0a4 is the last of four planned alpha releases of Python 3.7,
the next feature release of Python. During the alpha phase, Python 3.7
remains under heavy development: additional features will be added
and existing features may be modified or deleted. Please keep in mind
that this is a p
On 01/09/2018 07:30 AM, Steven D'Aprano wrote:
> If you have a class with only data, and you access the attributes via the
> instance's __dict__, why not use an ordinary dict?
Or even subclass dict.
class MyClass(dict):
VAR = 5
m = MyClass()
m['newvar'] = "Something"
I do this and wrap thing
Hey all,
Been subscribed to this thread for a while but haven't contributed much.
One of my ultimate goals this year is to get under the hood of CPython and
get a decent understanding of mechanics Guido and the rest of you wonderful
people have designed and implemented.
I've been programming in p
"Steven D'Aprano" wrote in message news:p32g4v$v88$2...@blaine.gmane.org...
On Tue, 09 Jan 2018 11:28:03 +0200, Frank Millman wrote:
> I have a class call Context containing only data, not methods. Instances
> are passed around a lot in my application, with various methods
> accessing various
On Tue, 09 Jan 2018 11:28:03 +0200, Frank Millman wrote:
> I have a class call Context containing only data, not methods. Instances
> are passed around a lot in my application, with various methods
> accessing various attributes.
That contradicts itself... your Context class has data, but no meth
"Frank Millman" wrote in message news:p321rb$9ct$1...@blaine.gmane.org...
"Peter Otten" wrote in message news:p31v3m$pji$1...@blaine.gmane.org...
Frank Millman wrote:
> Hi all
>
> I have read that one should not call dunder methods in application code.
>
> Does the same apply to dunder varia
"Peter Otten" wrote in message news:p31v3m$pji$1...@blaine.gmane.org...
Frank Millman wrote:
> Hi all
>
> I have read that one should not call dunder methods in application code.
>
> Does the same apply to dunder variables? I am thinking of the instance
> attribute __dict__, which allows acces
On Tue, 09 Jan 2018 09:55:49 +0200, Frank Millman wrote:
> Hi all
>
> I have read that one should not call dunder methods in application code.
"Should not" rather than "must not", but that's correct. In general,
calling a dunder method directly is *not* the same as the operation you
probably w
Frank Millman wrote:
> Hi all
>
> I have read that one should not call dunder methods in application code.
>
> Does the same apply to dunder variables? I am thinking of the instance
> attribute __dict__, which allows access to the contents of the instance.
>
> I only want to read from __dict__,
23 matches
Mail list logo