代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/169058/9883748
py 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')
www.eeworm.com/read/167822/9951429
py install.py
#!/usr/bin/env python
# $Id: install.py,v 1.7 2002/01/04 11:12:33 marijn Exp $
################# INSTALLER CODE ##################
##### Only touch if you know what your doing! #####
## For configura
www.eeworm.com/read/358094/10196174
py manage.py
#!/usr/bin/env python
from django.core.management import execute_manager
try:
import settings # Assumed to be in the same directory.
except ImportError:
import sys
sys.stderr.write("
www.eeworm.com/read/160583/10516797
py interactive.py
#!/usr/bin/env python
"""Multithreaded interactive interpreter with GTK and Matplotlib support.
Usage:
pyint-gtk.py -> starts shell with gtk thread running separately
pyint-gtk.py -pylab [filen
www.eeworm.com/read/160583/10516809
py agg_test.py
# this example uses the agg python module directly there is no
# documentation -- you have to know how to use the agg c++ API to use
# it
import matplotlib.agg as agg
from math import pi
## Define so
www.eeworm.com/read/160583/10516846
py pythonic_matplotlib.py
#!/usr/bin/env python
"""
Some people prefer to write more pythonic, object oriented, code
rather than use the pylab interface to matplotlib. This example show
you how.
Unless you are an application
www.eeworm.com/read/160583/10516865
py legend_demo.py
#!/usr/bin/env python
# Thanks to Charles Twardy for this example
#
#See http://matplotlib.sf.net/examples/legend_demo2.py for an example
#controlling which lines the legend uses and the order
from
www.eeworm.com/read/160583/10516899
py embedding_in_gtk.py
#!/usr/bin/env python
"""
show how to add a matplotlib FigureCanvasGTK or FigureCanvasGTKAgg widget to a
gtk.Window
"""
import gtk
from matplotlib.axes import Subplot
from matplotlib.figure import F
www.eeworm.com/read/160583/10516936
py masked_demo.py
#!/bin/env python
'''
Plot lines with points masked out.
This would typically be used with gappy data, to
break the line at the data gaps.
'''
import matplotlib.numerix.ma as M
from pylab import *
www.eeworm.com/read/160583/10517050
py ftface_props.py
#!/usr/bin/env python
"""
This is a demo script to show you how to use all the properties of an
FT2Font object. These describe global font properties. For
individual character metrices, use the Glyp