代码搜索结果

找到约 10,000 项符合 Python 的代码

comparelanguages.html

RedBlack Tree Example: Comparison of C++, Java, Python, Ruby and MATLAB

new_login_user.py

#!/usr/bin/env python import sys db={} def newuser(): prompt='name: ' while True: name=raw_input(prompt) if db.has_key(name): prompt='name taken ,try ano

new_login_user.py

#!/usr/bin/env python import sys db={} def newuser(): prompt='name: ' while True: name=raw_input(prompt) if db.has_key(name): prompt='name taken ,try ano

new_login_user.py

#!/usr/bin/env python import sys db={} def newuser(): prompt='name: ' while True: name=raw_input(prompt) if db.has_key(name): prompt='name taken ,try ano

grid.py

#!/usr/bin/env python import os, sys, traceback import Queue import getpass from threading import Thread from string import find, split, join from subprocess import * # svmtrain and gnuplot executab

grid.py

#!/usr/bin/env python import os, sys, traceback import Queue import getpass from threading import Thread from string import find, split, join from subprocess import * # svmtrain and gnuplot executab

xenapi initial meeting notes.txt

Comments from community: 1) The client-side C bindings are in tools/libxen. Much of the work will be in xend of course, which is the Python bits. 2) I'm looking into xen api code these day

redundantimportdetector.py

"""RedundantImportDetector.py Discover redundant java imports using brute force. Requires Python 2.3""" import os, sys, re from glob import glob reportFile = file("RedundantImports.txt", 'w')

svmstruct.py

"""A module that SVM^python interacts with to do its evil bidding.""" svmpython_parameters = {'index_from_one':False} def parse_struct_parameters(sparm): """Sets attributes of sparm based on com

func_doc.py

#!/usr/bin/python # Filename: func_doc.py def printMax(x, y): '''Prints the maximum of two numbers. The two values must be integers.''' x = int(x) # convert to integers, if possible