Richard Jones writes:
> I'm proud to release version 1.4.7 of Roundup.
> - Allow CGI frontend to serve XMLRPC requests.
> - Added XMLRPC actions, as well as bridging CGI actions to XMLRPC actions.
Sweet.
I'm working on a small project called TracShell which is a command-line
front-end to the T
Jean-Paul Calderone wrote:
> On Tue, 17 Mar 2009 12:15:23 +0530, Saurabh wrote:
> >> This isn't exactly how things work. The server *sends* you bytes. It can
> >> send you a lot at once. To some extent you can control how much it sends
> >> before it waits for you to catch up, but you don't ha
Il Tue, 17 Mar 2009 10:55:21 +, R. David Murray ha scritto:
> mattia wrote:
>> Hi all, can you tell me why the module urllib.request (py3) add extra
>> characters (b'fef\r\n and \r\n0\r\n\r\n') in a simple example like the
>> following and urllib2 (py2.6) correctly not?
>>
>> py2.6
>> >>> im
On Mar 17, 2009, at 10:31 AM, Laszlo Nagy wrote:
Hi Laszlo,
Just a hunch -- are you leaking file handles and eventually running
out?
These file handles are for TCP sockets. They are accept()-ed, used
and then thrown out. I guess after the connection was closed, the
file handle is destr
On Tue, 17 Mar 2009 12:15:23 +0530, Saurabh wrote:
This isn't exactly how things work. The server *sends* you bytes. It can
send you a lot at once. To some extent you can control how much it sends
before it waits for you to catch up, but you don't have anywhere near
byte-level control (you mi
On Tue, 17 Mar 2009 15:04:22 +0100, Laszlo Nagy wrote:
This is a long running process, written in Python. Only standard lib is
used. This process accepts connections on TCP sockets, read/write data.
After about one day, it starts throwing this when I try to connect:
[snip]
File "/usr/local/w
Hi Laszlo,
Just a hunch -- are you leaking file handles and eventually running out?
These file handles are for TCP sockets. They are accept()-ed, used and
then thrown out. I guess after the connection was closed, the file
handle is destroyed automatically. BTW here is the shutdown() method fo
On Mar 17, 2009, at 10:04 AM, Laszlo Nagy wrote:
This is a long running process, written in Python. Only standard lib
is used. This process accepts connections on TCP sockets, read/write
data.
After about one day, it starts throwing this when I try to connect:
2009-03-17 09:49:50,096 INFO
This is a long running process, written in Python. Only standard lib is
used. This process accepts connections on TCP sockets, read/write data.
After about one day, it starts throwing this when I try to connect:
2009-03-17 09:49:50,096 INFO .accesspoint0 ('127.0.0.1', 55510) connecting
2009-03-
Quoting andrew cooke :
> Andre Engels wrote:
> [...]
> b = a.__iter__()
>
> not sure from what version, but certainly in 2.6 and on, you can improve
> the syntax slightly:
> >>> b = iter(a)
> >>> b.next()
Indeed. Directly calling __special_methods__ should be avoided. That one is a
better i
Thought you might find his interesting.
"A standalone Eye-Fi server has now been presented to the general public,
and while it's written in a language that few understand these days (it's
Python, and no, we're not joking), the functionality here is second to
none."
http://www.engadget.com/2009/03/
On Mar 16, 5:42 pm, John Machin wrote:
> On Mar 17, 9:29 am, "R. David Murray" wrote:
>
>
>
> > walle...@gmail.com wrote:
> > > On Mar 16, 4:10 pm, Benjamin Peterson wrote:
> > > > gmail.com> writes:
>
> > > > > self.out.write(b'BM') worked beautifully. Now I also have a similar
> > > > > iss
Dnia Tue, 17 Mar 2009 15:43:27 +0800, oyster napisał(a):
> is there any this kind of lib for python? thanx
If you plan to use it for some sort of automatic testing, look here:
http://pycheesecake.org/wiki/PythonTestingToolsTaxonomy#GUITestingTools
--
http://mail.python.org/mailman/listinfo/pytho
On Tue, 17 Mar 2009 13:38:31 +0530, Saurabh wrote:
> Heres the reason behind wanting to get chunks at a time.
> Im actually retrieving data from a list of RSS Feeds and need to
> continuously check for latest posts.
> But I dont want to depend on Last-Modified header or the pubDate tag
> in . Beca
Jorgen Grahn wrote:
On Sun, 15 Mar 2009 22:47:54 -0700, Chris Rebert wrote:
On Sun, Mar 15, 2009 at 10:24 PM, venutaurus...@gmail.com
wrote:
Hi all,
I have to write an application which does a move and copy of a
file from a remote machine to the local machine. I tried something
like:
fi
not sure from what version, but certainly in 2.6 and on, you can improve
the syntax slightly:
b = iter(a)
b.next()
This syntax (also my preferred version) has been available since
at least 2.3
-tkc
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 15 Mar 2009 22:47:54 -0700, Chris Rebert wrote:
> On Sun, Mar 15, 2009 at 10:24 PM, venutaurus...@gmail.com
> wrote:
>> Hi all,
>> I have to write an application which does a move and copy of a
>> file from a remote machine to the local machine. I tried something
>> like:
>>
>> file
Python wrote:
On 16 mrt 2009, at 22:15, Lou Pecora wrote:
Because the shell process in the Terminal window would exit right after
it started even when I was just trying to open a new window (not even
running a script), i.e. command-N in Terminal. So I could not run
anything from the Terminal.
On 16 Mrz., 23:06, Mudcat wrote:
> On Mar 13, 8:37 pm, Christian Heimes wrote:
>
> > Chris Rebert wrote:
> > > Haven't used it, butPythonfor .NET sounds like it might be what you
> > > want:http://pythonnet.sourceforge.net/
>
> > I've done some development for and with PythonDotNET. It's definite
Andre Engels wrote:
[...]
b = a.__iter__()
b.next()
> 'cat'
b.next()
> 'dog'
NOTE CORRECTION BELOW! IT'S next(b), not b.next() which doesn't exist in
Python 3 (if you need it, it's now b.__next__()). sorry.
not sure from what version, but certainly in 2.6 and on, you can improve
Andre Engels wrote:
[...]
b = a.__iter__()
b.next()
> 'cat'
b.next()
> 'dog'
not sure from what version, but certainly in 2.6 and on, you can improve
the syntax slightly:
>>> b = iter(a)
>>> b.next()
andrew
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Mar 17, 2009 at 12:24 PM, Andre Engels wrote:
> On Tue, Mar 17, 2009 at 12:12 PM, Anjanesh Lekshminarayanan
> wrote:
> a = ['cat','dog','elephant']
> a.next()
>> Traceback (most recent call last):
>> File "", line 1, in
>> AttributeError: 'list' object has no attribute 'next'
>>
On Tue, Mar 17, 2009 at 12:12 PM, Anjanesh Lekshminarayanan
wrote:
a = ['cat','dog','elephant']
a.next()
> Traceback (most recent call last):
> File "", line 1, in
> AttributeError: 'list' object has no attribute 'next'
> Is there something that imtates PHP's next() ? (http://php.
Il Tue, 17 Mar 2009 10:55:21 +, R. David Murray ha scritto:
> mattia wrote:
>> Hi all, can you tell me why the module urllib.request (py3) add extra
>> characters (b'fef\r\n and \r\n0\r\n\r\n') in a simple example like the
>> following and urllib2 (py2.6) correctly not?
>>
>> py2.6
>> >>> im
Saurabh wrote:
> > This isn't exactly how things work. The server *sends* you bytes. It can
> > send you a lot at once. To some extent you can control how much it sends
> > before it waits for you to catch up, but you don't have anywhere near
> > byte-level control (you might have something lik
>>> a = ['cat','dog','elephant']
>>> a.next()
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'list' object has no attribute 'next'
>>>
Is there something that imtates PHP's next() ? (http://php.net/next)
--
http://mail.python.org/mailman/listinfo/python-list
mattia wrote:
> Hi all, can you tell me why the module urllib.request (py3) add extra
> characters (b'fef\r\n and \r\n0\r\n\r\n') in a simple example like the
> following and urllib2 (py2.6) correctly not?
>
> py2.6
> >>> import urllib2
> >>> f = urllib2.urlopen("http://www.google.com";).read()
On Sat, Mar 14, 2009 at 5:10 AM, Saurabh wrote:
> For introduction I am thinking about 'Learning Python' and for
> reference I am thinking about 'Python Bible'.
>
> I need your suggestions on this.
>
> Thanks in advance
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Here's another
On Sat, Mar 14, 2009 at 9:09 AM, mattia wrote:
> How can I convert the following string:
>
> 'AAR','ABZ','AGA','AHO','ALC','LEI','AOC',
> EGC','SXF','BZR','BIQ','BLL','BHX','BLQ'
>
> into this sequence:
>
> ['AAR','ABZ','AGA','AHO','ALC','LEI','AOC',
> EGC','SXF','BZR','BIQ','BLL','BHX','BLQ']
>
Il Tue, 17 Mar 2009 08:18:08 +0100, Peter Otten ha scritto:
> Mensanator wrote:
>
>> On Mar 16, 1:40 pm, Peter Otten <__pete...@web.de> wrote:
>>> mattia wrote:
>>> > I have 2 lists, like:
>>> > l1 = [1,2,3]
>>> > l2 = [4,5]
>>> > now I want to obtain a this new list: l =
>>> > [(1,4),(1,5),(2,4)
Hi all, can you tell me why the module urllib.request (py3) add extra
characters (b'fef\r\n and \r\n0\r\n\r\n') in a simple example like the
following and urllib2 (py2.6) correctly not?
py2.6
>>> import urllib2
>>> f = urllib2.urlopen("http://www.google.com";).read()
>>> fd = open("google26.html
On 16 mrt 2009, at 22:15, Lou Pecora wrote:
In article ,
Python wrote:
--
why don't you just execute the script directly form the terminal?
then you will be able to read all error messages...
and you can delete all the files you want
just my 2c
Arno
Because the shell process in the Term
On Mon, 16 Mar 2009 02:59:57 -0700, Michele Simionato wrote:
> On Mar 16, 8:08 am, Dennis Lee Bieber wrote:
>> On Sun, 15 Mar 2009 23:18:54 -0500, alex goretoy
>> Many of your posts are actually exceeding the 500-line
>> limit I've
>> set in my client for down-load -- yet have not
Heres the reason behind wanting to get chunks at a time.
Im actually retrieving data from a list of RSS Feeds and need to
continuously check for latest posts.
But I dont want to depend on Last-Modified header or the pubDate tag
in . Because a lot of feeds just output date('now') instead
of the act
Hi David and John.
Thanks a lot, the problem is solved.
David, your idea was the key to solve the problem.
Actually John in his code and the explanation made it clear that the
wrong attributes were being used on wrong elements.
david's code confirmed the fact. The center style which david had in
is there any this kind of lib for python?
thanx
--
http://mail.python.org/mailman/listinfo/python-list
Please excuse my replying to a reply instead of the original, but the
original doesn't show up on my news feed.
On 2009/3/16 Saurabh :
> I want to download content from the net - in chunks of x bytes or
> characters at a time - so that it doesnt pull the entire content in one
> shot.
>
> import
Mensanator wrote:
> On Mar 16, 1:40 pm, Peter Otten <__pete...@web.de> wrote:
>> mattia wrote:
>> > I have 2 lists, like:
>> > l1 = [1,2,3]
>> > l2 = [4,5]
>> > now I want to obtain a this new list:
>> > l = [(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)]
>> > Then I'll have to transform the values found in
2009/3/16 Saurabh :
> I want to download content from the net - in chunks of x bytes or characters
> at a time - so that it doesnt pull the entire content in one shot.
>
> import urllib2
> url = "http://python.org/";
> handler = urllib2.urlopen(url)
>
> data = handler.read(100)
> print """Content :
101 - 139 of 139 matches
Mail list logo