python PAMIEÎÊÌâÇóÖú
Ä£Äâ´ò¿ªÔÚÏß²éѯÎļþÊÇ·ñÖж¾µÄÍøÕ¾
import PAM30
ie = PAM30.PAMIE()
ie.navigate('http://www.virscan.org/') Æô¶¯IE£¬´ò¿ª¶ÔÓ¦ÍøÕ¾
ie.clickButton('file') µã»÷htmlÖÐÃû×ÖΪfileµÄBUTTON£¬¼´¡®ä¯ÀÀ¡£¡£¡¯µÄ°´Å¥
Ö´Ðе½ÕâÀïºó£¬ÏÂÃæÔÙ½ÓÈκÎÓï¾ä£¨°üÀ¨Ö´ÐÐprint£©£¬¶¼²»»á¼ÌÐøÖ´ÐÐ
ÈçºÎÐ޸ģ¬²Å¿ÉÒÔ¼ÌÐøÖ´ÐÐÏÂÃæµÄÓï¾ä
ie.clickButton('file')Ó¦¸ÃÊÇÖ´Ðгɹ¦ÁË£¬Äܳɹ¦µ÷Æðä¯ÀÀ±¾µØÎļþµÄ´°¿Ú
±¾ßÁË£¬http://www.virscan.org/·ÃÎʲ»ÁË
ºÙºÙ£¬Æ®¹ý£¬Ñ§Ï°ÏÂ....
Ïà¹ØÎÊ´ð£º
ʹÓÃÔ´Îļþ
#!/usr/bin/python
# Filename : helloworld.py
print 'Hello World'
ÎÒÔõôҲ¿´²»¶®£¡Ö»ÊÇ×îºóÒ»ÐÐÎÒÖªµÀ~~Ç°ÃæÁ½ÐÐÊÇʲôÒâ˼ÄØ£¿
½Ì³ÌÉÏ˵Èç¹ûÄãʹÓÃIDLE£¬ÇëʹÓò˵ ......
¸Õ½Ó´¥£¬¸Ð¾õ¹¦ÄܱȽÏÇ¿´ó£¬Ö÷ÒªÊÇÕ³ºÏÐԺ㬿ÉÒÔÓлú½áºÏÆäËûÓïÑÔ¡£µ«²»Ã÷°×ËüÖ÷ÒªÓ¦ÓÃÓÚʲôÁìÓò£¬Ö÷Òª×öÄÇ·½ÃæµÄ¶«¶«¡£¿ª·¢ERPϵͳÊÇ·ñ¿ÉÐУ¿
»ù±¾ÉÏʲô¶¼¿ÉÒÔ×ö
½ñÌìÈ¥¿´ÁËһϣ¬»ù±¾ÉÏʲô ......
Ïñ 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 UNIXºÍLinuxϵͳ¹ÜÀíÖ¸ÄÏ¡·ÊDZ¾·Ç³£²»´íµÄÊé¡£
http://club.book.csdn.net/pic3/255142.jpg
ÒýÓÃ
×÷Î ......
ÎÒÏÖÔÚÓÐÒ»¸öÐèÇóÊÇÕâÑùµÄ
ÎÒÓÐ2¸öÀà
class A
{
public:
int val;
}
class B
{
public:
A a
}
ÏÖÔÚÔڽű¾ÖÐÖ»ÄÜ
b.a.val = 1
ÎÒÔÚpythonÖÐÏëʹÓÃ
b.a = 1
......