Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : Python

ÎÒÓ¦¸ÃÑ¡Ôñperl»¹ÊÇpython»¹ÊÇÆäËû°¡ лл

ÎÒµÄÑо¿·½ÏòÊÇÖÐÎÄÐÅÏ¢´¦ÀíÖеÄÎı¾·ÖÀàÏà¹ØµÄ¶«¶«
ÔÙ¾ßÌåÒ»µã¾ÍÊÇÎı¾ÇãÏòÐÔ£¬Çé¸Ð·ÖÀàÖ®ÀàµÄ¶«¶«¡£¡£¡£¡£
ÏëѧһÃŽű¾ÓïÑÔÀ´±à³Ì¡£¡£¡£
Ï£Íû´ó¼Ò°ïæÍƼöһϰ¡ лл
Õâ¶ÔÎÒÀ´ËµºÜÖØÒªµÄ
Ó¦¸Ã¶¼ÐУ¬ÎÞËùν£¡¿´ÄãÈÏΪÄĸö¼òµ¥£¡

Ó¦¸Ã¶¼¿ÉÒÔµÄ,¿´×Ô¼º~~

¸öÈËÍƼöPython£¬Ã»±ðµÄ£¬¼òµ¥ÊµÓá£

ϲ»¶¼ ......

python ÕýÔòÆ¥ÅäÖÐÎÄ

ÔÚÎı¾ÎļþÖÐÆ¥ÅäÏî°üº¬ÖÐÎÄ
ÈçÄÚÈÝΪ£ºgamename=ÖÐÎÄ 
  key=ÌìÏÂ
Îı¾ÎļþµÄ±àÂëµÄÎļþΪutf-8
python´úÂëÈçÏ£º
# -*- coding:UTF-8 -*-
  contents=open(from_path,'r')
  content=contents.readlines()
  contents.close() ......

python PAMIEÎÊÌâÇóÖú

Ä£Äâ´ò¿ªÔÚÏß²éѯÎļþÊÇ·ñÖж¾µÄÍøÕ¾
import PAM30
    ie = PAM30.PAMIE()
    ie.navigate('http://www.virscan.org/')  Æô¶¯IE£¬´ò¿ª¶ÔÓ¦ÍøÕ¾
    ie.clickButton('file') µã»÷htmlÖÐÃû×ÖΪfileµÄBUTTON£¬¼´¡®ä¯ÀÀ¡£¡£¡¯µÄ°´Å¥
    Ö´Ðе½ ......

ÎÒÔÚÓÃPYTHONдץ°ü³ÌÐò,Ò»Ö±Ìáʾģ¿éûÓб»µ÷ÓÃ

Ô´³ÌÈçÏÂ:

Python code:

import pcap
import dpkt
pc = pcap.pcap();


µÚÒ»ÐÐ,µÚ¶þÐж¼Ã»ÓÐÎÊÌâ,¾ÍÊǵÚÈýÐб¨´í,°¦,ÕÛÌںþÃÁË,ÕæÏë·ÅÆúPYTHON

E:\cmd>pcap.py
Traceback (most recent call last):
  File "E:\cmd\pcap.py", line 3, in <module>
  &n ......

Çë½Ì¸ßÊÖ¹ØÓÚpython¿ª·¢webµÄÎÊÌâ¡£

ÇëÎʸßÊÖ£¬ÈçºÎÓÃpython¿ª·¢webʱ£¬²»ÓÃcssÑùʽ±íÖ±½ÓÓÃpythonÓïÑÔʵÏÖÍøÕ¾Ò³ÃæЧ¹ûÔÚ800*600¡¢1200*1600¡¢1024*768µÈÏÔʾ·Ö±æÂʵÄÏÔʾÆ÷ÉÏÕý³£ÏÔʾÄØ£¿£¿
²»Ã÷°×ÄãÒª×öʲô...

1. web¿ª·¢, ʼÖÕ´«Ë͹ýÀ´, ä¯ÀÀÆ÷¶¼ÊÇ°´ÕÕHTMLµÄ¹æ·¶À´½âÎöµÄ.
2. python×÷ΪÕâÀ࿪·¢Öеĺǫ́, ²»Ó¦¸Ã¹Øעǰ̨.
3. ǰ̨Äܹ»ÊµÏ ......

pythonÈëÃż¶ÎÊÌâ

ÇëÎÊÈçºÎ½«ËùÓÐprintµÄÐÅÏ¢Ò»´Îд³ÉÒ»¸ötxtÎı¾£¬Ð»Ð»£¡
¿ÉÒÔʹÓÃÄÚÖú¯Êý
configfile = open('test.txt','a')  ##open·½·¨µÄÁ½¸ö²ÎÊý£¬µÚÒ»¸öÊÇҪдµÄtxtÎı¾µÄ·¾¶ºÍÃû×Ö
configfile.writelines(str)  ##strÊÇÄãÒªprintµÄÐÅÏ¢£¬¼´ÎªÒªÐ´ÈëtxtµÄÎı¾
configfile.close()

¿ÉÄÜÎÒ˵ ......
×ܼǼÊý:175; ×ÜÒ³Êý:30; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [10] [11] [12] [13] 14 [15] [16] [17] [18] [19]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ