All pastes
Paste #22985, pasted on Feb 4, 2012 11:26:22 AM
import os wordName = 'wordfile.txt' defName = 'deffile.txt' wordFile = open(wordName, 'r') ...
Paste #22984, pasted on Feb 4, 2012 10:27:53 AM
''' Created on Jan 23, 2012 @author: stanner ''' ...
Paste #22983, pasted on Feb 4, 2012 10:27:10 AM
''' Created on Jan 23, 2012 @author: stanner ''' ...
Paste #22982, pasted on Feb 4, 2012 10:21:19 AM
Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python3.2/threading.py", line 740, in _bootstrap_inner self.run() File "/usr/lib/python3.2/threading.py", line 693, in run ...
Paste #22981, pasted on Feb 4, 2012 9:03:41 AM
Python 3.2 (r32:88445, Mar 25 2011, 19:56:22) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> print("私の名前はぼぶ".center(20, ' ')) 私の名前はぼぶ ...
Paste #22980, pasted on Feb 4, 2012 7:33:18 AM
class AHolder(): def __init__(self): self.a = 4 #A class is a template defining a set of needed information (the variables) and functionality (the functions) ...
Paste #22979, pasted on Feb 4, 2012 7:30:13 AM
class AHolder(): def __init__(self): self.a = 4 #A class is a template defining a set of needed information (the variables) and functionality (the functions) ...
Paste #22978, pasted on Feb 4, 2012 7:21:17 AM
class AHolder(): def __init__(self): self.a = 4 b = AHolder() #b is instance of AHolder class ...
Paste #22977, pasted on Feb 4, 2012 7:17:25 AM
Function 1 a = 0 def printA(): print(a) ...
Paste #22976, pasted on Feb 4, 2012 7:14:58 AM
a = 0 def printA(): print(a) printA() ...