Python On MySQLdb database access code

by Doug, August 05, 2009 10:40

I'd strongly recommend usin...

7e01e4c31fb60d06e81990ae0b611fe1 Talk

Python On MySQLdb database access code

by ielectric.myopenid.com, July 09, 2009 08:04 Star_fullStar_fullStar_fullStar_full

You should take a look at s...

64798a399a79ed8d34fa83ba0e61c1ac Talk

Python On Random number generator

by bob, July 08, 2009 00:30

could an infinate loop be p...

Ae349cab34d26c00dd80f673be51e1ba Talk

Python On Mapping confobject to objec...

by hyposaurus, July 03, 2009 05:24

this should run, you will n...

D41d8cd98f00b204e9800998ecf8427e Talk
import functools

def lower_if_string(x):
...

Python On String args to lower decorator

by R. Pate, June 27, 2009 04:13

I'm seeing the @ doubled, i...

48ccd8d56bce9ebd25c1720c13e9d442 Talk
def slug_to_lower(fn):
    """
    Decorator to lowercase string arguments to a function.
...

Python On String args to lower decorator

by ielectric.myopenid.com, June 04, 2009 23:39
64798a399a79ed8d34fa83ba0e61c1ac Talk
#!/usr/bin/python

# show svn log as a summary with revision, username and comment on one line
...

Python On Reformat svn log output

by Hugh Brown, June 04, 2009 20:08 Star_fullStar_fullStar_fullStar_full

One more time.

Bbcac97b68f9e9cabd25a3f0f0bdbe49 Talk
#!/usr/bin/python

# show svn log as a summary with revision, username and comment on one line
...

Python On Reformat svn log output

by Hugh Brown, June 04, 2009 20:07

Couple of problems with the...

Bbcac97b68f9e9cabd25a3f0f0bdbe49 Talk
#!/usr/bin/python

# show svn log as a summary with revision, username and comment on one line
...

Python On Reformat svn log output

by Hugh Brown, June 04, 2009 19:55
Bbcac97b68f9e9cabd25a3f0f0bdbe49 Talk
def slug_to_lower(fn):
    """
    Decorator to lowercase string arguments to a function.
...

Python On String args to lower decorator

by Hugh Brown, June 04, 2009 19:36
Bbcac97b68f9e9cabd25a3f0f0bdbe49 Talk
def slug_to_lower(fn):
    """
    Decorator to lowercase string arguments to a function.
...

Python On String args to lower decorator

by Hugh Brown, June 04, 2009 19:34
Bbcac97b68f9e9cabd25a3f0f0bdbe49 Talk
def slug_to_lower(fn):
    """
    Decorator to lowercase string arguments to a function.
...

Python On String args to lower decorator

by Hugh Brown, June 04, 2009 19:32
Bbcac97b68f9e9cabd25a3f0f0bdbe49 Talk

Python On Mapping confobject to objec...

by Anonymous, June 02, 2009 20:09

Can you provide a minimal e...

D41d8cd98f00b204e9800998ecf8427e Talk
#!/usr/bin/python

# show svn log as a summary with revision, username and comment on one line
...

Python On Reformat svn log output

by daniop.myopenid.com, May 22, 2009 13:31

I just discovered how to ge...

55502f40dc8b7c769880b10874abc9d0 Talk

Python On CamelCase to Camel Case (Py...

by snies, May 11, 2009 12:55

@ Simon Hartley: Wouldn't i...

D41d8cd98f00b204e9800998ecf8427e Talk
class Planet(object):
    all = []

...

Python On Pythonify my code

by satoru_Logic, March 12, 2009 04:30

It seems that Planet.all is...

4a3cb531d8b843df40093d82c0af79d0 Talk
def __init__(self, interval, delegate):
		self.Event = threading.Event()
		self.Thread = threading.Thread(
...

Python On RepeatTimer

by satoru_Logic, March 07, 2009 08:32

I think __init__ can be sim...

4a3cb531d8b843df40093d82c0af79d0 Talk
#! /usr/bin/env python

class Node(object):
...

Python On Linked List

by satoru_Logic, March 07, 2009 07:46

The LinkedList class is cha...

4a3cb531d8b843df40093d82c0af79d0 Talk

Python On Pythonify my code

by pope, March 03, 2009 13:13

@ielectric.myopenid.com: T...

814bd2e15b40a3e8b2fd98ea4233a5d2 Talk
def roll (pool):
    return [random.randint(1,10) for d in xrange(pool)]

...

Python On Dice Pool Monte Carlo Using...

by joe, February 27, 2009 06:40

a few things could be short...

D41d8cd98f00b204e9800998ecf8427e Talk

Python On Williams Words

by cmurphycode.blogspot.com, February 20, 2009 03:21

For some reason this failed...

55502f40dc8b7c769880b10874abc9d0 Talk

Python On Loading and Unloading elements

by ielectric.myopenid.com, February 05, 2009 23:16

yep, that's about it. you c...

64798a399a79ed8d34fa83ba0e61c1ac Talk
toLoad = set(['two', 'three', 'four', 'one'])
history = set(['two', 'twenty', 'five'])

...

Python On Loading and Unloading elements

by rem7.myopenid.com, February 05, 2009 22:54

interesting... this is what...

8339a3712739c903f06b8b9066500a63 Talk

Python On Loading and Unloading elements

by rem7.myopenid.com, February 05, 2009 22:10

yeah, that's pretty much it...

8339a3712739c903f06b8b9066500a63 Talk

Python On Loading and Unloading elements

by ielectric.myopenid.com, February 05, 2009 21:58

What is your goal? To load ...

64798a399a79ed8d34fa83ba0e61c1ac Talk