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

Ôõô¸Ð¾õPythonÄÇôÏñÅú´¦ÀíÄØ£¿

¸Õ¿ªÊ¼Ñ§Ï°Pythonû¼¸Ì죬¿ªÊ¼½Ó´¥ÊäÈëÊä³ö£¬º¯ÊýµÈµÈ¡£

¾ÍÊäÈëÊä³öÀ´Ëµ£¬¸Ð¾õÓеãÏñÅú´¦Àí¡£

ÓÃinput()µÄ·µ»ØÖµ¡£

º¯ÊýÀ´Ëµ¾õµÃҲͦÏñÅú´¦ÀíµÄ·½Ê½µÄcall¡£

´ó¼ÒÈÏΪÄØ£¿
¶¼Êǽű¾ÓïÑÔ¡£¡£¡£

python±È½ÏÓÐÒâ˼µÄÒ»µãÊÇ¿ÉÒÔ°ÑÕû¸ö³ÌÐòдÔÚÒ»ÐÐÀï

Åú´¦ÀíûÓС°ÀࡱµÄ¸ÅÄ¶øPython×÷Ϊһß߼¶±à³ÌÓïÑÔ£¬ËüÓС£


Ïà¹ØÎÊ´ð£º

python½âѹËõµÄÎÊÌâ

pythonÈçºÎ½âѹËõ.ZµÄÎļþ°¡£¬ÔÚwindowsϵͳ»·¾³ÏÂ
Q7Z ÊÇÒ»¿î»ùÓÚ Qt4 µÄ 7z ѹËõ¹¤¾ß
http://code.google.com/p/k7z/

¿ªÔ´µÄ

http://sourceforge.net/projects/k7z/

LSµÄÄܾßÌå˵һ˵Âð£¿
......

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

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

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

PythonÖеÄUnicodeÔÚDelphiÈçºÎ»¹Ô­³ÉGb2312£¿

ÒÑÖªPython ÖУº
s = unicode("²âÊÔ", "gb2312")
s = u'\u6d4b\u8bd5'
print s
²âÊÔ

ÔÚDelphiÀïÃæÈçºÎ½«\u6d4b\u8bd5ÕâÑùµÄ»¹Ô­³ÉGb2312µÄºº×ÖÄØ£¿
ÕÒµ½¸ö·½·¨
......

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

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

class B
{
public:
A a
}

ÏÖÔÚÔڽű¾ÖÐÖ»ÄÜ
b.a.val = 1
ÎÒÔÚpythonÖÐÏëʹÓÃ
b.a = 1
......

ÓÐûÓз½±ãµÄpythonÔĶÁÆ÷ѽ£¿

¸Õ¿ªÊ¼ÓÃpython£¬
·¢ÏÖ´úÂëºÜÄÑÔĶÁ¡£

ÓдóÁ¿µÄ°üÊÇfrom½øÀ´µÄ£¬¸ã²»ÇåÊÇÄǸö°üµÄ¡£
sys.pathÖÐÓÖÓдóÁ¿Â·¾¶£¬ÕÒ²»µ½°üµÄλÖá£

ÔΣ¡
¿ÉÒÔ³¢ÊÔÒ»ÏÂeclipse, ÓÃpydev²å¼þ.

°´ÏÂctrl¼ü, È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ