代码搜索结果

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

server-vsn.py

#!/usr/bin/env python # # server-vsn.py: print a Subversion server's version number # # USAGE: server-vsn.py URL # # The URL can contain any path on the server, as we are simply looking # for Apache's

scramble-tree.py

#!/usr/bin/env python2 # # Usage: scramble-tree.py [SEED] # # Makes multiple random file changes to a directory tree, for testing. # # This script will add some new files, remove some existing f

normalize-dump.py

#!/usr/bin/python import sys import re import string header_re = re.compile(r'^(.*): ?(.*)$') class NodePath: def __init__(self, path, headers): self.path = path self.headers =

dialog_scratch.py

#!/usr/bin/env python import wx import images class App(wx.App): def __init__(self, redirect=True, filename=None): wx.App.__init__(self, redirect, filename) def OnInit(self

util.c

/* * util.c * Miscellaneous support * * Copyright (C) 1997,1999 Martin von L鰓is * Copyright (C) 1997 R間is Duchesne * * The utf8 routines are copied from Python wstrop module. */ #include

mtv_setup.py

#!/usr/bin/env python # # (C) 2001 by Argonne National Laboratory. # See COPYRIGHT in top-level directory. # from distutils.core import setup, Extension mtv = Extension("mtv",["mtv.c"]) set

test4.py

#!/usr/bin/env python # (C) 2001 by Argonne National Laboratory. # See COPYRIGHT in top-level directory. # # Note that I repeat code for each test just in case I want to # run one separately.

test5.py

#!/usr/bin/env python # (C) 2001 by Argonne National Laboratory. # See COPYRIGHT in top-level directory. # # Note that I repeat code for each test just in case I want to # run one separately.

test3.py

#!/usr/bin/env python # (C) 2001 by Argonne National Laboratory. # See COPYRIGHT in top-level directory. # # Note that I repeat code for each test just in case I want to # run one separately.

test2.py

#!/usr/bin/env python # (C) 2001 by Argonne National Laboratory. # See COPYRIGHT in top-level directory. # # Note that I repeat code for each test just in case I want to # run one separately.