http://mail.python.org/mailman/listinfo/python-list
>
--
Wbr, Andrii V. Mishkovskyi.
He's got a heart of a little child, and he keeps it in a jar on his desk.
--
http://mail.python.org/mailman/listinfo/python-list
of course gives
> Index error: list index out of range
>
> How can I generalize the print call in the myprintf() function to do this?
>
> print arg[0] % (arg[1])
> print arg[0] % (arg[1], arg[2])
> print arg[0] % (arg[1], ..., arg[n])
It's quite simple:
def print
(o,sentinel) builtin does the
> comparison itself, instead of being defined as iter(callable,callable)
> where the second argument implements the termination test and returns a
> boolean. This would seem to add much more generality... is
> it worthy of a PEP?
Just before you start writing a
2008/10/29 Stef Mientki <[EMAIL PROTECTED]>:
> hello,
>
> Why gives "k = 09" a syntax error ?
Because leading zero means that the number is octal, and there is no 9
among octal digits. :)
>
> thanks,
> Stef Mientki
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Wbr, Andrii M
2008/9/18 Robert Rawlins <[EMAIL PROTECTED]>:
> Guys,
>
>
>
> I'm running python 2.5 and currently using ElementTree to perform my XML
> parsing and creation. ElementTree really is a great package for doing this,
> however, I've been tasked by our deployment guys to try and move away from
> externa
2008/7/9 Benjamin Goudey <[EMAIL PROTECTED]>:
> I have a very large list of integers representing data needed for a
> histogram that I'm going to plot using pylab. However, most of these
> values (85%-95%) are zero and I would like to remove them to reduce
> the amount of memory I'm using and save
2008/6/23 cirfu <[EMAIL PROTECTED]>:
> is there an IDE for python of the same quality as Eclipse or DEVC++?
>
> I am currently using the editor that coems iwth python and it is all
> fine but for bigger projects it would be nice to have some way to
> easier browse the projectfiles for example.
Act
2008/6/18 Clay Hobbs <[EMAIL PROTECTED]>:
> I already know how to make user-defined exceptions, like this one:
>
>class MyException(Exception):
>pass
>
> But for a module I'm making, I would like to make a warning (so it just
> prints the warning to stderr and doesn't crash the
2008/6/15, Bob Farrell <[EMAIL PROTECTED]>:
>
> I released this a while ago but did some work recently to fix some bugs
> so I thought I may as well post it here. To quickly summarise:
> In-line syntax highlighting
> Auto complete with suggestions as you type
> Pastebin stuff, save to file
> "Rewin
2008/6/4 Larry Bugbee <[EMAIL PROTECTED]>:
>> I would like to do something with this language, yet
>> I don't know if there are any needs/science fields, that could be used
>> as a basis for a thesis.
>
> Personally, I'd like to see *optional* data typing added to Python
> perhaps along the lines o
2008/5/22 cm_gui <[EMAIL PROTECTED]>:
> Python is slow.Almost all of the web applications written in
> Python are slow. Zope/Plone is slow, sloow, so very slooow. Even
> Google Apps is not faster. Neither is Youtube.
> Facebook and Wikipedia (Mediawiki), written in PHP, are so much faster
2008/5/14 Ethan Furman <[EMAIL PROTECTED]>:
>
> Ben Finney wrote:
>
>
> Subject: Re: built in list generator?
>
> From: Ben Finney <[EMAIL PROTECTED]>
>
> Date: Wed, 14 May 2008 09:43:43 +1000
>
> To: python-list@python.org
>
> To: python-list@python.org
>
> Newsgroups: comp.lang.python
>
> "Diez
You sound like a commercial. Is this your way of attracting costumers of FT?
2008/5/13 Dave Parker <[EMAIL PROTECTED]>:
> > 5-10 times faster for what kind of code?
>
> Mostly numerical analysis and CGI scripting. All of Flaming Thunder's
> library code is in assembly language, and Flaming Thun
2008/5/8 Tim Roberts <[EMAIL PROTECTED]>:
> "Andrii V. Mishkovskyi" <[EMAIL PROTECTED]> wrote:
>
> >2008/5/7 Alexandr N Zamaraev <[EMAIL PROTECTED]>:
>
> >> Subj is bag?
> >>
> >> Python 2.5.2 (r252:60911, Feb 21 2008,
2008/5/7 Alexandr N Zamaraev <[EMAIL PROTECTED]>:
> Subj is bag?
>
> Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from datetime import datetime
> >>> datetime.today().strfti
2008/4/10, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Am I the only one that thinks this would be useful? :)
>
> I'd really like to be able to use python 3.0's print statement in
> 2.x. Is this at least being considered as an option for 2.6? It
> seems like it would be helpful with transitionin
2008/4/7, Floris Bruynooghe <[EMAIL PROTECTED]>:
>
> Have been grepping all over the place and failed to find it. I found
> the test module for them, but that doesn't get me very far...
>
I think you should take a look at 'descrobject.c' file in 'Objects' directory.
--
Wbr, Andrii Mishkovskyi
2007/11/14, ChairmanOfTheBored <[EMAIL PROTECTED]>:
> On Tue, 13 Nov 2007 16:18:58 +0100, Richard G Riley
> <[EMAIL PROTECTED]> wrote:
>
> >Your ascii art, while pretty, convinces no one ...
>
>
> It's pretty goddamned retarded, actually... as was the post itself.
> --
> http://mail.python.org/mai
2007/10/31, jelle <[EMAIL PROTECTED]>:
> the subject pretty much says it all.
> if I check a string for for a substring, and this substring isn't found,
> should't the .find method return 0 rather than -1?
> this breaks the
>
> if check.find('something'):
> do(somethingElse)
>
> idiom, which is
2007/10/31, Frank Aune <[EMAIL PROTECTED]>:
> Hello,
>
> Is it possible writing custom modules named the same as modules in the
> standard library, which in turn use the same module from the standard
> library?
>
> Say I want my application to have a random.py module, which in turn must
> import th
2007/10/4, Robert Dailey <[EMAIL PROTECTED]>:
> I don't know how many other people subscribe to the python mailing list and
> use the mailing list using the web-based interface for Gmail, but I do. I
> use it mainly because Gmail doesn't support IMAP and I use my email from
> multiple locations. Gm
21 matches
Mail list logo