W. eWatson wrote:
> I created a folder, and wrote a file to it. When I look at what files
> are in it, they are correct. However, The Size, Type, and Date Mod are
> not shown. Why am I missing those columns? I'm writing files with a
> suffix of dat, which seem only to match up with video CD movie.
On Mon, Dec 7, 2009 at 11:28 PM, geremy condra wrote:
> On Mon, Dec 7, 2009 at 6:28 PM, M.-A. Lemburg wrote:
>> geremy condra wrote:
>>> On Mon, Dec 7, 2009 at 2:51 PM, M.-A. Lemburg wrote:
geremy condra wrote:
> How interested are you in a C port of graphine? I haven't had
> any sp
On Dec 8, 6:56 pm, Dennis Lee Bieber wrote:
> On Tue, 8 Dec 2009 08:26:58 +0530, 74yrs old
> declaimed the following in gmane.comp.python.general:
>
> > For Kannada project .txt(not .doc) is used, my requirement is to have one
> > space between two characters in Notepad file. In MSword there is
Hi all,
I am creating some xml output using minidom and saving it to a file using
doc.writexml()
The output however is as follows:
bill catman
Is there a way to save xml output in a file such as xml is formatted the
right way? I mean with the right indentation and the elements valu
Dr. Phillip M. Feldman a écrit :
Bruno- You've made some excellent suggestions, and I'm always grateful for
the opportunity to learn.
Glad to know I've been of any help !-)
My revised code appears below. Philllip
def strip_pairs(s, open='([{\'"', close=')]}\'"'):
"""
OVERVIEW
Thi
Holden Web is pleased to announce three upcoming classes in New York
city the week of January 18.
Jan 18-20Introduction to Python (3 days) - Steve Holden
http://holdenweb.com/py/introclass/
Jan 21 .NET: IronPython from the Ground Up (1 day) - Michael Foord
http://holdenweb.com/py/ironpython/
Hi,
wadi wadi wrote:
> I am creating some xml output using minidom and saving it to a file
> using doc.writexml()
Could you please add some code of *how* you add the content "bill
catman" to the "Author" element? It seems as if whitespace is an issue
here.
Lutz
--
http://mail.python.org/mailma
J Kenneth King writes:
> [...] (though it sounds like cherrypy would be very good at separating
> dispatching from application code).
True. In CherryPy, each page is represented by one method (the 'default'
method is an exception, but that's not for this discussion). This method
is expected to re
On 12/08/2009 02:19 PM, John Machin wrote:
[...snip...]
Perhaps there are some subtleties of which we are unaware ...
I would be very surprised if the OP could not find on a forum much
closer to home more people who know more about using Indic scripts on
computers than here.
That's true. I'd
Steve,
Thanks for the recommendation. In fact, I was not aware of Bangalore Python
User Group till I received your email. I am very much thankful to you Sir,
With Regards,
-sriranga(77yrsold)
On Tue, Dec 8, 2009 at 4:12 PM, steve wrote:
>
> On 12/08/2009 02:19 PM, John Machin wrote:
>
>> [...sn
On 12/8/2009 9:11 PM, Martin Sand Christensen wrote:
If the user isn't currently signed in to our CAS, he'll be redirected to
the sign-in page and, after signing in, is returned to the page he
originally requested. The role decorator checks his privileges (based on
his CAS credentials) and either
shocks wrote:
> Hi
>
> I'm getting back into Python after a long break. I've been developing
> large enterprise apps solely with Adobe Flex (ActionScript) for the
> past couple years. During that time I've used a number of 'MVC'
> frameworks to glue the bits together - among them Cairngorm, a
>
Lie Ryan writes:
> In the end, it is the developer's responsibility not to write
> something too tightly coupled with their framework, isn't it? (or at
> least to minimize the framework-specific code to a certain area)
That's a good summary of my point. However, I have very little
experience wit
On 12/8/2009 3:25 PM, Martin P. Hellwig wrote:
Ben Finney wrote:
"Martin P. Hellwig" writes:
Along with the duplication this introduces, it also means that any bug
fixes — even severe security fixes — in the third-party code will not be
addressed in your duplicate.
I disagree, what you ne
geremy condra wrote:
...
I don't have a problem with adding this if there's a strong desire for it,
but at the moment I'm leaning towards a wait-and-see approach, for
all the reasons you described.
Geremy Condra
I don't want to sound pessimistic, but graph and digraph theory has a lot
Lie Ryan wrote:
Yes from an argumentative perspective you are right.
But given the choice of being right and alienate the fast majority of my
potential user base, I rather be wrong.
For me the 'Although practicality beats purity' is more important than
trying to beat a dead horse that is a p
On Dec 8, 9:42 pm, steve wrote:
> On 12/08/2009 02:19 PM, John Machin wrote:
>
> >> [...snip...]
> > Perhaps there are some subtleties of which we are unaware ...
>
> > I would be very surprised if the OP could not find on a forum much
> > closer to home more people who know more about using Indic
On Tue, Dec 8, 2009 at 9:02 PM, Lie Ryan wrote:
>
> I disagree, what you should have is an Operating System with a package
> management system that addresses those issues. The package management must
> update your software and your dependencies, and keep track of
> incompatibilities between you a
On 12/8/2009 8:43 AM, Rhodri James wrote:
def run(self):
result = func(*func_args) # matching run_in_thread param names
callback(result, *callback_args)
Neat, but I think you mean
if callback is not None:
callback(result, *callback_args)
for that last line.
how about:
import threading
def
dpapathanasiou wrote:
> I have two methods for writing binaries files: the first works with
> data received by a server corresponding to a file upload, and the
> second works with data sent as email attachments.
Hmmm, no. Looking at your code, the first of your functions actually treats
its argume
Dennis Lee Bieber wrote:
> On Tue, 8 Dec 2009 08:26:58 +0530, 74yrs old
> declaimed the following in gmane.comp.python.general:
>
>> For Kannada project .txt(not .doc) is used, my requirement is to have one
>> In this context, I request you kindly for small python program - to make or
>
>
On 12/9/2009 12:02 AM, David Cournapeau wrote:
On Tue, Dec 8, 2009 at 9:02 PM, Lie Ryan wrote:
I disagree, what you should have is an Operating System with a package
management system that addresses those issues. The package management must
update your software and your dependencies, and keep
On Tue, 08 Dec 2009 03:06:29 -0500, geremy condra wrote:
[snip 215 lines of quoted-quoted-quoted-quoted-quoted text]
In the future, would you mind trimming the unneeded quoting from your
post? There's no need to duplicate the *entire* conversation in *every*
post, and it is awfully AOL-like of
Lie Ryan wrote:
> On 12/8/2009 8:43 AM, Rhodri James wrote:
>>>
>>> def run(self):
>>> result = func(*func_args) # matching run_in_thread param names
>>> callback(result, *callback_args)
>> Neat, but I think you mean
>>
>> if callback is not None:
>> callback(result, *callback_args)
>>
>> for that
On 2009-12-08, Martin P. Hellwig wrote:
> - In the ideal world, a upgrade of a dependency won't break
> your program, in reality users fear upgrading dependencies
> because they don't know for sure it won't result in a dll
> hell type of problem.
In my experience with binary-based distros
I am trying to write/run a python script which imports from another
script which is located in my /usr/lib64/python2.6/site-packages/ dir,
but getting the following error.
$ python ./mytest.py
Traceback (most recent call last):
File "./mytest.py", line 45, in
from moda import *
Fi
I have package tree that looks like this:
main.py
package
__init__.py
configuration.ini
server
__init__.py
xmlrpc_server.py
controller.py
reco
segmentation
__init__.py
red_objects.py
main.py launches an instance of
Joe wrote:
> I am trying to write/run a python script which imports from another
> script which is located in my /usr/lib64/python2.6/site-packages/ dir,
> but getting the following error.
>
> $ python ./mytest.py
> Traceback (most recent call last):
> File "./mytest.py", line 45, in
> f
Lie Ryan wrote:
The only thing that package managers couldn't provide is for the
extremist bleeding edge; those that want the latest and the greatest in
the first few seconds the developers releases them. The majority of
users don't fall into that category, most users are willing to wait a
> But it's searching for _moda.*, most probably a binary extension. Does that
> exist, and if yes, has it the proper architecture or is it maybe 32 bit?
I'm just going by an example script. moda is a package I was given that
is written in C and has some python bindings and does run 64-bit. I'm on
Joe wrote:
>> But it's searching for _moda.*, most probably a binary extension. Does
>> that exist, and if yes, has it the proper architecture or is it maybe 32
>> bit?
>
> I'm just going by an example script. moda is a package I was given that
> is written in C and has some python bindings and d
On Dec 8, 1:36 pm, Pierre wrote:
> Hello,
>
> let b = array([ [0,1,2] , [3,4,5] , [6,7,8] ])
>
> How can I easily extract the submatrix [ [0 ,1], [3, 4]] ?
>
> One possiblity is : b[[0,1],:][:,[0,1]] but it is not really easy !
>
> Thanks.
x = numpy.array([ [0,1,2], [3,4,5], [6,7,8] ])
print x[0:
2009/12/7 Taylor :
> On Dec 7, 1:29 pm, Jorge Cardona wrote:
>> 2009/12/7 Lie Ryan :
>>
>>
>>
>> > On 12/7/2009 7:22 AM, Jorge Cardona wrote:
>>
>> >> Hi,
>>
>> >> I was trying to create a function that receive a generator and return
>> >> a list but that each elements were computed in a diferent
On 2009-12-08, Martin P. Hellwig wrote:
> Lie Ryan wrote:
>
>>
>> The only thing that package managers couldn't provide is for the
>> extremist bleeding edge; those that want the latest and the greatest in
>> the first few seconds the developers releases them. The majority of
>> users don't fa
joy99 a écrit :
(snip)
I was thinking if I need to know Django,any good RDBMS(I know only MS-
Access)
Any job in IT will (well... "should") indeed require
a decent knowledge of the relational thery / algebra, relational
database design (normal forms etc), SQL, and working knowledge with at
l
Grant Edwards wrote:
Does windows even _have_ a library dependancy system that lets
an application specify which versions of which libraries it
requires?
Well you could argue that easy_install does it a bit during install.
Then there is 'Windows Side By Side' (winsxs) system which sorta does i
Jon Clements wrote:
On Dec 8, 1:36 pm, Pierre wrote:
Hello,
let b = array([ [0,1,2] , [3,4,5] , [6,7,8] ])
How can I easily extract the submatrix [ [0 ,1], [3, 4]] ?
One possiblity is : b[[0,1],:][:,[0,1]] but it is not really easy !
Thanks.
x = numpy.array([ [0,1,2], [3,4,5], [6,7,8] ])
Chris Colbert wrote:
> I have package tree that looks like this:
>
> main.py
> package
> __init__.py
> configuration.ini
> server
> __init__.py
> xmlrpc_server.py
> controller.py
> reco
>
> segmentation
> __init__.py
> r
2009/12/8 Lie Ryan :
> First, I apologize for rearranging your message out of order.
>
> On 12/8/2009 5:29 AM, Jorge Cardona wrote:
islice execute the function at the generator and drop the elements
that aren't in the slice. I found that pretty weird, the way that i
see generato
Hello,
I want to create an extension module that provides an interface to a
couple of C functions that take arguments of type struct iovec, struct
stat, struct flock, etc (the FUSE library, in case it matters).
Now the problem is that these structures contain attributes of type
fsid_t, off_t, dev
Diez B. Roggisch wrote:
> Joe wrote:
>
>>> But it's searching for _moda.*, most probably a binary extension. Does
>>> that exist, and if yes, has it the proper architecture or is it maybe 32
>>> bit?
>> I'm just going by an example script. moda is a package I was given that
>> is written in C and
Joe wrote:
> Diez B. Roggisch wrote:
>> Joe wrote:
>>
But it's searching for _moda.*, most probably a binary extension. Does
that exist, and if yes, has it the proper architecture or is it maybe
32 bit?
>>> I'm just going by an example script. moda is a package I was given that
>>>
On Tue, 08 Dec 2009 17:39:13 +0100 andrea
wrote:
> Ho notato che i generatori anche se infiniti non si lamentano se usati
> in modo potenzialmente "pericoloso".
> [...]
> Altri miglioramenti/utilizzi trasversali?
Maybe. But I'm sure it.comp.lang.python might help you better. And from
the looks o
On 12/8/2009 4:12 AM, dpapathanasiou wrote:
I have two methods for writing binaries files: the first works with
data received by a server corresponding to a file upload, and the
second works with data sent as email attachments.
The odd thing is, they're not interchangeable: if I use the first on
>
> Please verify that it exists and has the proper architecture.
>
Ah, ok, I thought those were one in the same. But I do have that file in
another directory elsewhere and I have that directory in my
LD_LIBRARY_PATH var.
Shouldn't that be enough to do it?
--
http://mail.python.org/mailman
Just to clarify, I have "_moda.la" sitting in another directory which is
included in my LD_LIBRARY_PATH. And it is built for the 64bit arch.
--
http://mail.python.org/mailman/listinfo/python-list
Joe wrote:
> Just to clarify, I have "_moda.la" sitting in another directory which is
> included in my LD_LIBRARY_PATH. And it is built for the 64bit arch.
No, the import-mechanism of python doesn't take LD_LIBRARY_PATH into
account, and even if it did - _moda.la is a simple archive-file, not a
s
En Fri, 27 Nov 2009 12:36:29 -0300, n00m escribió:
Maybe someone'll make use of it:
def gcd(x, y):
if y == 0:
return x
return gcd(y, x % y)
def brent(n): ...
A better place to publish this code would be the Python Cookbook:
http://code.activestate.com
--
Gabriel Genelli
> Thus my Python script dies a horrible death:
>
> File "./update_db", line 67, in
> for line in open(tempfile, "r"):
> File "/usr/local/lib/python3.1/codecs.py", line 300, in decode
> (result, consumed) = self._buffer_decode(data, self.errors, final)
> UnicodeDecodeError: 'utf8' code
On Tue, Dec 8, 2009 at 7:27 AM, Robin Becker wrote:
> geremy condra wrote:
> ...
>>
>> I don't have a problem with adding this if there's a strong desire for it,
>> but at the moment I'm leaning towards a wait-and-see approach, for
>> all the reasons you described.
>>
>> Geremy Condra
>
>
Gabriel Genellina wrote:
En Fri, 27 Nov 2009 12:36:29 -0300, n00m escribió:
Maybe someone'll make use of it:
def gcd(x, y):
if y == 0:
return x
return gcd(y, x % y)
def brent(n): ...
A better place to publish this code would be the Python Cookbook:
http://code.activestate
En Sat, 05 Dec 2009 07:27:54 -0300, Michael
escribió:
From the docs about the built-in function super:
super( type[, object-or-type])
Return the superclass of type. [...]
You won't get anywhere from the docs in this case, unfortunately. Start by
reading the
Hi;
I'm having trouble loading my image again. Here's my code:
for pic in pics:
sql = 'update %s set %s=%s where SKU=%s;' % (store, colNamesPics[i],
'%s', sku)
sql = sql, (MySQLdb.Binary(pics[int(i)]),)
cursor.execute(sql, (MySQLdb.Binary(pics[int(i)]),))
prin
Hi,
Pyro 3.10 has been released!
Pyro is a an advanced and powerful Distributed Object Technology system
written entirely in Python, that is designed to be very easy to use.
Have a look at http://pyro.sourceforge.net for more information.
Highlights of this release are:
- improvements in the
Victor Subervi wrote:
Hi;
I'm having trouble loading my image again. Here's my code:
for pic in pics:
sql = 'update %s set %s=%s where SKU=%s;' % (store, colNamesPics[i],
'%s', sku)
After this, 'sql' will be a string.
sql = sql, (MySQLdb.Binary(pics[int(i)]),)
After
Reading up on ways to run commands in a shell and capture output...
So I was looking at os.exec*() and that's not the correct thing here.
If I understand the docs correctly, the os.exec*() functions actually
end the calling program and replace it with the program called by
os.exec*() even as far a
Victor Subervi wrote:
> Hi;
> I'm having trouble loading my image again. Here's my code:
>
> for pic in pics:
> sql = 'update %s set %s=%s where SKU=%s;' % (store,
> colNamesPics[i], '%s', sku)
> sql = sql, (MySQLdb.Binary(pics[int(i)]),)
> cursor.execute(sql, (MySQLd
On Tue, Dec 8, 2009 at 3:28 PM, MRAB wrote:
> Victor Subervi wrote:
>
>> Hi;
>> I'm having trouble loading my image again. Here's my code:
>>
>> for pic in pics:
>>sql = 'update %s set %s=%s where SKU=%s;' % (store,
>> colNamesPics[i], '%s', sku)
>>
>
> After this, 'sql' will be a st
On Tue, Dec 8, 2009 at 2:31 PM, J wrote:
>
> So what's the point of the commands module, or is that one that only
> works in Linux, and not Windows?
At the very top of http://docs.python.org/library/commands.html it
says "Platforms: Unix", so yes, it's Unix-only.
> I can do what I want, I think,
On Tue, Dec 8, 2009 at 14:44, Jerry Hill wrote:
> At the very top of http://docs.python.org/library/commands.html it
> says "Platforms: Unix", so yes, it's Unix-only.
That sound you hear is me beating my head against the table now...
sigh... I was too wrapped up in reading the actual code to not
r0g wrote:
Dennis Lee Bieber wrote:
On Tue, 8 Dec 2009 08:26:58 +0530, 74yrs old
declaimed the following in gmane.comp.python.general:
For Kannada project .txt(not .doc) is used, my requirement is to have one
In this context, I request you kindly for small python progra
En Thu, 03 Dec 2009 15:38:28 -0300, Roy Smith escribió:
We've got a windows executable which used to get run out of a shell
script
(Cygwin bash) and is now being run with subprocess.Popen(). The windows
app is misbehaving. To make a long story short, the guy who wrote the
code
in questio
Victor Subervi wrote:
> I don't know what happened, but when I
> pulled that out, it threw a familiar error that alerted me to quote the
> last variable (SKU="%s") and the blob went straight in. Thanks!
The fact that you had to quote the SKU value indicates to me that it's
an alphanumeric value (o
On 7-12-2009 10:12, Peter Otten wrote:
So there are 2 problems: the pickle protocol isn't used when exception
objects (or instances of classes derived from Exception) are pickled, and
during unpickling, it then
crashes because it calls __init__ with the wrong amount of parameters.
(why is it bo
Hi,
I have a small test program written trying to set up a dictionary that
points keys to functions. It is working. However, in the process of
creating it I noticed a weird problem. The problem is that this IS WORKING
and I think it shouldn't be.
~ Here is the input config file code ~ its cal
En Mon, 07 Dec 2009 21:59:42 -0300, 74yrs old
escribió:
For Kannada project .txt(not .doc) is used, my requirement is to have
one space between two characters in Notepad file. In MSword there is
provision to make space between two characters under "Font" and can be
saved as _.doc_ But when
On Dec 8, 4:27 am, Robin Becker wrote:
> Is there reason to suppose that any one representation of graphs or digraphs
> is
> so good we need to add it to python?
One of them bothered to write a PEP proposing its inclusion?
> Even for fairly common algorithms eg Dijkstra's shortest path there d
En Sun, 06 Dec 2009 19:48:28 -0300, Chris Rebert
escribió:
2009/12/6 franki fuentes cueto :
hola soy un pequeño programador y quiesiera pedirles ayuda para
programar en
python, no se si me podrian mandar ejemplos para poder empezar, y como
terminarlo para que se ejecute, me entiendes , ave
Randy Belt wrote:
> I have a small test program written trying to set up a dictionary that
> points keys to functions. It is working. However, in the process of
> creating it I noticed a weird problem. The problem is that this IS
> WORKING and I think it shouldn't be.
>
> ~ Here is the input c
En Sun, 06 Dec 2009 19:48:28 -0300, Chris Rebert
escribió:
2009/12/6 franki fuentes cueto :
hola soy un pequeño programador y quiesiera pedirles ayuda para
programar en
python, no se si me podrian mandar ejemplos para poder empezar, y como
terminarlo para que se ejecute, me entiendes , ave
Randy Belt wrote:
Hi,
I have a small test program written trying to set up a dictionary that
points keys to functions. It is working. However, in the process of
creating it I noticed a weird problem. The problem is that this IS WORKING
and I think it shouldn't be.
~ Here is the input config
En Sun, 06 Dec 2009 23:51:30 -0300, alex23 escribió:
"Phillip M. Feldman" wrote:
It does seem as though IPython could be a bit more clever about this.
I disagree. I _like_ that IPython is only reporting on the current
state of the interpreter and not trying to second guess what I meant.
On Tue, 08 Dec 2009 04:28:05 -, geremy condra
wrote:
On Mon, Dec 7, 2009 at 6:28 PM, M.-A. Lemburg wrote:
I wasn't thinking of anything clever :-) ...
g = Graph(
[Node("a"), Node("b"), Node("c")],
[Edge(Node("a"), Node("b"), "ab"),
Edge(Node("a"), Node("c"), "ac"),
List,
Python does not have switch statement. Any other option does similar work?
Thanks for help.
--henry
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Dec 8, 2009 at 5:53 PM, hong zhang wrote:
> Python does not have switch statement. Any other option does similar work?
Yes, a dictionary with functions as values:
http://simonwillison.net/2004/May/7/switch/
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/list
On 12/9/2009 3:52 AM, Jorge Cardona wrote:
2009/12/8 Lie Ryan:
First, I apologize for rearranging your message out of order.
Theoretically yes, but the semantic of generators in python is they work on
an Iterable (i.e. objects that have __iter__), instead of a Sequence (i.e..
objects that have
On Tue, Dec 8, 2009 at 8:53 PM, hong zhang wrote:
> List,
>
> Python does not have switch statement. Any other option does similar work?
> Thanks for help.
>
Use a dict instead, where the keys are the different cases and the
values are usually callable objects (such as functions)
options = {"a"
On Dec 9, 1:00 pm, Benjamin Kaplan wrote:
> On Tue, Dec 8, 2009 at 8:53 PM, hong zhang wrote:
> > List,
>
> > Python does not have switch statement. Any other option does similar work?
> > Thanks for help.
>
> Use a dict instead, where the keys are the different cases and the
> values are usually
>
> Even better (well, shorter!):
> options = {"a" : do_a, "b",do_b, "c", do_c}
> options.get(option, do_default)()
>
You can also make it something callable like so, which is a little
more compact if you need to reuse it a lot:
>>> def do_a(x): print "a:", x
...
>>> def do_b(x): print "b:", x
..
Dave Angel wrote:
>
>
> r0g wrote:
>> Dennis Lee Bieber wrote:
>>
>>> On Tue, 8 Dec 2009 08:26:58 +0530, 74yrs old
>>> declaimed the following in gmane.comp.python.general:
>>>
>>>
For Kannada project .txt(not .doc) is used, my requirement is to
have one
>>
>>
On Tue, Dec 8, 2009 at 8:42 PM, Rhodri James
wrote:
> On Tue, 08 Dec 2009 04:28:05 -, geremy condra
> wrote:
>
>> On Mon, Dec 7, 2009 at 6:28 PM, M.-A. Lemburg wrote:
>
>>> I wasn't thinking of anything clever :-) ...
>>>
>>> g = Graph(
>>> [Node("a"), Node("b"), Node("c")],
>>> [Edg
I string together a bunch of elif statements to simulate a switch
if foo == True:
blah
elif bar == True:
blah blah
elif bar == False:
blarg
elif
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 9, 4:02 pm, Kee Nethery wrote:
> I string together a bunch of elif statements to simulate a switch
>
> if foo == True:
> blah
> elif bar == True:
> blah blah
> elif bar == False:
> blarg
> elif
This code is probably symptomatic of poor design. (Not to mention
En Tue, 08 Dec 2009 15:51:29 -0300, MRAB
escribió:
Gabriel Genellina wrote:
En Fri, 27 Nov 2009 12:36:29 -0300, n00m escribió:
def gcd(x, y):
if y == 0:
return x
return gcd(y, x % y)
def brent(n): ...
A better place to publish this code would be the Python Cookbook:
http
On Tue, 08 Dec 2009 21:02:44 -0800, Kee Nethery wrote:
> I string together a bunch of elif statements to simulate a switch
>
> if foo == True:
> blah
> elif bar == True:
> blah blah
> elif bar == False:
> blarg
> elif
Are you sure you want to test for equality with True a
r0g wrote:
Dave Angel wrote:
r0g wrote:
Dennis Lee Bieber wrote:
On Tue, 8 Dec 2009 08:26:58 +0530, 74yrs old
declaimed the following in gmane.comp.python.general:
For Kannada project .txt(not .doc) is used, my requirement is to
have one
On Tue, 08 Dec 2009 21:36:23 -0800, Asun Friere wrote:
> On Dec 9, 4:02 pm, Kee Nethery wrote:
>> I string together a bunch of elif statements to simulate a switch
>>
>> if foo == True:
>> blah
>> elif bar == True:
>> blah blah
>> elif bar == False:
>> blarg
>> elif
>
On Dec 9, 5:12 pm, Steven D'Aprano
wrote:
> On Tue, 08 Dec 2009 21:02:44 -0800, Kee Nethery wrote:
> > I string together a bunch of elif statements to simulate a switch
>
> > if foo == True:
> > blah
> > elif bar == True:
> > blah blah
> > elif bar == False:
> > blarg
> > elif
>
> Ar
En Sat, 28 Nov 2009 06:30:44 -0300, Joshua Bronson
escribió:
On Nov 27, 9:36 pm, "Gabriel Genellina"
wrote:
En Fri, 27 Nov 2009 15:12:36 -0300, Francis Carr
escribió:
> After much tinkering, I think I have a simpler solution. Just make
> the inverse mapping accessible via an attribute, -
Dave Angel wrote:
> r0g wrote:
>> Dave Angel wrote:
>>
>>> r0g wrote:
>>>
Dennis Lee Bieber wrote:
> On Tue, 8 Dec 2009 08:26:58 +0530, 74yrs old
> declaimed the following in gmane.comp.python.general:
>
>
>> For Kannada project .txt(not
90 matches
Mail list logo