เมื่อ วันศุกร์ที่ 25 กรกฎาคม ค.ศ. 2008, 3 นาฬิกา 54 นาที 51 วินาที UTC+7,
baba...@gmail.com เขียนว่า:
> www spankwire
> .
>
> >>Best Collection of Spankwire Videos<<
> http://vids365.com/watch.php<<<
> >>FREE www spankwire VIDEOS<<<
>
> .
> www
On Thursday, July 24, 2008 11:55:04 PM UTC+3, baba...@gmail.com wrote:
> www spankwire com
> .
>
> >>Best Collection of Spankwire Videos<<
> http://vids365.com/watch.php<<<
> >>FREE www spankwire VIDEOS<<<
>
> .
> www spankwire com
--
http://m
On 11/30/2012 11:05 AM, andrea crotti wrote:
> Well I knew that this works fine, even if I feel a bit guilty to do
> this, and better is:
>
> foo = 'bar' if some_condition else 'baz'
>
> Anyway for me the suprise is that something that is defined *later* at
> the module scope is found in a function
andrea crotti
>
> I wrote a script, refactored it and then introducing a bug as below:
>
> def record_things():
> out.write("Hello world")
>
> if __name__ == '__main__':
> with open('output', 'w') as out:
> record_things()
>
>
> but the shocking thing is that it didn't actually
- Original Message -
> Well I knew that this works fine, even if I feel a bit guilty to do
> this, and better is:
>
> foo = 'bar' if some_condition else 'baz'
>
> Anyway for me the suprise is that something that is defined *later*
> at
> the module scope is found in a function which is de
On Sat, Dec 1, 2012 at 3:05 AM, andrea crotti wrote:
> Well I knew that this works fine, even if I feel a bit guilty to do
> this, and better is:
>
> foo = 'bar' if some_condition else 'baz'
>
> Anyway for me the suprise is that something that is defined *later* at
> the module scope is found in a
Am 30.11.2012 12:11, schrieb andrea crotti:
I wrote a script, refactored it and then introducing a bug as below:
def record_things():
out.write("Hello world")
This is a function. Since "out" is not a local variable, it is looked up
in the surrounding namespace at the time the function is
- Original Message -
> 2012/11/30 andrea crotti :
>
> Already changing it to:
>
> def record_things():
> out.write("Hello world")
>
> def main():
> with open('output', 'w') as out:
> record_things()
>
> if __name__ == '__main__':
> main()
>
> makes it stops workin
- Original Message -
> I wrote a script, refactored it and then introducing a bug as below:
>
> def record_things():
> out.write("Hello world")
>
> if __name__ == '__main__':
> with open('output', 'w') as out:
> record_things()
>
>
> but the shocking thing is that it did
G'day All,
Following on from my earlier query on overloading print()
I've come up with this:
/* < stdcallbk.pyd > */
/*---stdcallbk.h-*/
#ifndef STDCALLBK_MODULE_H
#include
#define STDCALLBK_MODULE_H
// Type definition for the callback function.
typedef
On Feb 21, 12:08 am, Mark Dickinson wrote:
> On Feb 20, 8:08 am, Raymond Hettinger wrote:
>
> > [...]
> > >>> n * e
>
> > 3.1415926
> Very neat! Is it supposed to be obvious why this gives an
> approximation to pi? If so, I'll think about it a bit more; if not,
> do you have any references?
On Feb 20, 8:08 am, Raymond Hettinger wrote:
> [...]
> >>> n * e
>
> 3.1415926
>
> Compute ð ± e by counting Mandlebrot set iterations :-)
Very neat! Is it supposed to be obvious why this gives an
approximation to pi? If so, I'll think about it a bit more; if not,
do you have any references?
Anssi Saari writes:
> Ben Finney writes:
> > It [appeared correctly] in my reader. Perhaps your server has
> > encoding trouble?
>
> He (or rather Google) used iso-8859-7 as a character set, which is the
> Latin/Greek alphabet and definitely has pi at 0xF0. Not exactly a
> common character set t
> eps would be a better name than e.
py> ε = 10.0 ** -7; n = 0; z = c = complex(-0.75, ε)
py> while abs(z) < 2.0:
... n += 1
... z = z * z + c
...
py> π = n * ε
py> print(π)
3.1415926
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
In article <87oc679bl2@benfinney.id.au>,
Ben Finney wrote:
> Raymond Hettinger writes:
>
> > Compute � � e by counting Mandlebrot set iterations :-)
>
> Very cool! I love � nerdery.
>
>
> Raymond Hettinger writes:
>
> > > Compute ð ± e by counting Mandlebrot set iterations :-)
Ben Finney writes:
> Raymond Hettinger writes:
>
>> Compute π ± e by counting Mandlebrot set iterations :-)
>
> Very cool! I love π nerdery.
>
>
> Raymond Hettinger writes:
>
>> > Compute ð ± e by counting Mandlebrot set iterations :-)
>>
>> That should be: pi plus-or-minus e
>
> It was in my
On Sun, 20 Feb 2011 00:08:58 -0800, Raymond Hettinger wrote:
e = 10.0 ** -7; n = 0; z = c = complex(-0.75, e)
while abs(z) < 2.0:
> n += 1
> z = z * z + c
>
n * e
> 3.1415926
Absolutely brilliant! That alone justifies including complex as a built-
in type. *wi
On Sun, 20 Feb 2011 22:42:17 +1100, Ben Finney wrote:
> Raymond Hettinger writes:
>
>> Compute π ± e by counting Mandlebrot set iterations :-)
>
> Very cool! I love π nerdery.
>
>
> Raymond Hettinger writes:
>
>> > Compute ð ± e by counting Mandlebrot set iterations :-)
>>
>> That should be
Raymond Hettinger writes:
> Compute π ± e by counting Mandlebrot set iterations :-)
Very cool! I love π nerdery.
Raymond Hettinger writes:
> > Compute ð ± e by counting Mandlebrot set iterations :-)
>
> That should be: pi plus-or-minus e
It was in my reader. Perhaps your server has encodin
> Compute ð ± e by counting Mandlebrot set iterations :-)
That should be: pi plus-or-minus e
Raymond
--
http://mail.python.org/mailman/listinfo/python-list
>>> e = 10.0 ** -7; n = 0; z = c = complex(-0.75, e)
>>> while abs(z) < 2.0:
n += 1
z = z * z + c
>>> n * e
3.1415926
Compute π ± e by counting Mandlebrot set iterations :-)
Raymond
--
http://mail.python.org/mailman/listinfo/python-list
This can't get more amazing see for yourself! http://tardis-db.co.uk/
--
http://mail.python.org/mailman/listinfo/python-list
www efukt com
.
>>Best Collection of Efukt Videos<<
http://vids365.com/watch.php<<<
>>FREE www efukt com VIDEOS<<<
.
www efukt com
--
http://mail.python.org/mailman/listinfo/python-list
www efukt
.
>>Best Collection of Efukt Videos<<
http://vids365.com/watch.php<<<
>>FREE www efukt VIDEOS<<<
.
www efukt
--
http://mail.python.org/mailman/listinfo/python-list
efukt com
.
>>Best Collection of Efukt Videos<<
http://vids365.com/watch.php<<<
>>FREE efukt com VIDEOS<<<
.
efukt com
--
http://mail.python.org/mailman/listinfo/python-list
shown on efukt com
.
>>Best Collection of Efukt Videos<<
http://vids365.com/watch.php<<<
>>FREE shown on efukt com VIDEOS<<<
.
shown on efukt com
--
http://mail.python.org/mailman/listinfo/python-list
peachy18 com
.
>>Best Collection of Peachy18 Videos<<
http://vids365.com/watch.php<<<
>>FREE peachy18 com VIDEOS<<<
.
peachy18 com
--
http://mail.python.org/mailman/listinfo/python-list
peachy18 forum
.
>>Best Collection of Peachy18 Videos<<
http://vids365.com/watch.php<<<
>>FREE peachy18 forum VIDEOS<<<
.
peachy18 forum
--
http://mail.python.org/mailman/listinfo/python-list
peachy18 com
.
>>Best Collection of Peachy18 Videos<<
http://vids365.com/watch.php<<<
>>FREE peachy18 VIDEOS<<<
.
peachy18 com
--
http://mail.python.org/mailman/listinfo/python-list
peachy18
.
>>Best Collection of Peachy18 Videos<<
http://vids365.com/watch.php<<<
>>FREE peachy18 VIDEOS<<<
.
peachy18
--
http://mail.python.org/mailman/listinfo/python-list
www spankwire com
.
>>Best Collection of Spankwire Videos<<
http://vids365.com/watch.php<<<
>>FREE www spankwire VIDEOS<<<
.
www spankwire com
--
http://mail.python.org/mailman/listinfo/python-list
www spankwire
.
>>Best Collection of Spankwire Videos<<
http://vids365.com/watch.php<<<
>>FREE www spankwire VIDEOS<<<
.
www spankwire
--
http://mail.python.org/mailman/listinfo/python-list
www xxxstash
.
>>Best Collection of Xxxstash Videos<<
http://vids365.com/watch.php<<<
>>FREE www xxxstash VIDEOS<<<
.
www xxxstash
--
http://mail.python.org/mailman/listinfo/python-list
xxxstash com
.
>>Best Collection of Xxxstash Videos<<
http://vids365.com/watch.php<<<
>>FREE xxxstash com VIDEOS<<<
.
xxxstash com
--
http://mail.python.org/mailman/listinfo/python-list
xxxstash
.
>>Best Collection of Xxxstash Videos<<
http://vids365.com/watch.php<<<
>>FREE xxxstash VIDEOS<<<
.
xxxstash
--
http://mail.python.org/mailman/listinfo/python-list
free sextv1 tv
.
>>Best Collection of Sextv1 Videos<<
http://vids365.com/watch.php<<<
>>FREE sextv1 tv VIDEOS<<<
.
free sextv1 tv
--
http://mail.python.org/mailman/listinfo/python-list
sextv1 tv com
.
>>Best Collection of Sextv1 Videos<<
http://vids365.com/watch.php<<<
>>FREE sextv1 tv com VIDEOS<<<
.
sextv1 tv com
--
http://mail.python.org/mailman/listinfo/python-list
sextv1 player
.
>>Best Collection of Sextv1 Videos<<
http://vids365.com/watch.php<<<
>>FREE sextv1 player VIDEOS<<<
.
sextv1 player
--
http://mail.python.org/mailman/listinfo/python-list
sextv1 net
.
>>Best Collection of Sextv1 Videos<<
http://vids365.com/watch.php<<<
>>FREE sextv1 net VIDEOS<<<
.
sextv1 net
--
http://mail.python.org/mailman/listinfo/python-list
sextv1 tv
.
>>Best Collection of Sextv1 Videos<<
http://vids365.com/watch.php<<<
>>FREE sextv1 tv VIDEOS<<<
.
sextv1 tv
--
http://mail.python.org/mailman/listinfo/python-list
www sextv1 pl
.
>>Best Collection of Sextv1 Videos<<
http://vids365.com/watch.php<<<
>>FREE www sextv1 pl VIDEOS<<<
.
www sextv1 pl
--
http://mail.python.org/mailman/listinfo/python-list
THE AMAZING GOOGLE NETWORK INVITES YOU TO MAKE MILLIONS OF DOLLARS BY
DOING A SIMPLE ONLINE WORK.THE LINK IS BELOW
www.jeeva235.blogspot.com
IF YOU WORK LITTLE HARD YOU MAY EARN $3,00,000 IN A SINGLE PROJECT
--
http://mail.python.org/mailman/listinfo/python-list
www.enmac.com.hk
GSM Mobile Phones, Digital iPods, Digital Clocks, Digital Pens,
Digital Quran. Enjoy these products with Islamic Features (Complete
Holy Quran with Text and Audio, Tafaseer books, Ahadees Books, Daily
Supplications, Universal Qibla Direction, Prayer Timing and much more)
visit our
www.enmac.com.hk
GSM Mobile Phones, Digital iPods, Digital Clocks, Digital Pens,
Digital Quran. Enjoy these products with Islamic Features (Complete
Holy Quran with Text and Audio, Tafaseer books, Ahadees Books, Daily
Supplications, Universal Qibla Direction, Prayer Timing and much more)
visit our
www.enmac.com.hk
GSM Mobile Phones, Digital iPods, Digital Clocks, Digital Pens,
Digital Quran. Enjoy these products with Islamic Features (Complete
Holy Quran with Text and Audio, Tafaseer books, Ahadees Books, Daily
Supplications, Universal Qibla Direction, Prayer Timing and much more)
visit our
www.enmac.com.hk
GSM Mobile Phones, Digital iPods, Digital Clocks, Digital Pens,
Digital Quran. Enjoy these products with Islamic Features (Complete
Holy Quran with Text and Audio, Tafaseer books, Ahadees Books, Daily
Supplications, Universal Qibla Direction, Prayer Timing and much more)
visit our
H,
Free download latest softwares... Hurrryyy upp
http://freesoftwaredownloaded.blogspot.com/
http://freedownload.co.in
--
http://mail.python.org/mailman/listinfo/python-list
http://www.newsreview.com/sacramento/Content?oid=oid%3A16418
Google search for Robert Hanson accidentally led to the amazing story
in the link above
--
http://mail.python.org/mailman/listinfo/python-list
Priests & Preachers Coming to Islam?
Former American Priest tells his story :
http://islamtomorrow.com
--
http://mail.python.org/mailman/listinfo/python-list
Hy every one. An amazing opportunity for all the people to buy and get
all the information related to the Laptops, Computer Systems,
registration for free trail and for rental basis. Effort less thing,
just make look over www.eazyrentals.com
--
http://mail.python.org/mailman/listinfo/python
[Erik]
> I am now a super gushing fan-boy.
+1 Quote of the Week!
--
Richie Hindle <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
Just <[EMAIL PROTECTED]> writes:
> In article <[EMAIL PROTECTED]>,
> Simo Melenius <[EMAIL PROTECTED]> wrote:
> > ... sys.stdout = sys.__stdout__
> Aargh, I can't believe how widespread this idiom is :-(. See my other
> reply in this thread: DON'T use sys.__stdout__. Ever.
It probably d
Ron Garret wrote:
In article <[EMAIL PROTECTED]>,
jfj <[EMAIL PROTECTED]> wrote:
Ron Garret wrote:
In article <[EMAIL PROTECTED]>,
"Erik Bethke" <[EMAIL PROTECTED]> wrote:
I have NEVER experienced this kind of programming joy.
Just wait until you discover Lisp!
;-)
I've had it with all those
Just schreef:
> You should always save stdout instead of using __stdout__. It may not be
> the same!
You're right, especially when this code would execute in an (at
programming time) unknown context.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Prin
In article <[EMAIL PROTECTED]>,
jfj <[EMAIL PROTECTED]> wrote:
> Ron Garret wrote:
> > In article <[EMAIL PROTECTED]>,
> > "Erik Bethke" <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I have NEVER experienced this kind of programming joy.
> >
> >
> > Just wait until you discover Lisp!
> >
> > ;-)
In article <[EMAIL PROTECTED]>,
Just <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Simo Melenius <[EMAIL PROTECTED]> wrote:
>
> > I've sometimes replaced sys.stdout (and/or sys.stderr) to
> > capture/redirect debugging information in existing code that has
> > unwisely just "pr
(Not sure if my other message arrived)
I am guilty of using this idiom, too.
The standard library
http://www.python.org/dev/doc/devel/lib/module-sys.html#l2h-396
says:
"""
__stdin__
__stdout__
__stderr__
These objects contain the original values of stdin, stderr and
stdout at the start of the p
Just wrote:
> In article <[EMAIL PROTECTED]>,
> Simo Melenius <[EMAIL PROTECTED]> wrote:
>
> > I've sometimes replaced sys.stdout (and/or sys.stderr) to
> > capture/redirect debugging information in existing code that has
> > unwisely just "print"ed error and warning messages, instead of
using
>
On Mon, 03 Jan 2005 13:05:48 +0200, Ville Vainio wrote:
>> "jfj" == jfj <[EMAIL PROTECTED]> writes:
>
> jfj> There were functional and non-functional programming
> jfj> languages (the first being *much* simpler to
> jfj> implement). There is a *reason* people chose C over
> j
> "jfj" == jfj <[EMAIL PROTECTED]> writes:
jfj> There were functional and non-functional programming
jfj> languages (the first being *much* simpler to
jfj> implement). There is a *reason* people chose C over
jfj> lisp. It's not that we were all blind and didn't see the
jfj
Ron Garret wrote:
In article <[EMAIL PROTECTED]>,
"Erik Bethke" <[EMAIL PROTECTED]> wrote:
I have NEVER experienced this kind of programming joy.
Just wait until you discover Lisp!
;-)
I've had it with all those lisp posts lately ;-)
There were functional and non-functional programming languag
In article <[EMAIL PROTECTED]>,
Simo Melenius <[EMAIL PROTECTED]> wrote:
> I've sometimes replaced sys.stdout (and/or sys.stderr) to
> capture/redirect debugging information in existing code that has
> unwisely just "print"ed error and warning messages, instead of using
> sys.stderr or error logg
Ron Garret <[EMAIL PROTECTED]> writes:
> (with-output-to-string (s)
> (let ( (*standard-output* s) )
> (call-html-generating-code)
> s))
>
> Is there an equivalent Python trick to capture a function call's output
> as a string?
I've sometimes replaced sys.stdout (and/or sys.stderr) to
In article <[EMAIL PROTECTED]>,
JanC <[EMAIL PROTECTED]> wrote:
> Something like this:
>
> py> import cStringIO
> py> import sys
> py>
> py> def foo():
> ... print "test"
> ...
> py> f = cStringIO.StringIO()
> py> sys.stdout = f
> py> foo()
> py> s = f.getvalue()
> py> sys.stdout = sys.__std
Ron Garret schreef:
> But this topic does bring up a legitimate question: I have a bunch of
> code that generates HTML using PRINT statements. I need to convert all
> this code to return strings rather than actually printing them (so I can
> use the results to populate templates). In Lisp I c
The way that Paul Graham sees Lisp:
()))yes!)
)
"Roy Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>,
> Ron Garret <[EMAIL PROTECTED]> wrote:
>
>> In article <[EMAIL PROTECTED]>,
>> "Erik Bethke" <[EMAIL PROTECTED]> wrote:
>>
>
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Aahz)
wrote:
> In article <[EMAIL PROTECTED]>,
> Roy Smith <[EMAIL PROTECTED]> wrote:
> >In article <[EMAIL PROTECTED]>,
> > Ron Garret <[EMAIL PROTECTED]> wrote:
> >> In article <[EMAIL PROTECTED]>,
> >> "Erik Bethke" <[EMAIL PROTECTED]> wrot
Erik Bethke wrote:
Anyways, I am now a super gushing fan-boy. I have worked my way up
from a scripter working in crappy proprietary languages to a c++
programmer, to now biz guy. But when I walked away from programming I
gave it a grim farewell, c++ work is good, but so much mind goes into
it to
In article <[EMAIL PROTECTED]>,
"Erik Bethke" <[EMAIL PROTECTED]> wrote:
>
> I have NEVER experienced this kind of programming joy.
Just wait until you discover Lisp!
;-)
rg
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Roy Smith <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
> Ron Garret <[EMAIL PROTECTED]> wrote:
>> In article <[EMAIL PROTECTED]>,
>> "Erik Bethke" <[EMAIL PROTECTED]> wrote:
>>>
>>> I have NEVER experienced this kind of programming joy.
>>
>> Just
you did this with pygame!!??
"Erik Bethke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> somehow lost my j's:
>
> www.erikbethke.com/Python/screenshot02.jpg
> www.erikbethke.com/Python/screenshot03.jpg
> www.erikbethke.com/Python/screenshot04.jpg
> www.erikbethke.com/Python/screens
In article <[EMAIL PROTECTED]>,
Ron Garret <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> "Erik Bethke" <[EMAIL PROTECTED]> wrote:
>
> >
> > I have NEVER experienced this kind of programming joy.
>
> Just wait until you discover Lisp!
>
> ;-)
>
> rg
Shouldn't that be ;-)))
"Erik Bethke" <[EMAIL PROTECTED]> writes:
> I have NEVER experienced this kind of programming joy.
Yep, I feel the same way since learning Python. It's really a
productive and pleasant language.
Congratulations on all your game successes!
--
http://mail.python.org/mailman/listinfo/python-list
"Erik Bethke" <[EMAIL PROTECTED]> wrote:
> Hello Everyone,
>
> I have to say:
>
> Python! Is! Truly! Amazing!
>
> So I started with python about a month ago and put in 24 hours across
> three weekends.
...
>
> Truly thank you.
>
> -Erik
>
I
somehow lost my j's:
www.erikbethke.com/Python/screenshot02.jpg
www.erikbethke.com/Python/screenshot03.jpg
www.erikbethke.com/Python/screenshot04.jpg
www.erikbethke.com/Python/screenshot05.jpg
--
http://mail.python.org/mailman/listinfo/python-list
Oh yeah, and farmer, no I didn't yet get back to making an exe by
fixing the problem with pygame2exe i just got disctracted getting other
things done so fast!
-Erik
www.gopetslive.com
--
http://mail.python.org/mailman/listinfo/python-list
Hello Everyone,
I have to say:
Python! Is! Truly! Amazing!
So I started with python about a month ago and put in 24 hours across
three weekends.
My first project was to recreate a simple maze-let thingie that I
remember as my first program way back on the Vic-20. That was a quick
snap and a
77 matches
Mail list logo