On 5/6/07, Tina I [EMAIL PROTECTED] wrote:
Maxim Veksler wrote:
Is there are frame work or something in python that would allow me to
do this (quickly) ?
If not, ideas how I should I be getting this boring task of:
1. get screen width
You can look into the 'curses' module and do
of clients at the same
time and do so more efficiently than the loop in your version. You can
also try epollreactor instead of pollreactor, if the version of Linux you
are using supports epoll, for even better performance.
Thanks!
Jean-Paul
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u
for you
print cc.BLACK_FG + see, nothing to worry about
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u GNU ?
--
http://mail.python.org/mailman/listinfo/python-list
, socket.SOCK_STREAM)
s.setblocking(0)
s.bind(('0.0.0.0', 1))
s.listen(5)
__poll = select.poll()
__poll.register(s)
__poll.poll()
print I did not block
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u GNU ?
--
http://mail.python.org/mailman/listinfo/python-list
On 5/4/07, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Fri, 4 May 2007 13:04:41 +0300, Maxim Veksler [EMAIL PROTECTED] wrote:
Hi,
I'm trying to write a non blocking socket port listener based on
poll() because select is limited to 1024 fd.
Here is the code, it never gets to I did
On 5/4/07, Maxim Veksler [EMAIL PROTECTED] wrote:
On 5/4/07, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Fri, 4 May 2007 13:04:41 +0300, Maxim Veksler [EMAIL PROTECTED] wrote:
Hi,
I'm trying to write a non blocking socket port listener based on
poll() because select is limited
I breaking wrong?
Thank you,
Maxim.
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u GNU ?
--
http://mail.python.org/mailman/listinfo/python-list
On 4/29/07, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
In [EMAIL PROTECTED], Maxim Veksler
wrote:
Hello list,
I'm trying to subclass socket and select, for both I get:
TypeError: Error when calling the metaclass bases
module.__init__() takes at most 2 arguments (3 given
On 4/13/07, Alex Martelli [EMAIL PROTECTED] wrote:
On Apr 12, 2007, at 1:17 PM, Maxim Veksler wrote:
...
Now, someone I work with suggested a simple work around Pass the list
objects in groups of 1024 each time to the select.select structure. I
think it's acceptable and good advice
On 4/10/07, Bjoern Schliessmann
[EMAIL PROTECTED] wrote:
Maxim Veksler wrote:
I've written this code, the general idea was to listen on all
65535 port of tcp for connection.
Please excuse the question: Why would anyone want to do such a manic
thing (instead of, e. g., using raw sockets
On 4/10/07, Alex Martelli [EMAIL PROTECTED] wrote:
Maxim Veksler [EMAIL PROTECTED] wrote:
ValueError: filedescriptor out of range in select()
Should I be using a different version of select or something? Or
select typically supports 1024 FDs at most (a design limit of the
underlying
,
Maxim Veksler
Free as in Freedom - Do u GNU ?
--
http://mail.python.org/mailman/listinfo/python-list
On 4/4/07, Irmen de Jong [EMAIL PROTECTED] wrote:
Maxim Veksler wrote:
I'm trying to bind a non-blocking socket, here is my code:
#!/usr/bin/env python
import socket, select
from time import sleep
s_nb1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s_nb1
doesn\'t look like swigged shadow class code'
source file doesn't look like swigged shadow class code
error: command '/usr/bin/python' failed with exit status 1
[1] http://pylibpcap.sourceforge.net/
[2] http://py.vaults.ca/apyllo.py/126307487
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u
On 3 Apr 2007 08:43:57 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Apr 3, 10:29 am, Maxim Veksler [EMAIL PROTECTED] wrote:
Hello,
I wish to do some low level network stuff using python.
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u GNU ?
I would assume you could
because python is actually a sub process of bash).
Thank you,
Maxim.
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u GNU ?
--
http://mail.python.org/mailman/listinfo/python-list
On 3/12/07, Tommy Nordgren [EMAIL PROTECTED] wrote:
On 12 mar 2007, at 11.33, Maxim Veksler wrote:
Hello list,
I'm trying to write a python script that would allow me to manipulate
shell variables of the calling shell. I'm trying to write some logic
that would know to add
) to implement the above code
without using lambda I believe it would help me grasp this a bit
faster then.
Thank you,
Maxim.
--
Cheers,
Maxim Veksler
Free as in Freedom - Do u GNU ?
--
http://mail.python.org/mailman/listinfo/python-list
Wow,
Thank you everyone for the help. I am amazed by the motivation people
have on this list to help new comers. I hope that I will be able to
contribute equally some day.
On 05 Feb 2007 14:22:05 -0800, Paul Rubin
http://phr.cx@nospam.invalid wrote:
Maxim Veksler [EMAIL PROTECTED] writes
19 matches
Mail list logo