代码搜索结果

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

dolfin-convert

#!/usr/bin/env python # # Copyright (C) 2006 Anders Logg # Licensed under the GNU LGPL Version 2.1 # # Modified by Garth N. Wells (gmsh function) # Modified by Alexander H. Jarosch (gmsh fix) # Modifi

test1.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

mpdlib.py

#!/usr/bin/env python # # (C) 2001 by Argonne National Laboratory. # See COPYRIGHT in top-level directory. # import sys, os, signal, popen2, socket, select, inspect from cPickle import

t047treeparser.g

grammar t047treeparser; options { language=Python; output=AST; } tokens { VAR_DEF; ARG_DEF; FUNC_HDR; FUNC_DECL; FUNC_DEF; BLOCK; } program : declaration+ ;

newuser

#!/usr/bin/python # # add a new user to a Samba4 server # Copyright Andrew Tridgell 2005 # Copyright Jelmer Vernooij 2008 # Released under the GNU GPL version 3 or later # import sys # Find right di

setpassword

#!/usr/bin/python # # add a new user to a Samba4 server # Copyright Andrew Tridgell 2005 # Copyright Jelmer Vernooij 2008 # Released under the GNU GPL version 3 or later # import os, sys # Find righ

jtag.py

#!/usr/bin/env python #Parallel JTAG programmer for the MSP430 embedded proccessor. # #(C) 2002 Chris Liechti #this is distributed under a free software license, see license.txt # #

readme

yply.py This example implements a program yply.py that converts a UNIX-yacc specification file into a PLY-compatible program. To use, simply run it like this: % python yply.py [-nocode] inputfil

dump.py

#!/usr/bin/env python import sys from xml.sax import ContentHandler, make_parser logs_list = [] class docHandler(ContentHandler): def __init__(self, *arg, **kw): ContentHandler.__init_

pst-handler-config.h

#ifndef _PST_HANDLER_CONFIG_H #define _PST_HANDLER_CONFIG_H #include #include "streamtuner.h" typedef struct { PyObject_HEAD STHandler *handler; } PSTHandlerConfig; extern PyTypeO