Chris Rebert wrote:
On Tue, Mar 17, 2009 at 2:24 PM, Robert Kern wrote:
On 2009-03-17 16:13, Paddy wrote:
We the def statement and the lambda expression. We have the class
statement, but is their an expression to create a class?
Or:
def F(): pass
type(F)
# Is to:
F2 = lambda : none
type(
Lie wrote:
On Jun 24, 12:12 am, [EMAIL PROTECTED] wrote:
Hi All,
How do I format printed data in python?
I could not find this in the Python Reference
Manual:http://docs.python.org/ref/print.html
Nor could I find it in Matloff's great
tutorial:http://heather.cs.ucdavis.edu/~matloff/Python/Pyt
Joseph Turian wrote:
> Basically, we're planning on releasing it as open-source, and don't
> want to alienate a large percentage of potential users.
Then develop for 2.5 with an eye on what is to come this year in 2.6 with
regard to already planned
deprecations.
- Paddy.
--
http://mail.python.o
Hi,
When I try and use pprint on standard types I get varying 'quality of
output'.
Lists will wrap nicely to multiple lines as will dicts, but sets and
defaultdicts give one long unreadable line.
Is their a chance to get this changed so that more built-in types look
pretty when printed with pprin
cesco wrote:
I created some more test strings and ran posters solutions against them.
results attached.
- Paddy.
# alternating_replacements.py
tests = " 1 2_ 3_4 5_6_ 7_8_9 10_11_12_ 13_14_15_16 17_18_19_20_" \
" _ _21 _22_ _23_24 _25_26_ _27_28_29 _30_31_32_ _33_34_35_36" \
" __ _
Doug Morse wrote:
> although perhaps not a part of the definition of scripting languages per se,
> one aspect of them is that they are often used to "glue" a wide variety of
> other components together. perl's initial and continued success is in no
> small part to all the wrappers and interfaces i
EuGeNe Van den Bulke wrote:
> I do realize that the UK is not really part of Europe (no polemic :P)
> but I am nevertheless curious about the logic behind creating another
> major Python event in Europe. Wasn't EuroPython enough?
>
> Like many I am sure, I probably won't be able to attend both (
[EMAIL PROTECTED] wrote:
> I posted to this newsgroup earlier about my annoyances with python and
> now I can't find the post. What did you do with it?
>
I notice a gmail address. Google groups was not updated for over a day and is
still 'behind'. Try
another news reader.
- Paddy
--
http://mai
[EMAIL PROTECTED] wrote:
> So I read quite a few things about this phenomenon in Python 2.4.x but
> I can hardly believe that there is really no solution to my problem.
>
> We use a commercial tool that has a macro functionality. These macros
> are written in python. So far nothing extraordinary.