[ create a new paste ] login | about

akx

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:

Saved pastes by akx:

Python, pasted on Jan 13:
1
2
3
4
class Base:
	@classmethod
	def get(cls, id):
		print "Would instantiate a new %r with ID %d."%(cls, id)
...
view (13 lines, 2 lines of output)
Python, pasted on Jun 11:
1
2
3
4
5
import os, sys, zipfile, optparse, zlib, fnmatch, time

optp=optparse.OptionParser(usage="%prog [options] <target-zip> <source-dir> [<source-dir...>]")
optp.add_option("-x", help="exclude mask", action="append", dest="exclude", default=[])
optp.add_option("-q", help="be quiet", action="store_true", dest="quiet", default=False)
...
view (68 lines, 4 lines of output)