All pastes
Paste #22996, pasted on Feb 4, 2012 5:55:00 PM
Traceback (most recent call last): File "C:\Python27\pyparallel\examples\lcd.py", line 9, in <module> import parallel File "..\parallel\__init__.py", line 13, in <module> from parallelwin32 import * ...Paste #22995, pasted on Feb 4, 2012 5:45:38 PM
lbs_to_kg = 1.0/2.2 inches_to_feet = 1.0/12.0 my_name = 'Zed A. Shaw' my_age = 35 # not a lie ...
Paste #22993, pasted on Feb 4, 2012 4:39:26 PM
Traceback (most recent call last): File "C:\Documents and Settings\Jacey\Desktop\lcd.py", line 9, in <module> import parallel File "C:\Python27\lib\site-packages\pyparallel-0.2-py2.7.egg\parallel\__init__.py", line 13, in <module> from parallelwin32 import * ...Paste #22992, pasted on Feb 4, 2012 4:39:11 PM
class Item(object) def __init__(self, group, value): self.group = group #int self.value = value #int ...Paste #22991, pasted on Feb 4, 2012 4:38:15 PM
class Item(object) def __init__(self, group, value): self.group = group #int self.value = value #int ...
Paste #22990, pasted on Feb 4, 2012 4:37:00 PM
#!/usr/bin/env python # character LCD example for pyparallel # #(C) 2002 Chris Liechti <cliechti@gmx.net> # this is distributed under a free software license, see license.txt ...
Paste #22989, pasted on Feb 4, 2012 3:45:38 PM
''' Created on Mar 24, 2011 Pulls the latest incidents from an international piracy reporting website and adds them to a dictionary, with an arbitrary incident ID as the key and a list containing the ...
Paste #22988, pasted on Feb 4, 2012 3:45:16 PM
def attack(participants): ''' participants[0] performs a physical attack on the participants[1]. ''' damage = participants[0].attack if participants[1].defending: damage = int(damage * .75) if damage < 0: damage = 0 ...
Paste #22987, pasted on Feb 4, 2012 11:49:26 AM
words.append(word) defs.append(definition) wordFileAppend.write(str(words)) defFileAppend.write(str(defs))Paste #22986, pasted on Feb 4, 2012 11:32:03 AM
>>> print(2) 2 >>> print 23 23 >>> import datetime ...