On Mar 3, 9:32 am, BlueBird wrote:
> Hi,
>
> I am looking for a SOAP 1.2 python client. To my surprise, it seems
> that this does not exist. Does anybody know about this ?
>
> The following clients seem to be both unmaintained and still
> supporting only SOAP 1.1 :
>
> - SUDS
suds unmaintained? I
ode(doc)
url = 'http://torrage.com/api/torrage.wsdl'
client = Client(url, cache=None)
print client
hash = client.service.cacheTorrent(encoded_doc)
print hash
[result]
Suds ( https://fedorahosted.org/suds/ ) version: 0.4 (beta) build:
R663-20100303
Service ( CacheService ) tns="urn:T
On Wed, Mar 3, 2010 at 5:18 PM, Jonathan Gardner
wrote:
> On Wed, Mar 3, 2010 at 1:11 PM, mk wrote:
>>
>> Or I could make my life simpler and use global variable. :-)
>>
>
> Ding ding ding!
>
> 90% of Design Patterns is making Java suck less.
>
> Other languages don't necessarily suffer from Java
On Wed, Mar 3, 2010 at 12:36 PM, Xah Lee wrote:
[snip]
Xah Lee is a longstanding usenet troll. Don't feed the trolls.
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
D'Arcy J.M. Cain wrote:
>On Wed, 03 Mar 2010 20:44:08 +0100
>mk wrote:
>> It reminds me of why Windows uses backslashes for path separation
>> instead of slashes: what I've *heard*, and do not know if it's true,
>> it's because Gates fancied using / for options switch instead of -,
On Mar 3, 2010, at 5:41 PM, Avid Fan wrote:
Jonathan Gardner wrote:
I see it as a sign of maturity with sufficiently scaled software that
they no longer use an SQL database to manage their data. At some
point
in the project's lifetime, the data is understood well enough that
the
general
Hi,
this would be a good place to start
http://en.wikipedia.org/wiki/NoSQL
http://nosql-database.org/
HTH,
Krishna
On Thu, Mar 4, 2010 at 7:41 AM, Avid Fan wrote:
> Jonathan Gardner wrote:
>
>
>> I see it as a sign of maturity with sufficiently scaled software that
>> they no longer use an SQL
In article ,
"D'Arcy J.M. Cain" wrote:
> On Wed, 03 Mar 2010 14:42:00 +
> MRAB wrote:
> > Gregory Ewing wrote:
> > Mk14 from Science of Cambridge, a kit with hex keypad and 7-segment
> > display, which I had to solder together, and also make my own power
> > supply. I had the extra RAM and
On Wed, Mar 3, 2010 at 7:14 PM, geoffbache wrote:
> Unfortunately, the location from PYTHONPATH ends up after the eggs in
> sys.path so I can't persuade Python to import my version. The only way
> I've found to fix it is to copy the main script and manually hack
> sys.path at the start of it whic
On Wed, 03 Mar 2010 17:06:01 -0800, Chris Rebert wrote:
> But yes, internally, Python converted the int to a float before doing
> the addition.
[pedantic]
To be precise, Python created a *new* float from the int, leaving the
original int alone. Because ints and floats are objects, if Python
ac
On Wed, 03 Mar 2010 19:54:52 +0100, mk wrote:
> Hello,
>
> So I set out to write generic singleton, i.e. the one that would do a
> singleton with attributes of specified class. At first:
Groan. What is it with the Singleton design pattern? It is one of the
least useful design patterns, and yet
Philip Semanchuk writes:
> Do Fedora & Ubuntu's package managers offer modules that appear in
> CPAN?
Yes, I've installed so far all Perl modules I need that way (sudo
apt-get install ...)
> In other words, if I was a Perl user under Ubuntu would I use
> the pkg manager to add a Perl module, or
On Wed, 03 Mar 2010 15:45:51 -0800, Wells wrote:
> But:
>
a = 1
b = 3
a / b
> 0
>
> This does not implicitly do the casting, it treats 'a' and 'b' as
> integers, and the result as well. Changing 'b' to 3.0 will yield a float
> as a result (0.1)
This is design fla
On Wed, Mar 3, 2010 at 6:50 PM, Zeeshan Quireshi
wrote:
> Hello, I'm using ctypes to wrap a library i wrote. I am trying to pass
> it a FILE *pointer, how do i open a file in Python and convert it to a
> FILE *pointer. Or do i have to call the C library using ctypes first,
> get the pointer and th
I am building Python 2.6.4 on a shared server and am encountering test
failures in test_hashlib.py and test_hmac.py, specifically concerning
sha512. I recompiled Python with --with-pydebug and CLFAGS=CPPFLAGS="-
g" and ran the tests in GDB and got the following results:
--
Zeeshan Quireshi wrote:
On Mar 3, 6:45 pm, Wells wrote:
This seems sort of odd to me:
a = 1
a += 1.202
a
2.202
Indicates that 'a' was an int that was implicitly casted to a float.
But:
a = 1
b = 3
a / b
0
This does not implicitly do the casting, it treats 'a' and 'b' as
integers, and th
On Wed, Mar 3, 2010 at 6:45 PM, Wells wrote:
> This seems sort of odd to me:
>
> >>> a = 1
> >>> a += 1.202
> >>> a
> 2.202
>
> Indicates that 'a' was an int that was implicitly casted to a float.
> But:
>
> >>> a = 1
> >>> b = 3
> >>> a / b
> 0
>
> This does not implicitly do the casting, it tre
yes
you can also try:
>>> float(a)/b
0.1
On Thu, Mar 4, 2010 at 5:15 AM, Wells wrote:
> This seems sort of odd to me:
>
> >>> a = 1
> >>> a += 1.202
> >>> a
> 2.202
>
> Indicates that 'a' was an int that was implicitly casted to a float.
> But:
>
> >>> a = 1
> >>> b = 3
> >>> a
On Wed, Mar 3, 2010 at 3:45 PM, Wells wrote:
> This seems sort of odd to me:
>
a = 1
a += 1.202
a
> 2.202
>
> Indicates that 'a' was an int that was implicitly casted to a float.
Remember Python is dynamically typed. Values have types, but variables
don't (I could do a = "foo" at t
* Robert Kern:
On 2010-03-03 15:35 PM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 13:32 PM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 11:18 AM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 09:56 AM, Alf P. Steinbach wrote:
* Mike Kent:
What's the compelling us
On Mar 3, 5:45 pm, Wells wrote:
> This seems sort of odd to me:
>
> >>> a = 1
> >>> a += 1.202
> >>> a
>
> 2.202
>
> Indicates that 'a' was an int that was implicitly casted to a float.
> But:
>
> >>> a = 1
> >>> b = 3
> >>> a / b
>
> 0
>
> This does not implicitly do the casting, it treats 'a' an
On Wed, 03 Mar 2010 09:27:16 -, Oren Elrad wrote:
Howdy all, longtime appreciative user, first time mailer-inner.
I'm wondering if there is any support (tepid better than none) for the
following syntactic sugar:
silence:
block
->
try:
block
except:
.
On Wed, Mar 3, 2010 at 2:14 AM, geoffbache wrote:
>
> I have a very simple problem that seems to have no simple solution.
>
> I have a module which is installed centrally and lives in a Python
> egg. I have experimented with some minor changes to it and would like
> to set my PYTHONPATH to pick up
On Wed, 03 Mar 2010 19:38:16 -, Steve Holden
wrote:
mk wrote:
D'Arcy J.M. Cain wrote:
Makes me want to go down to the basement and fire up the Altair. :-)
Please don't, or else I fire up that univ Yugoslavian copy of VAX with
Pascal compiler (where I wrote my first program) and I wi
On 3/3/2010 6:33 PM, Eike Welk wrote:
I have two small ideas for improvement:
- Swap the first two paragraphs. First say what it is, and then give the
motivation.
No problem -- since this is a Wiki, you can perform the swap yourself!
(If you haven't done it in a day or so, I'll do the deed.)
On Mar 3, 6:45 pm, Wells wrote:
> This seems sort of odd to me:
>
> >>> a = 1
> >>> a += 1.202
> >>> a
>
> 2.202
>
> Indicates that 'a' was an int that was implicitly casted to a float.
> But:
>
> >>> a = 1
> >>> b = 3
> >>> a / b
>
> 0
>
> This does not implicitly do the casting, it treats 'a' an
Hello, I'm using ctypes to wrap a library i wrote. I am trying to pass
it a FILE *pointer, how do i open a file in Python and convert it to a
FILE *pointer. Or do i have to call the C library using ctypes first,
get the pointer and then pass it to my function.
Also, is there any automated way to c
This seems sort of odd to me:
>>> a = 1
>>> a += 1.202
>>> a
2.202
Indicates that 'a' was an int that was implicitly casted to a float.
But:
>>> a = 1
>>> b = 3
>>> a / b
0
This does not implicitly do the casting, it treats 'a' and 'b' as
integers, and the result as well. Changing 'b' to 3.0 wi
On Mar 3, 2010, at 5:17 PM, Jonathan Gardner wrote:
On Wed, Mar 3, 2010 at 1:00 PM, Terry Reedy wrote:
People who are familiar with and like CPAN are free to help improve
PyPI.
Those of us not familiar with it may not know what we are missing,
or have
little idea about what works with C
Bruno Desthuilliers wrote:
> John Posner a écrit :
>> Done -- see http://wiki.python.org/moin/FromFunctionToMethod
>
> Done and well done !-)
> Thanks again for the good job John.
I like it too, thanks to both of you!
I have two small ideas for improvement:
- Swap the first two paragraphs. Firs
On 2010-03-03 15:35 PM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 13:32 PM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 11:18 AM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 09:56 AM, Alf P. Steinbach wrote:
* Mike Kent:
What's the compelling use case for this
On behalf of Twisted Matrix Laboratories, I am honored to announce the
release of Twisted 10.0.
Highlights include:
* Improved documentation, including "Twisted Web in 60 seconds"
* Faster Perspective Broker applications
* A new Windows installer that ships without zope.interface
* Twisted
On Wed, Mar 3, 2010 at 3:02 PM, Grant Edwards wrote:
> On 2010-03-03, mk wrote:
>
>>> That has always puzzled me to. ETX and EOT were well established, why
>>> no use one of them? I'd love to know what they were thinking.
>>
>> Probably nothing: what many people do with confronted with a problem.
Bruno Desthuilliers a écrit :
> mk a écrit :
(snip)
>> So sys.getsizeof returns some 200MB for this dictionary. But according
>> to top RSS of the python process is 300MB. ps auxw says the same thing
>> (more or less).
>>
>> Why the 50% overhead?
Oh, and yes - the interpreter itself, the builtins
mk a écrit :
>
> Obviously, don't try this on low-memory machine:
>
a={}
for i in range(1000):
Note that in Python 2, this will build a list of 1000 int objects.
You may want to use xrange instead...
> ... a[i]='spam'*10
> ...
import sys
sys.getsizeof(a)
> 201326
Jonathan Gardner wrote:
I see it as a sign of maturity with sufficiently scaled software that
they no longer use an SQL database to manage their data. At some point
in the project's lifetime, the data is understood well enough that the
general nature of the SQL database is unnecessary.
I am
On Mar 3, 2010, at 3:58 PM, mk wrote:
Philip Semanchuk wrote:
So there *may* be some evidence that joins are indeed bad in
practice. If someone has smth specific/interesting on the subject,
please post.
It's an unprovable assertion, or a meaningless one depending on how
one defines the te
On 2010-03-03, John Nagle wrote:
> Ben Finney wrote:
>> Olof Bjarnason writes:
>>> The "Where is CPAN for Python?" question keeps popping up, with
>>> answers ranging from "There is no CPAN for Python" and "We already
>>> have CPAN for Python" (confusing).
>>
>> Caused in no small measure by the
John Bokma writes:
> I want to remove something that I installed [with its Distutils build
> system] (because it's installation procedure seems to be broken;
> opensocial) I understand that this can't be blamed on pip, but it's
> odd that in this century it's still hard to install/uninstall modul
mk a écrit :
>
> does every builtin class have unique id?
Classes are objects. And every object *within a python process* has it's
own unique id. For a definition of "unique" being "unique amongst the
objects living in the process at a given time" - IOW, if an object is
garbage-collected, it's id
Terry Reedy writes:
> On 3/3/2010 12:05 PM, John Nagle wrote:
> > CPAN is a repository. PyPi is an collection of links.
>
> As Ben said, PyPI currently is also a respository and not just links
> to other repositories.
It's a repository with holes. Just because a package is registered is no
indic
Lie Ryan writes:
> There are lots of reason why bare-except is bad, one being is that it
> makes it way too easy to ignore errors that you don't actually want to
> silence; and given that bare-excepts would prevent Ctrl+C (Interrupt)
> from working. Sorry, but IMHO we shouldn't make syntax sugar
On Wed, Mar 3, 2010 at 12:54 PM, ccc31807 wrote:
>
> As with anything else, you need to match the tool to the job. Yes, I
> feel that relational database technology has been much used, and much
> abused. However, one of my favorite applications is Postgres, and I
> think it's absolutely unbeatable
On Wed, Mar 3, 2010 at 1:11 PM, mk wrote:
>
> Or I could make my life simpler and use global variable. :-)
>
Ding ding ding!
90% of Design Patterns is making Java suck less.
Other languages don't necessarily suffer from Java's design flaws.
--
Jonathan Gardner
jgard...@jonathangardner.net
--
On Wed, Mar 3, 2010 at 1:00 PM, Terry Reedy wrote:
>
> People who are familiar with and like CPAN are free to help improve PyPI.
> Those of us not familiar with it may not know what we are missing, or have
> little idea about what works with CPAN.
>
CPAN also covers up some deficiencies in Perl
On Wed, Mar 3, 2010 at 8:19 AM, John Filben wrote:
> I am new to Python but have used many other (mostly dead) languages in the
> past. I want to be able to process *.txt and *.csv files. I can now read
> that and then change them as needed – mostly just take a column and do some
> if-then to cr
Version 0.3.8 of the Python config module has been released.
What Does It Do?
The config module allows you to implement a hierarchical configuration
scheme with support for mappings and sequences, cross-references
between one part of the configuration and another, the ability to
f
On Wed, 03 Mar 2010 22:19:04 +0100 mk wrote:
> For the uncouth yobs, err, culturally-challenged:
>
> http://www.youtube.com/watch?v=Xe1a1wHxTyo
>
> (Four Yorkshiremen)
>
http://www.youtube.com/watch?v=-eDaSvRO9xA
That's the definitive version. I mean, if you're going to talk vintage,
talk vi
On Mar 3, 3:54 pm, ccc31807 wrote:
> On Mar 3, 12:36 pm, Xah Lee wrote:
>
> > recently i wrote a blog article on The NoSQL Movement
> > athttp://xahlee.org/comp/nosql.html
>
> > i'd like to post it somewhere public to solicit opinions, but in the
> > 20 min or so, i couldn't find a proper newsgro
MRAB wrote:
[snip]
Simpler would be:
lines = f.readlines()
lines.sort(key=lambda line: line[ : 3])
or even:
lines = sorted(f.readlines(), key=lambda line: line[ : 3]))
Sure, but a complete newbie (I have this impression about OP) doesn't
have to know about lambda.
I expected
John, there's an error in my program, I forgot that list.sort() method
doesn't return the list (it sorts in place). So it should look like:
#!/usr/bin/python
def sortit(fname):
fo = open(fname)
linedict = {}
for line in fo:
key = line[:3]
linedict[key] = line
sor
D'Arcy J.M. Cain wrote:
On Wed, 03 Mar 2010 18:34:51 +
MRAB wrote:
But I was still able to play Nim and Duck Shoot (after keying it in)!
Did you ever play Star Trek with sound effects? I was never able to
get it to work but supposedly if you put an AM radio tuned to a
specific frequency
--- On Wed, 3/3/10, David Robinow wrote:
> From: David Robinow
> Subject: Re: Docstrings considered too complicated
> To: python-list@python.org
> Date: Wednesday, March 3, 2010, 2:54 PM
> On Wed, Mar 3, 2010 at 1:01 PM, Ed
> Keith
> wrote:
> > --- On Wed, 3/3/10, D'Arcy J.M. Cain wrote:
> >
>
* Robert Kern:
On 2010-03-03 13:32 PM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 11:18 AM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 09:56 AM, Alf P. Steinbach wrote:
* Mike Kent:
What's the compelling use case for this vs. a simple try/finally?
if you thought about
On Wed, 03 Mar 2010 20:44:08 +0100
mk wrote:
> It reminds me of why Windows uses backslashes for path separation
> instead of slashes: what I've *heard*, and do not know if it's true,
> it's because Gates fancied using / for options switch instead of -, and
> to hell with established practice.
On Wed, 03 Mar 2010 18:34:51 +
MRAB wrote:
> But I was still able to play Nim and Duck Shoot (after keying it in)!
Did you ever play Star Trek with sound effects? I was never able to
get it to work but supposedly if you put an AM radio tuned to a
specific frequency near the side with the I/O
In article
<9b08574f-0410-45bc-89af-0d3cf7d21...@e7g2000yqf.googlegroups.com>,
Sky Larking wrote:
> Has anyone successfully installed Scrapy ( http://scrapy.org ) on a
> Mac OS X machine running 10.6.x? The Documentaion says
> Mac OS X ships an libxml2 version too old to be used by Scrapy...But
On Wed, 03 Mar 2010 20:39:35 +0100
mk wrote:
> > If you denormalise the table, and update the first index to be on
> > (client_id, project_id, date) it can end up running far more quickly -
Maybe. Don't start with denormalization. Write it properly and only
consider changing if profiling sugges
Steve Holden wrote:
Puts me in mind of Mario Wolczko's early attempts to implement SmallTalk
on a VAX 11/750. The only bitmapped display we had available was a Three
Rivers PERQ, connected by a 9600bps serial line. We left it running at
seven o'clock one evening, and by nine am the next day it h
On Mar 3, 2:33 pm, Robert Kern wrote:
> On 2010-03-03 11:39 AM, Wanderer wrote:
>
> > Pylint W0221 gives the warning
> > Argument number differs from overridden method.
>
> > Why is this a problem? I'm overriding the method to add additional
> > functionality.
>
> There are exceptions to every gui
On 3/3/2010 12:39 PM, Wanderer wrote:
Pylint W0221 gives the warning
Argument number differs from overridden method.
Why is this a problem?
It *could* indicate a mistake. Lint programs, by definition, are
nitpicky, and flag things that are possible problems even though
syntactically correct.
Arnaud Delobelle wrote:
mk writes:
[...]
hashable
..
All of Python’s immutable built-in objects are hashable, while no
mutable containers (such as lists or dictionaries) are.
Well ok, hashable they're not; but apparently at least dict and list
have id()?
lists and dicts are not hashable,
On 2010-03-03 13:32 PM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 11:18 AM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 09:56 AM, Alf P. Steinbach wrote:
* Mike Kent:
What's the compelling use case for this vs. a simple try/finally?
if you thought about it you would mea
On Wed, Mar 3, 2010 at 2:32 PM, Alf P. Steinbach wrote:
> I'm not sure what that shows, except that you haven't grokked this yet.
Maybe you could give us an example of how your code should be used,
and how it differs from the other examples people have given? And
maybe a quick example of why you
On 3/3/2010 12:05 PM, John Nagle wrote:
We have an equivalent in PyPI, though it's incomplete since many
*registered* packages are not actually hosted *at* PyPI.
CPAN is a repository. PyPi is an collection of links.
As Ben said, PyPI currently is also a respository and not just links to
oth
MRAB writes:
> mk wrote:
>> John Filben wrote:
>>> I am new to Python but have used many other (mostly dead) languages
>>> in the past. I want to be able to process *.txt and *.csv files.
>>> I can now read that and then change them as needed – mostly just
>>> take a column and do some if-then t
Philip Semanchuk wrote:
So there *may* be some evidence that joins are indeed bad in practice.
If someone has smth specific/interesting on the subject, please post.
It's an unprovable assertion, or a meaningless one depending on how one
defines the terms. You could also say "there *may* be som
On Mar 3, 12:36 pm, Xah Lee wrote:
> recently i wrote a blog article on The NoSQL Movement
> athttp://xahlee.org/comp/nosql.html
>
> i'd like to post it somewhere public to solicit opinions, but in the
> 20 min or so, i couldn't find a proper newsgroup, nor private list
> that my somewhat anti-NoS
On 3/3/2010 7:43 AM, Albert van der Horst wrote:
Right, isolation is essential. But I can't decide to which extent I
should propagate isolation.
For example, in "Python Testing: Beginner's Guide" by Daniel Arbuckle,
author suggests that if you do unittesting you should isolate the
smallest units
On 3/3/2010 6:47 AM, Oren Elrad wrote:
With that said, let me at least offer a token defense of my position.
By way of motivation, I wrote that email after copying/pasting the
following a few times around a project until I wrote it into def
SilentlyDelete() and its cousin SilentlyRmdir()
""" co
On Wed, Mar 3, 2010 at 12:06 PM, Sky Larking wrote:
> Has anyone successfully installed Scrapy ( http://scrapy.org ) on a
> Mac OS X machine running 10.6.x? The Documentaion says
> Mac OS X ships an libxml2 version too old to be used by Scrapy...But
> doesn't say which version of OS X.. I am wond
On 2010-03-03, mk wrote:
>> That has always puzzled me to. ETX and EOT were well established, why
>> no use one of them? I'd love to know what they were thinking.
>
> Probably nothing: what many people do with confronted with a problem.
>
> It reminds me of why Windows uses backslashes for path s
mk wrote:
John Filben wrote:
I am new to Python but have used many other (mostly dead) languages in
the past. I want to be able to process *.txt and *.csv files. I can
now read that and then change them as needed – mostly just take a
column and do some if-then to create a new variable. My p
On Wed, Mar 3, 2010 at 1:01 PM, Ed Keith wrote:
> --- On Wed, 3/3/10, D'Arcy J.M. Cain wrote:
>
>> They needed a way to tell where the end of the information
>> was. Why
>> they used ^Z (SUB - Substitute) instead of ^C (ETX - End of
>> TeXt) or
>> even ^D (EOT - End Of Transmission) is anyone's
On Mar 2, 2010, at 4:48 PM, I wrote:
Can someone tell me how to upload the contents of a (relatively
small) file using an HTML form and CGI in Python 3.1? As far as I
can tell from a half-day of experimenting, browsing, and searching
the Python issue tracker, this is broken.
followed by
John Bokma wrote:
I want to remove something that I installed that way (because it's
installation procedure seems to be broken; opensocial) I understand that
this can't be blamed on pip, but it's odd that in this century it's
still hard to install/uninstall modules :-(
Have you looked in a file
Ed Keith wrote:
--- On Wed, 3/3/10, D'Arcy J.M. Cain wrote:
They needed a way to tell where the end of the information
was. Why
they used ^Z (SUB - Substitute) instead of ^C (ETX - End of
TeXt) or
even ^D (EOT - End Of Transmission) is anyone's guess.
That has always puzzled me to. ETX and
mk writes:
[...]
> hashable
> ..
> All of Python’s immutable built-in objects are hashable, while no
> mutable containers (such as lists or dictionaries) are.
>
> Well ok, hashable they're not; but apparently at least dict and list
> have id()?
lists and dicts are not hashable, but their type
Hello Tim,
Pardon the questions but I haven't had the need to use denormalization
yet, so:
Tim Wintle wrote:
/* Table A*/
CREATE TABLE TableA (
project_id BIGINT NOT NULL,
cost INT,
date DATETIME,
PRIMARY KEY (project_id, date)
);
/* Table projects */
CREATE TABLE proj
mk wrote:
> D'Arcy J.M. Cain wrote:
>
>> Makes me want to go down to the basement and fire up the Altair. :-)
>
> Please don't, or else I fire up that univ Yugoslavian copy of VAX with
> Pascal compiler (where I wrote my first program) and I will start my
> first program of ping-pong.
>
> It wa
BlueBird, 03.03.2010 17:32:
I am looking for a SOAP 1.2 python client. To my surprise, it seems
that this does not exist. Does anybody know about this ?
SOAP may be an overly bloated protocol, but it's certainly not black magic.
It's not hard to do manually if you really need to:
http://effb
Hello World !
Welcome to the world of Active API ;]
Google released their new Wave API so i quickly ported GZRBOT to the
new API. Now we can finally push to waves instead of using polling.
This makes pushing feeds to waves possible, and this is one of the
main things GZRBOT can do. We now use pub
* Robert Kern:
On 2010-03-03 11:18 AM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 09:56 AM, Alf P. Steinbach wrote:
* Mike Kent:
What's the compelling use case for this vs. a simple try/finally?
if you thought about it you would mean a simple "try/else".
"finally" is
always exec
On 2010-03-03 11:39 AM, Wanderer wrote:
Pylint W0221 gives the warning
Argument number differs from overridden method.
Why is this a problem? I'm overriding the method to add additional
functionality.
There are exceptions to every guideline. Doing this could easily be a mistake,
so it's one o
Steve Howell wrote:
Somewhere in the 2020s, though, I predict that a lot of technologies
are either going to finally die off, or at least be restricted to the
niches that they serve well. Take Java, for example. I think it will
be still be used, and people will still even be writing new program
On Mar 3, 2010, at 11:26 AM, mk wrote:
D'Arcy J.M. Cain wrote:
I keep seeing this statement but nothing to back it up. I have
created
many apps that run on Python with a PostgreSQL database with a fully
normalized schema and I can assure you that database joins were never
my problem unless
Xah Lee wrote:
recently i wrote a blog article on The NoSQL Movement
at http://xahlee.org/comp/nosql.html
i'd like to post it somewhere public to solicit opinions, but in the
20 min or so, i couldn't find a proper newsgroup, nor private list
that my somewhat anti-NoSQL Movement article is fittin
Hello,
So I set out to write generic singleton, i.e. the one that would do a
singleton with attributes of specified class. At first:
class Singleton(object):
instance = None
def __new__(cls, impclass, *args, **kwargs):
if cls.instance is None:
cls.instance = impcl
* Alf P. Steinbach:
In case Someone Else(TM) may need this.
This code is just how it currently looks, what I needed for my code, so
it's not a full-fledged or even tested class.
But it works.
That code evolved a little to cover more Tk listbox quirks (thanks to Ratingrick
for the "actives
On 2010-03-03 11:18 AM, Alf P. Steinbach wrote:
* Robert Kern:
On 2010-03-03 09:56 AM, Alf P. Steinbach wrote:
* Mike Kent:
What's the compelling use case for this vs. a simple try/finally?
if you thought about it you would mean a simple "try/else". "finally" is
always executed. which is inc
Obviously, don't try this on low-memory machine:
>>> a={}
>>> for i in range(1000):
... a[i]='spam'*10
...
>>> import sys
>>> sys.getsizeof(a)
201326728
>>> id(a[1])
3085643936L
>>> id(a[100])
3085713568L
>>> ids={}
>>> for i in range(len(a)):
... ids[id(a[i])]=True
...
>>> len(ids.
D'Arcy J.M. Cain wrote:
On Wed, 03 Mar 2010 14:42:00 +
MRAB wrote:
Gregory Ewing wrote:
Mk14 from Science of Cambridge, a kit with hex keypad and 7-segment
display, which I had to solder together, and also make my own power
supply. I had the extra RAM and the I/O chip, so that's 256B (inclu
"Ed Keith" wrote in message
news:mailman.215.1267639293.23598.python-l...@python.org...
> That has always puzzled me to. ETX and EOT were well established,
> why no use one of them? I'd love to know what they were thinking.
It goes back to ancient PDP operating systems, so may well
predate Un
Zhu Sha Zang wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Someone using Eric4 to program with Python3/3.1?
>
> What can i do, because he insist to use only Python2.6.4.
You can tell it the file extension to use for Python3 files or better yet
use eric5, which is the Python3 por
John Filben wrote:
I am new to Python but have used many other (mostly dead) languages in
the past. I want to be able to process *.txt and *.csv files. I can
now read that and then change them as needed – mostly just take a column
and do some if-then to create a new variable. My problem is s
D'Arcy J.M. Cain wrote:
On Wed, 3 Mar 2010 15:05:54 + (UTC)
Grant Edwards wrote:
It was actually an improvement over CP/M's file
system. CP/M didn't have hierarchical directories
Neither did the original MS-DOS filesystem.
I think that it always had a hierarchical file system although I
mk wrote:
> D'Arcy J.M. Cain wrote:
>> I keep seeing this statement but nothing to back it up. I have created
>> many apps that run on Python with a PostgreSQL database with a fully
>> normalized schema and I can assure you that database joins were never
>> my problem unless I made a badly constru
John Gabriele writes:
> On Mar 2, 11:58 pm, John Bokma wrote:
>> Lie Ryan writes:
>> > On 03/03/2010 09:47 AM, TomF wrote:
>>
>> [..]
>>
>> >> There
>> >> is also a program called cpan, distributed with Perl. It is used for
>> >> searching, downloading, installing and testing modules from the
--- On Wed, 3/3/10, D'Arcy J.M. Cain wrote:
> They needed a way to tell where the end of the information
> was. Why
> they used ^Z (SUB - Substitute) instead of ^C (ETX - End of
> TeXt) or
> even ^D (EOT - End Of Transmission) is anyone's guess.
That has always puzzled me to. ETX and EOT were w
D'Arcy J.M. Cain wrote:
Makes me want to go down to the basement and fire up the Altair. :-)
Please don't, or else I fire up that univ Yugoslavian copy of VAX with
Pascal compiler (where I wrote my first program) and I will start my
first program of ping-pong.
It was a few hundred lines b
1 - 100 of 202 matches
Mail list logo