代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/417168/11001628
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:\python23\include
PYTHON_LIB = c:\python23\libs\python23.lib
www.eeworm.com/read/468225/6995101
mk call_class.mk
call_class: call_class.o
gcc -o call_class call_class.o -L/usr/local/lib/python2.4/config -lpython2.4 -lpthread -lm -ldl -lutil
call_class.o: call_class.c
gcc -c call_class.c -I/usr/local
www.eeworm.com/read/459924/7262669
makefile
# This makefile was written to compile a distribution of pyfann for
# GNU platforms (cygwin included.)
ROOT=/
PYTHON=python
SOURCES = pyfann/*.i pyfann/*.h
all: build-stamp
linux:
@(cd p
www.eeworm.com/read/454470/7389305
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:\python23\include
PYTHON_LIB = c:\python23\libs\python23.lib
www.eeworm.com/read/451700/7457906
readme
Start program:
$ python run_flash.py
Used falsh card DB specified in memocard.cfg, option 'defaultdb'
www.eeworm.com/read/450574/7480867
py example.py
#!/usr/bin/python
# need root privileges
import struct
import sys
import time
from socket import AF_INET, AF_INET6, inet_ntoa
sys.path.append('python')
sys.path.append('build/python')
import nfque
www.eeworm.com/read/450574/7480868
py nfq_dump_pcap.py
#!/usr/bin/python
# need root privileges
import struct
import sys
import time
from socket import AF_INET, AF_INET6, inet_ntoa
sys.path.append('python')
sys.path.append('build/python')
import nfque
www.eeworm.com/read/446006/7586833
py listing15-4.py
#!/usr/bin/env python
print 'Content-type: text/plain'
print # Prints an empty line, to end the headers
print 'Hello, world!'
www.eeworm.com/read/446006/7586834
py listing15-5.py
#!/usr/bin/env python
import cgitb; cgitb.enable()
print 'Content-type: text/html'
print
print 1/0
print 'Hello, world!'
www.eeworm.com/read/446006/7586835
py listing15-6.py
#!/usr/bin/env python
import cgi
form = cgi.FieldStorage()
name = form.getvalue('name', 'world')
print 'Content-type: text/plain'
print
print 'Hello, %s!' % name