ÈçºÎ½«Ò»¶ÎPython´úÂëÉú³É¿â
ÈçºÎ½«PythonдµÄÒ»¶Î´úÂëÉú³ÉpydÐÎʽµÄ¿â?
ÎÒÖªµÀµÄ·½·¨ÓУº½«Õâ¶ÎPython´úÂëÀ©Õ¹³ÉC´úÂ룬Ȼºóͨ¹ýVC½«Õâ¶ÎC´úÂëÉú³Éºó׺Ϊ.pydµÄ¶¯Ì¬Á´½Ó¿â¡£
²»ÏëÓÃÕâô±¿µÄ·½·¨£¬ÇëÎÊÓÐûÓбȽϼòµ¥µÄ·½·¨£¿Ð»Ð»£¡
¶¥Ò»Ï£¬¹Ø×¢ÖÐ
»¹ÕæûʲôºÃ°ì·¨£¬pydÆäʵ¾ÍÊÇdll
Ö»ÖªµÀpyc
°¥£¬¿´À´Ö»ÄÜÓñ¿·½·¨ÁË
2樓ÐÖµÜ說ÁË£¬pyd¾ÍÊÇdll¡£
進來½Ó·Ö£º£©
Ïà¹ØÎÊ´ð£º
ÎÒÿ´ÎÉÏ´«µÄÎļþ¶Áµ½µÄÊý¾Ý¶¼²»ÕýÈ·¡£2M µÄͼƬ¶ÁµÃ10¶àK ¡£¡£ÄÄλ´óÏÀ¿ÉÒÔ°ï°ïÎÒ°¡¡£
#!D:\ProgrammerTools\python26\python.exe
#encoding=utf-8
import cgitb
import os
cgitb.enable()
import cgi,urllib ......
ѧϰpythonµÄ7±¾Êé
°üÀ¨6±¾chm£¬Ò»±¾pdf×ÊÁÏ
¶ÔѧϰpythonÓкܴóµÄ°ïÖú
http://download.csdn.net/source/619791
¾«ÐÄËѼ¯£¬²»Òª»ý·Ö£¬ÄóöÀ´·ÖÏí
лл¥Ö÷£¬ÐÁ¿àÁË~
lz ×îºÃ°ÑÊéÃûºÍ¼òµ¥½éÉܼÓÉ ......
СµÜ½Ó´¥python 2¸öÐÇÆÚÁË£¬°²×°µÄÊÇpython3.1°æ¡£
ÎÒÓõÄÊÇwindows7£¬Ïëд¸öµ÷ÓÃdllµÄ³ÌÐòʵ¼ù¡£ÎÊÌâÀ´ÁË£º
C++´úÂ룺
extern "C" int __stdcall test();
int __stdcall te ......
ÇëÏÈ¿´ÏÂÃæµÄ¼òµ¥´úÂ룺
Python code:
from tkinter import *
root = Tk()
v = IntVar()
v.set(0)
for i in range(3):
Radiobutton(root,
variable = v,
value = i ......
#! c:\python26
# Filename: backup_ver1.py
import os
import time
source=[r'C:\test', r'C:\test1']
target_dir='D:\\back\\'
target=target_dir+time.strftime('%Y%m%d%H%M%S')+'.zip'
zip_command=" ......