代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/160583/10516883
py scatter_demo.py
#!/usr/bin/env python
from pylab import *
N = 30
x = 0.9*rand(N)
y = 0.9*rand(N)
area = pi*(10 * rand(N))**2 # 0 to 10 point radiuses
scatter(x,y,s=area, marker='^', c='r')
savefig('scatter_demo')
s
www.eeworm.com/read/160583/10516988
py print_stdout.py
#!/usr/bin/env python
# print png to standard out
# usage: python print_stdout.py > somefile.png
import sys
import matplotlib
matplotlib.use('Agg')
from pylab import *
plot([1,2,3])
savefig(sys.stdo
www.eeworm.com/read/160583/10517253
py subplot_toolbar.py
#!/usr/bin/env python
from pylab import *
fig = figure()
subplot(221)
imshow(rand(100,100))
subplot(222)
imshow(rand(100,100))
subplot(223)
imshow(rand(100,100))
subplot(224)
imshow(rand(100,100))
www.eeworm.com/read/160583/10517295
py coords_report.py
#!/usr/bin/env python
# override the default reporting of coords (coords reporting not
# implemented yet on wx*)
from pylab import *
def millions(x):
return '$%1.1fM' % (x*1e-6)
x = rand(2
www.eeworm.com/read/277989/10587569
readme
This directory includes some useful codes:
1. subset selection tools.
2. parameter selection tools.
Part I: Subset selection tools
Introduction
============
Training large data is time consuming.
www.eeworm.com/read/277989/10587658
win makefile.win
#You must ensure nmake.exe, cl.exe, link.exe are in system path.
#VCVARS32.bat
#Under dosbox prompt
#nmake -f Makefile.win
PYTHON_INC = c:\python24\include
PYTHON_LIB = c:\python24\libs\python24.lib
www.eeworm.com/read/419765/10839106
h basetsd.h
#ifndef _BASETSD_H
#define _BASETSD_H
/* Microsoft free compilers seem to lack this file and Python needs it */
#endif
www.eeworm.com/read/348907/10860471
po ca.po
# Catalan translation of meld
# Copyright (C) 2004 Free Software Foundation
# This file is distributed under the same license as the meld package.
# Xavier Conde Rueda , 2004.
#
www.eeworm.com/read/348907/10860473
po pa.po
# translation of pa.po to Punjabi
# This file is distributed under the same license as the PACKAGE package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
# Amanpreet Singh Alam
www.eeworm.com/read/348907/10860479
po nl.po
# translation of meld.
# Copyright (C) 2004 the meld's copyright holder.
# This file is distributed under the same license as the meld package.
# Daniel van Eeden , 2004.
# Tino Meine