SpamMePlease PleasePlease writes:
> On Fri, Mar 6, 2009 at 2:14 PM, Shantanu Joshi wrote:
>>
>> SpamMePlease PleasePlease writes:
>>
> .. snip
>
> The thing is that I have copied the file (as you may see, I did 'ls
> -lA' on it. If the file wasnt there, the error message was different.
> Also,
Graham Dumpleton wrote:
> I'd rather not have to download and install them as I don't want to be
> installing them into my actual system, so can someone please tell me
> whether the MacOS X dmg installers provided from www.python.org are
> still not full universal builds. That is, that the Python f
On Sun, Mar 8, 2009 at 11:53 PM, koranthala wrote:
> Hi,
> I want to implement chain of responsibility pattern in Python (for
> a Django project)
> The problem that I see is a rather odd one - how to link the
> subclasses with the super class.
Grabbing out my copy of Head First Design Patte
Hi Terry,
Well, You did reply i know, but seems i lost that mail some where,
My mail client must have messed up the mail.
any ways thanks for your reply,
Right now I am stuck very badly.
The problem is that I am trying python-ooolib and did find the library
pritty good.
But the problem is that l
On Mon, Mar 9, 2009 at 12:48 AM, Grant Edwards wrote:
> I didn't say that he hadn't authorized that assumption. I just
> said that the code does rely on such an assumption. In my
> experience, assumptions like that result broken code down the
> road.
And assumptions like "when assumptions fail
On Mar 7, 7:58 pm, bearophileh...@lycos.com wrote:
> Raymond Hettinger, maybe it can be useful to add an optional argument
> flag to tell such split_on to keep the separators or not? This is the
> xsplit I usually use:
In your experiences with xsplit(), do most use cases involve removing
the separ
Lie Ryan wrote:
> Fencer wrote:
>> Hi, I need a boolean b to be true if the variable n is not None and
>> not an empty list, otherwise b should be false.
>> I ended up with:
>> b = n is not None and not not n
>> which seems to work but is that normally how you would do it?
>> It can be assumed that
On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote:
> You didn't answer my question why entry is necessary at all. The
> original author thought it was necessary to return entry. I'll give you
> a peek at a segment of the code I'm working with here:
>
> class Enter_Data_Dialog(tkSimpleDialog.Di
On Mar 9, 4:18 am, David Bolen wrote:
> iu2 writes:
>
> Then even a time.sleep() or plain loop isn't sufficient since each may
> have additional latencies depending on load. You will probably need
> to query a system clock of some type to verify when your interval has
> passed.
>
> You might al
Hello,
This is an idea about something I'd like to see implemented in
python.
I understand that's the purpose of PEPs, so I'll write it as a PEP,
but
send it here to receive your valuable feedback.
Abstract
This is a proposal to increase the richness of for loops, only to the
extent that it e
On Mon, 9 Mar 2009 03:19:19 + (UTC), Steve Sobol wrote:
> On 2009-03-09, Kenneth Tilton wrote:
>
>> Buddha taught that the universe is ineluctably a single interconnected
>> web of cause and effect, which is my haughty preamble to this
>> observation: it depends on the newsgroup.
>>
>> com
On Mon, Mar 9, 2009 at 2:15 AM, pang wrote:
> Hello,
> This is an idea about something I'd like to see implemented in
> python.
> I understand that's the purpose of PEPs, so I'll write it as a PEP,
> but
> send it here to receive your valuable feedback.
>
> Abstract
>
> This is a proposal to inc
hi ,
I am writing a scriot which will move old files from one directory to backup
The files are in mode *20090307* mean *mmmdd* to new files.
The script is below is like this
*import os
import datetime
import time
from datetime import date
today=date.today()*
*for x in range(5,10):
interva
On Mon, Mar 9, 2009 at 10:57 AM, lameck kassana wrote:
> hi ,
> I am writing a scriot which will move old files from one directory to backup
> The files are in mode *20090307* mean *mmmdd* to new files.
> The script is below is like this
>
> import os
> import datetime
> import time
> from dat
On Sun, 08 Mar 2009 04:09:52 +, Dirk Bruere at NeoPax wrote:
> Dirk Bruere at NeoPax wrote:
>> Well, don't worry - nobody is going to ban you from Usenet (except
>> possibly the Chinese govt).
>> OTOH, nobody here much cares.
>> So, rant on - it's what Usenet is for. ☄ <--- what is that char
On Mon, Mar 9, 2009 at 4:12 AM, Larry Gates wrote:
> On Sun, 08 Mar 2009 04:09:52 +, Dirk Bruere at NeoPax wrote:
>
>> Dirk Bruere at NeoPax wrote:
>
>>> Well, don't worry - nobody is going to ban you from Usenet (except
>>> possibly the Chinese govt).
>>> OTOH, nobody here much cares.
>>> So,
Hi
I hope I won't sound trivial with asking my question.
I am a C++ programmer and I am thinking of learning something else
because I know second language might be very helpful somehow. I have
heard a few positive things about Python but I have never writen any
single line in python so I do n
Hello,
This is an idea about something I'd like to see
implemented in python. I understand that's the purpose of
PEPs, so I'll write it as a PEP, but send it here to receive
your valuable feedback.
Abstract
This is a proposal to increase the richness of for loops,
only to the extent that it
ZikO, if you know C++, then knowing one scripting language is useful,
it can be Ruby, Python (or even Lua, etc).
Note that learning a language isn't a binary thing, so I suggest you
to use a week to learn Python and use it try to solve some of your
practical problems. After a week you will be able
On Mar 9, 12:16 pm, Chris Rebert wrote:
> On Sun, Mar 8, 2009 at 11:53 PM, koranthala wrote:
> > Hi,
> > I want to implement chain of responsibility pattern in Python (for
> > a Django project)
> > The problem that I see is a rather odd one - how to link the
> > subclasses with the super cl
On Mon, Mar 9, 2009 at 3:43 AM, ZikO wrote:
> Hi
>
> I hope I won't sound trivial with asking my question.
>
> I am a C++ programmer and I am thinking of learning something else because I
> know second language might be very helpful somehow. I have heard a few
> positive things about Python but I
Larry Gates wrote:
On Sun, 08 Mar 2009 04:09:52 +, Dirk Bruere at NeoPax wrote:
Dirk Bruere at NeoPax wrote:
Well, don't worry - nobody is going to ban you from Usenet (except
possibly the Chinese govt).
OTOH, nobody here much cares.
So, rant on - it's what Usenet is for. ☄ <--- what i
ZikO wrote:
Hi
I hope I won't sound trivial with asking my question.
I am a C++ programmer and I am thinking of learning something else
because I know second language might be very helpful somehow. I have
heard a few positive things about Python but I have never writen any
single line in pyt
On Mon, Mar 9, 2009 at 3:54 AM, koranthala wrote:
> On Mar 9, 12:16 pm, Chris Rebert wrote:
>> On Sun, Mar 8, 2009 at 11:53 PM, koranthala wrote:
>> > Hi,
>> > I want to implement chain of responsibility pattern in Python (for
>> > a Django project)
>> > The problem that I see is a rather
Marc 'BlackJack' Rintsch wrote:
On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote:
You didn't answer my question why entry is necessary at all. The
original author thought it was necessary to return entry. I'll give you
a peek at a segment of the code I'm working with here:
class Enter_Data
On Mon, 2009-03-09 at 11:19 +, Lie Ryan wrote:
> Certainly. A programmer that only knows one language would be too
> limited. Try as many programming language as you can, and especially
> look for programming languages that have "obscenely different" paradigm
> than the language you already
On Mar 9, 6:14 pm, "Martin v. Löwis" wrote:
> Graham Dumpleton wrote:
> > I'd rather not have to download and install them as I don't want to be
> > installing them into my actual system, so can someone please tell me
> > whether the MacOS X dmg installers provided fromwww.python.orgare
> > still
In article , ze...@op.pl says...
>
> Hi
>
> I hope I won't sound trivial with asking my question.
>
> I am a C++ programmer and I am thinking of learning something else
> because I know second language might be very helpful somehow. I have
> heard a few positive things about Python but I have
ZikO a écrit :
Hi
I hope I won't sound trivial with asking my question.
I am a C++ programmer and I am thinking of learning something else
because I know second language might be very helpful somehow.
Indeed. FWIW, I use about four programming languages on a daily basis -
plus "non-programm
ZikO wrote:
> I am a C++ programmer and I am thinking of learning something else
> because I know second language might be very helpful somehow. I have
> heard a few positive things about Python but I have never writen any
> single line in python so I do not know this language at all.
>
>
Raymond Hettinger:
>In your experiences with xsplit(), do most use cases involve removing the
>separators?<
Unfortunately I am not able to tell you how often I remove them. But
regarding strings, I usually want to remove separators:
>>> "aXcdXfg".split("X")
['a', 'cd', 'fg']
So sometimes I wan
On Mar 9, 12:47 pm, Tim Wintle wrote:
> My slight issue with this list that I think things are in too many
> places. E.g. although you can do functional programming in Python (and
> many do), I think it's worth trying to learn a language like lisp just
> for the sake of forcing yourself to fully
Michele Simionato wrote:
On Mar 9, 12:47 pm, Tim Wintle wrote:
My slight issue with this list that I think things are in too many
places.
Yeah, that issue did pass through my head when I posted it, but I was
too lazy to do proper listing of various language from various
paradigms. I thoug
On 2009-03-09, ZikO wrote:
> Do you think python would be good complementary language for
> C++?
Yes.
> Do you think it's worth learning it or let's say try Java?
Either would be good, Python is probably both easier to learn
and a lot easier to use (at least on Unix).
> and how difficult it w
On 2009-03-09, Andre Engels wrote:
> On Mon, Mar 9, 2009 at 12:48 AM, Grant Edwards wrote:
>
>> I didn't say that he hadn't authorized that assumption. ??I
>> just said that the code does rely on such an assumption. ??In
>> my experience, assumptions like that result broken code down
>> the road.
> De: Atrant SG
> Para: gagsl-...@yahoo.com.ar
> Enviado: domingo 8 de marzo de 2009, 12:23:06
> Asunto: pydeflate
> I've read the topic here
> http://www.gossamer-threads.com/lists/python/python/678374 and I'd like to
> download pydeflate module, but its official site seems not to be hosted. D
On Mar 7, 11:39 pm, Steven D'Aprano wrote:
> Aaron Brady wrote:
> > Hi. Just bringing it up again. I feel the docs should mention it at
> > least, and there should possibly be a separate function.
>
> Post a bug report or feature request on the tracker, or nothing will happen.
>
> If you include
Grant Edwards a écrit :
(snip)
Knowing C++ does tend to be a bit of a handicap, but I think
any competent programmer could learn Python.
+2 QOTW !-)
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am writing python binding for some c library. It is really a super
boring job. Copy... paste... modify.. copy paste...modify I am
wondering, I am a programmer, why I can't do this job like a
programmer? So I think the best way to write binding for those c
libraries, is to write a parser
for x in range(10) for y in range(10) if x+y==5:
print x,y
> What is that supposed to mean? Nested looping? Why is that (confusing
> thing) better than:
>
> from itertools import product
>
> for x, y in product(range(10), range(10)) if x + y == 5:
> print x, y
>
That confusing
On Mar 8, 5:45 pm, "andrew cooke" wrote:
> Aaron Brady wrote:
> > Hello,
>
> > I am creating a container. I have some types which are built to be
> > members of the container. The members need to know which container
> > they are in, as they call methods on it, such as finding other
> > members.
Hello,
I need an MT940 file parses. It can be either a pure python library or
a binding/wrapper, no matter. Almost all european banks provide
transactions extract in MT940 format. There are parsers around, but
none of them are for python. Any help is greatly appreciated.
Thanks,
Saki
--
http://m
Hi,
Is there a way to use the reload() func or something else, to refresh
all of the modules you have imported?
I don't care whether the module that will run this code will be reloaded
or not, so whichever is the easiest...
Thanks, Noam
--
http://mail.python.org/mailman/listinfo/python-list
ZikO wrote:
Do you think python would be good complementary language for C++? Do you
think it's worth learning it
Absolutely, but it tends to become the first language over time.
Don't underestimate its reach. I've re-learned Python 3 or 4 times
already, over 11 years :-/
--
http://mail.py
Johannes Permoser wrote:
>
>But what's the way to bring python3 to the Web?
>mod_python isn't available, cgi is said to be slow, mod_wsgi looks
>complicated...
Ordinary CGI has, in my opinion, an undeserved bad rap. If you're going to
be making a web site that has to handle 100 hits a second, th
"Xah Lee" wrote in message
news:a3ee929d-0b9b-4bbf-9cf3-5dcc6ddbc...@d19g2000yqb.googlegroups.com...
[ SNIP ]
This page is a short collection of online communities that banned me,
in a way that i don't consider just. It illustrates the political
nature among the tech geeking males.
[ SNIP ]
I managed to align the text to the right but when I change it with a
function it gets messy
What is wrong now?
class OpcijeFolija(wx.Dialog):
def __init__(self, parent, id, title):
wx.Dialog.__init__(self,parent, id, title, size=(300,300))
foli=cPickle.load(file("folije.d
Roedy Green wrote:
On Sat, 7 Mar 2009 14:52:02 -0800 (PST), Xah Lee
wrote, quoted or indirectly quoted someone who said :
I consider this post relevant because i've been perennially gossiped
about in comp.lang.* groups today and in the past 5 or 10 years, many
of the threads mentioning my name
Tim Chase wrote:
> If the constants don't actually share any conceptual commonality,
> then SteveH is right, that they really should just be globals.
Surely that's backwards? If the constants don't share any conceptual
commonality, they should be kept independent in the functions and not made
glo
Haines Brown wrote:
> If we have studied a field obsessively for some
> years, it is natural that we end in a position where our knowledge will
> generally be superior. But this does not make us superior.
What does make us superior? Are you so dishonest or insane as
to assert that everyone is eq
"Emanuele D'Arrigo" writes:
> I just find it peculiar more than a nuisance, but I'll go to the
> blackboard and write 100 times "never compare the identities of two
> immutables". Thank you all!
That's the wrong lesson to learn from this.
The right lesson to learn is, “Equality comparison is no
A glance at Ban Xah Lee's web page reveals that he is what is called an
autodidact - someone who is self-taught. While this is an admirable
achievement, it carries with it certain dangers.
One is that it gives the illusion that learning is not a social
activity, but an individual one. This is not
Hi All,
We have initiated a project named ContactGrabber to grab the contact
emails from gmail, yahoo, rediff etc. The project is hosted at
http://code.google.com/p/pycontactgrabber/ and is also available at
cheeseshop. It is now working fine for 'gmail', 'yahoo' and 'rediff'.
We need it for a we
On 2009-03-09, Kenneth Tilton wrote:
> Buddha taught that the universe is ineluctably a single interconnected
> web of cause and effect, which is my haughty preamble to this
> observation: it depends on the newsgroup.
>
> comp.lang.lisp is cool so here Xah participates as a normal contributor.
>>> 4 / 5.0
0.84
>>> 0.8 * 5
4.0
python 2.6.1 on mac. What the hell is going on here?
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 9, 6:40 pm, Krishnakant wrote:
> Hi Terry,
>
> Well, You did reply i know, but seems i lost that mail some where,
> My mail client must have messed up the mail.
It sure messed up when it hijacked two existing threads when sending
messages, so I'm not surprised if it's filing incoming mail
Vinay,
I did as you suggested and everything seemed to work; client programs
were able to reconnect to the servers and log messages started showing
up soon after the logging server was running again. I did this with my
Twisted client/server setup and it showed the same behavior; clients
reconnecte
Victor Lin wrote:
> Hi,
>
> I am writing python binding for some c library. It is really a super
> boring job. Copy... paste... modify.. copy paste...modify I am
> wondering, I am a programmer, why I can't do this job like a
> programmer? So I think the best way to write binding for those c
>
On Mar 4, 7:23 pm, Jason Scheirer wrote:
> Do you have a reason for needing the same thing implemented in Python,
> or are the options in Ruby enough?
I'd rather have things in Python so I don't have to worry about having
Ruby available on the host machines we're using.
I'll take a look at those
On Mar 9, 2:10 pm, writeson wrote:
> My manager is suggesting that the underlying problem is using TCP
> rather than UDP (SocketHandler vs DatagramHandler) forloggingfrom
> clients to theloggingserver. His assertion is that using TCP would
> guarantee the loss of 2 messages at theloggingserver fro
On Mar 9, 5:30 am, Nick Craig-Wood wrote:
> ZikO wrote:
> > I am a C++ programmer and I am thinking of learning something else
> > because I know second language might be very helpful somehow. I have
> > heard a few positive things about Python but I have never writen any
> > single line in p
Carl Banks wrote:
>When building a very large structure like you're doing, the cyclic
>garbage collector can be a bottleneck. Try disabling the cyclic
>garbage collector before building the large dictionary, and re-
>enabling it afterwards.
>
>import gc
>gc.disable()
>try:
>for line in file:
This script had been running flawlessly for years but it does not
like 2.5:
mis /u/transfer/bin # ./printchecks AP void
Traceback (most recent call last):
File "./printchecks", line 5, in
import os, sys, string, tempfile, re
File "/opt/csw/lib/python2.5/tempfile.py", line 33, in
fro
On Mar 2, 10:33 am, Aaron Brady wrote:
> The code for PyObject_RichCompare does not contain this, it doesn't
> seem. Is it a bug?
It's not a bug. See revision 67204:
http://svn.python.org/view?view=rev&revision=67204
Mark
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 9, 10:11 am, Mark Dickinson wrote:
> On Mar 2, 10:33 am, Aaron Brady wrote:
>
> > The code for PyObject_RichCompare does not contain this, it doesn't
> > seem. Is it a bug?
>
> It's not a bug. See revision 67204:
>
> http://svn.python.org/view?view=rev&revision=67204
>
> Mark
My complai
On Mar 7, 8:47 pm, Raymond Hettinger wrote:
> The existing groupby() itertool works great when every element in a
> group has the same key, but it is not so handy when groups are
> determined by boundary conditions.
>
> For edge-triggered events, we need to convert a boundary-event
> predicate to
Steven D'Aprano wrote:
Tim Chase wrote:
If the constants don't actually share any conceptual commonality,
then SteveH is right, that they really should just be globals.
Surely that's backwards? If the constants don't share any conceptual
commonality, they should be kept independent in the func
Is there a concise Pythonic way to write a method with a timeout?
I did this:
class Eg(object):
def get_value(self, timeout):
from threading import Timer
self.flag = True
def flag_off():
self.flag = False
timer = Timer(timeout, flag_off)
I can wait for a month. I can also provide test data, but I am not sure if
their sizes are big enough for you. If you mention your expectation for test
data sizes, I will try to find them.
Saki
On Mon, Mar 9, 2009 at 5:06 PM, andrew cooke wrote:
> Saki wrote:
> > Hello,
> >
> > I need an MT940
Diez B. Roggisch wrote:
> Victor Lin wrote:
> > I am writing python binding for some c library. It is really a super
> > boring job. Copy... paste... modify.. copy paste...modify I am
> > wondering, I am a programmer, why I can't do this job like a
> > programmer? So I think the best way to w
En Mon, 09 Mar 2009 07:15:30 -0200, pang escribió:
This is an idea about something I'd like to see implemented in
python.
The python-ideas list exists to discuss this sort of things.
The syntax of a for loop is restricted to the following:
for element in list:
instructions
No
On Mon, 09 Mar 2009 04:22:57 -0700, W. eWatson wrote:
> Marc 'BlackJack' Rintsch wrote:
>> On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote:
>>
>>> You didn't answer my question why entry is necessary at all. The
>>> original author thought it was necessary to return entry. I'll give
>>> you
Hi,
Is there some method provided in python standard library to sanitize
strings used as input to xml documents? (=remove form-feeds and whatever
else). I've searched docs and google, found only 4Suite project. I
cannot rely on something not in standard lib, so I'm wondering if I've
just overlooke
On Mar 9, 3:22 pm, Aaron Brady wrote:
> My complaint was that the docs for the function, as well as its name,
> are misleading. RichCompareBool should not take the short cut, and "x
> in [x]" should call something else that does. (I am not arguing
> against the decided behavior of "x in [x]", bt
On Mar 8, 5:32 am, Lie Ryan wrote:
> Mel wrote:
> > wrote:
>
> >> Steven D'Aprano writes:
> >>> It is never
> >>> correct to avoid using "is" when you need to compare for identity.
> >> When is it ever necessary to compare for identity?
>
> > Ho-hum. MUDD game.
>
> > def broadcast (sender, mess
En Mon, 09 Mar 2009 13:32:48 -0200, Petr Muller escribió:
Is there some method provided in python standard library to sanitize
strings used as input to xml documents? (=remove form-feeds and whatever
else). I've searched docs and google, found only 4Suite project. I
cannot rely on something not
On Mar 9, 10:42 am, Mark Dickinson wrote:
> On Mar 9, 3:22 pm, Aaron Brady wrote:
>
> > My complaint was that the docs for the function, as well as its name,
> > are misleading. RichCompareBool should not take the short cut, and "x
> > in [x]" should call something else that does. (I am not arg
Hi
I want to map 64 bit integers from C to python. I must use Python 2.2
BUT There is no support for 64 bits integers in Python2.2 (Supported
in 2.5).
Now the problem is that I have these four variables:
unit32_t a,b,c;
uint64_t w,x,y,z;
I use this funtion to map values:
Py_BuildValue( "(l
John O'Hagan wrote:
Is there a concise Pythonic way to write a method with a timeout?
No need for threading. Just define a signal handler and call signal.alarm().
See the example at the end of the page:
http://docs.python.org/library/signal.html
--
http://mail.python.org/mailman/listinfo/pyt
I've made an importer (experimental status) to load python modules
from archives, especially from AES encrypted ones.
( http://sourceforge.net/projects/py-archimporter )
I've followed the PEP 302 recipe (http://www.python.org/dev/peps/
pep-0302/).
The loader does set each modules __file__ attribut
"jonsoons" wrote in message
news:3102ef22-b5e6-466d-a3f3-8648ccb5a...@p11g2000yqe.googlegroups.com...
>from binascii import hexlify as _hexlify
> ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/
> lib/libpython2.5.so.1.0: symbol libintl_gettext: referenced symbol not
>
2009/3/9 ZikO :
> Do you think python would be good complementary language for C++? Do you
> think it's worth learning it or let's say try Java? and how difficult it
> would be for me if I know C++ pretty well I would say?
We're not exactly impartial advisors in here ;-)
I reckon Python and C++
a month is more than enough - i would expect to have something in a week.
if possible, a data size of 1GB or more would be useful, but otherwise the
largest file you have.
i will use http://srd.tcg-net.com/Documentation/MT940/MT9402GB.htm as an
initial guide.
please remember that this is a "bes
one other thing - LEPL *only* works with Python 2.6 and 3.0. it WILL NOT
work with Python 2.5. if this is an issue then it is not a suitable
solution (it is not possible to back-port the library).
andrew
andrew cooke wrote:
>
> a month is more than enough - i would expect to have something i
On Mon, Mar 9, 2009 at 11:33 PM, grocery_stocker wrote:
> On Mar 9, 5:30 am, Nick Craig-Wood wrote:
>> Go here
>>
>> http://www.diveintopython.org/
>>
>> Download the PDF or buy the book.
>>
>
> What about the stuff on docs.python.org? Isn't that information just
> as reliable?
They do not serv
>>> j = .8
>>> j
0.80004
Python follows the IEEE-754 standard, which doesn't represent the numbers
exactly. See http://en.wikipedia.org/wiki/IEEE_754
Mohammad Tayseer
http://spellcoder.com/blogs/tayseer
From: "farsi...@gmail.com"
Sent: Sunday, M
http://code.google.com/p/econpy/source/browse/trunk/utilities/text.py
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 9, 12:00 pm, "Richard Brodie" wrote:
> "jonsoons" wrote in message
>
> news:3102ef22-b5e6-466d-a3f3-8648ccb5a...@p11g2000yqe.googlegroups.com...
>
> > from binascii import hexlify as _hexlify
> > ImportError: ld.so.1: python: fatal:relocationerror:file/opt/csw/
> > lib/libpython2.5.so.1
Hans Larsen schrieb:
How could I "take" an elemment from a set or a frozenset
On 3/8/2009 2:06 PM Diez B. Roggisch apparently wrote:
You iterate over them. If you only want one value, use
iter(the_set).next()
I recall a claim that
for result in myset: break
is the mos
Explore_Imagination wrote:
Hi
I want to map 64 bit integers from C to python. I must use Python 2.2
BUT There is no support for 64 bits integers in Python2.2 (Supported
in 2.5).
Now the problem is that I have these four variables:
unit32_t a,b,c;
uint64_t w,x,y,z;
I use this funtion to map va
On 2009-03-08 12:39, Mark Dickinson wrote:
On Mar 7, 2:14 pm, Christian Heimes wrote:
Steven D'Aprano wrote:
Yes. Floating point NANs are required to compare unequal to all floats,
including themselves. It's part of the IEEE standard.
As far as I remember that's not correct. It's just the way
Tarek Ziadé wrote:
The Python Langage Summit is coming up. To prepare this event, I have
put online a survey you can take to tell us a bit more about you and
how you package your Python applications.
* Who should take the survey : any Python developer that packages
and distributes his code,
Hi,
> > Is there some method provided in python standard library to sanitize
> > strings used as input to xml documents? (=remove form-feeds and whatever
> > else). I've searched docs and google, found only 4Suite project. I
> > cannot rely on something not in standard lib, so I'm wondering if I'v
Alan G Isaac wrote:
>> Hans Larsen schrieb:
>>> How could I "take" an elemment from a set or a frozenset
>
>
> On 3/8/2009 2:06 PM Diez B. Roggisch apparently wrote:
>> You iterate over them. If you only want one value, use
>> iter(the_set).next()
>
>
> I recall a claim that
>
>
> Message: 1
> Date: Sun, 08 Mar 2009 18:47:09 +
> From: Tim Golden
> Subject: Re: Sharing objects between processes
> Cc: python-list@python.org
> Message-ID: <49b412ad.1030...@timgolden.me.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> ET wrote:
> > Using the 'with' k
> Message: 2
> Date: Sun, 8 Mar 2009 12:00:40 -0700 (PDT)
> From: Aaron Brady
> Subject: Re: Sharing objects between processes
> To: python-list@python.org
> Message-ID:
> <5514c3df-d74e-47d8-93fc-34dd5119e...@c11g2000yqj.googlegroups.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
Hello,
is there a scipt or any other possibility to create a list of all
undocumente functions (without docstrings) within a package or at least
module?
Thanks for your help in advance.
Regards,
Timmie
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 9, 12:47 pm, ET wrote:
> > Message: 2
> > Date: Sun, 8 Mar 2009 12:00:40 -0700 (PDT)
> > From: Aaron Brady
> > Subject: Re: Sharing objects between processes
> > To: python-l...@python.org
> > Message-ID:
> > <5514c3df-d74e-47d8-93fc-34dd5119e...@c11g2000yqj.googlegroups.com>
> > Conten
Larry Gates wrote:
On Sun, 08 Mar 2009 04:09:52 +, Dirk Bruere at NeoPax wrote:
Dirk Bruere at NeoPax wrote:
Well, don't worry - nobody is going to ban you from Usenet (except
possibly the Chinese govt).
OTOH, nobody here much cares.
So, rant on - it's what Usenet is for. ☄ <--- what is
Hello everyone,
I would like to be able to eject a usb drive based on drive letter. I've
done a bit of googling and came across the CM_Request_Device_Eject
function on MSDN (http://msdn.microsoft.com/en-us/library/ms790831.aspx)
However, I am not quite sure how to supply the necessary param
1 - 100 of 191 matches
Mail list logo