Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

python PAMIEÎÊÌâÇóÖú

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

ÈçºÎÐ޸ģ¬²Å¿ÉÒÔ¼ÌÐøÖ´ÐÐÏÂÃæµÄÓï¾ä


ÒýÓÃ
ÓÑÇéUPһϣ¬Ã»ÓùýPAM30£¬ÒòΪie.clickButton('file')ÓÐÎÊÌ⣬µ÷ÓÃDOMʧ°Ü£¬ÏÂÃæµÄ´úÂëÊDz»»á±»Ö´Ðеġ£
http://www.virscan.org/µÇ¼²»ÁËŶ£¬Ç½µôÁË£¿

ie.clickButton('file')Ó¦¸ÃÊÇÖ´Ðгɹ¦ÁË£¬Äܳɹ¦µ÷Æðä¯ÀÀ±¾µØÎļþµÄ´°¿Ú
±­¾ßÁË£¬http://www.virscan.org/·ÃÎʲ»ÁË

ºÙºÙ£¬Æ®¹ý£¬Ñ§Ï°ÏÂ....


Ïà¹ØÎÊ´ð£º

python½Ì³ÌÖÐʹÓÃÔ´ÎļþµÄÎÊÌâ~~

ʹÓÃÔ´Îļþ

#!/usr/bin/python
# Filename : helloworld.py
print 'Hello World'

ÎÒÔõôҲ¿´²»¶®£¡Ö»ÊÇ×îºóÒ»ÐÐÎÒÖªµÀ~~Ç°ÃæÁ½ÐÐÊÇʲôÒâ˼ÄØ£¿
½Ì³ÌÉÏ˵Èç¹ûÄãʹÓÃIDLE£¬ÇëʹÓò˵ ......

³õѧPYTHON£¬´ó¼ÒÖ÷ÒªÓÃËüÀ´×öʲô

    ¸Õ½Ó´¥£¬¸Ð¾õ¹¦ÄܱȽÏÇ¿´ó£¬Ö÷ÒªÊÇÕ³ºÏÐԺ㬿ÉÒÔÓлú½áºÏÆäËûÓïÑÔ¡£µ«²»Ã÷°×ËüÖ÷ÒªÓ¦ÓÃÓÚʲôÁìÓò£¬Ö÷Òª×öÄÇ·½ÃæµÄ¶«¶«¡£¿ª·¢ERPϵͳÊÇ·ñ¿ÉÐУ¿
»ù±¾ÉÏʲô¶¼¿ÉÒÔ×ö

½ñÌìÈ¥¿´ÁËһϣ¬»ù±¾ÉÏʲô ......

[ÌáÎÊ]Python ÈçºÎºöÂÔ whitespace ¶ÁÈë

Ïñ C µÄ scanf() ÄÇÑù
±ÈÈç¶ÁÈë 1 2 3 a b c
ÿ´Î¶ÁÈëÒ»¸ö
ÏÂÃæÕâ¸öÓ¦¸ÃÊÇÄãÏëÒªµÄ°É£º
Python code:

>>> k = raw_input()
0 0123 ds dsl sd
>>> k
'0 0123 ds dsl sd'
>>> ......

Ë­ÍƼöÒ»±¾Ñ§Ï°PYTHONµÄÊ飬лл

Ë­ÍƼöÒ»±¾Ñ§Ï°PYTHONµÄÊ飬лл
¡¶python¼òÃ÷½Ì³Ì¡·£¬¡¶pythonºËÐıà³Ì¡·

×÷Ϊϵͳ¹ÜÀí·½Ã棬¡¶Python UNIXºÍLinuxϵͳ¹ÜÀíÖ¸ÄÏ¡·ÊDZ¾·Ç³£²»´íµÄÊé¡£
http://club.book.csdn.net/pic3/255142.jpg

ÒýÓÃ
×÷Î ......

boost.python c++ǶÈëpythonÈçºÎÖØÔØ=£¿

ÎÒÏÖÔÚÓÐÒ»¸öÐèÇóÊÇÕâÑùµÄ
ÎÒÓÐ2¸öÀà
class A
{
public:
int val;
}

class B
{
public:
A a
}

ÏÖÔÚÔڽű¾ÖÐÖ»ÄÜ
b.a.val = 1
ÎÒÔÚpythonÖÐÏëʹÓÃ
b.a = 1
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ