Ôõô¸Ð¾õPythonÄÇôÏñÅú´¦ÀíÄØ£¿
¸Õ¿ªÊ¼Ñ§Ï°Pythonû¼¸Ì죬¿ªÊ¼½Ó´¥ÊäÈëÊä³ö£¬º¯ÊýµÈµÈ¡£
¾ÍÊäÈëÊä³öÀ´Ëµ£¬¸Ð¾õÓеãÏñÅú´¦Àí¡£
ÓÃinput()µÄ·µ»ØÖµ¡£
º¯ÊýÀ´Ëµ¾õµÃҲͦÏñÅú´¦ÀíµÄ·½Ê½µÄcall¡£
´ó¼ÒÈÏΪÄØ£¿
¶¼Êǽű¾ÓïÑÔ¡£¡£¡£
python±È½ÏÓÐÒâ˼µÄÒ»µãÊÇ¿ÉÒÔ°ÑÕû¸ö³ÌÐòдÔÚÒ»ÐÐÀï
Åú´¦ÀíûÓС°ÀࡱµÄ¸ÅÄ¶øPython×÷Ϊһß߼¶±à³ÌÓïÑÔ£¬ËüÓС£
Ïà¹ØÎÊ´ð£º
pythonÈçºÎ½âѹËõ.ZµÄÎļþ°¡£¬ÔÚwindowsϵͳ»·¾³ÏÂ
Q7Z ÊÇÒ»¿î»ùÓÚ Qt4 µÄ 7z ѹËõ¹¤¾ß
http://code.google.com/p/k7z/
¿ªÔ´µÄ
http://sourceforge.net/projects/k7z/
LSµÄÄܾßÌå˵һ˵Âð£¿
......
¸Õ½Ó´¥£¬¸Ð¾õ¹¦ÄܱȽÏÇ¿´ó£¬Ö÷ÒªÊÇÕ³ºÏÐԺ㬿ÉÒÔÓлú½áºÏÆäËûÓïÑÔ¡£µ«²»Ã÷°×ËüÖ÷ÒªÓ¦ÓÃÓÚʲôÁìÓò£¬Ö÷Òª×öÄÇ·½ÃæµÄ¶«¶«¡£¿ª·¢ERPϵͳÊÇ·ñ¿ÉÐУ¿
»ù±¾ÉÏʲô¶¼¿ÉÒÔ×ö
½ñÌìÈ¥¿´ÁËһϣ¬»ù±¾ÉÏʲô ......
ÒÑÖªPython ÖУº
s = unicode("²âÊÔ", "gb2312")
s = u'\u6d4b\u8bd5'
print s
²âÊÔ
ÔÚDelphiÀïÃæÈçºÎ½«\u6d4b\u8bd5ÕâÑùµÄ»¹Ô³ÉGb2312µÄºº×ÖÄØ£¿
ÕÒµ½¸ö·½·¨
......
ÎÒÏÖÔÚÓÐÒ»¸öÐèÇóÊÇÕâÑùµÄ
ÎÒÓÐ2¸öÀà
class A
{
public:
int val;
}
class B
{
public:
A a
}
ÏÖÔÚÔڽű¾ÖÐÖ»ÄÜ
b.a.val = 1
ÎÒÔÚpythonÖÐÏëʹÓÃ
b.a = 1
......
¸Õ¿ªÊ¼ÓÃpython£¬
·¢ÏÖ´úÂëºÜÄÑÔĶÁ¡£
ÓдóÁ¿µÄ°üÊÇfrom½øÀ´µÄ£¬¸ã²»ÇåÊÇÄǸö°üµÄ¡£
sys.pathÖÐÓÖÓдóÁ¿Â·¾¶£¬ÕÒ²»µ½°üµÄλÖá£
ÔΣ¡
¿ÉÒÔ³¢ÊÔÒ»ÏÂeclipse, ÓÃpydev²å¼þ.
°´ÏÂctrl¼ü, È ......