Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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

ÇóÖúpythonµÄ×Ö·û´®´¦Àí

ÐèÇó£º
Îļþa.txtÄÚÈÝÈçÏÂ
>> cat a.txt
/* ME Type=DEC, Version=V100R003C01*/
/* ME Type=NOV, Version=V100R003C00*/
/* ME Type=CCVS, Version=V100R003C03*/
/* ME Type=OCTOB, Version=V100R003C08*/

ÇëÎÊÈçºÎʹÓÃpython½Å±¾»ñÈ¡ÎļþÖеÄME type£¬Ê¹Ö®¶ÔÊý×éa¸³Öµ£º
a1=DEC
a2 ......

ÇóÖúpythonµÄÎı¾´¦Àí

¾ÙÀý£º
Îļþa  ´óÔ¼1000ÐРÿÐÐΪһ¸ö´ÊÓï
±ÈÈç˵£º
ÎÄÃ÷
ÎÀÉú
ÓÎÏ·
ÓéÀÖ
¡£¡£¡£¡£

Îļþb ´óÔ¼1000ÐРÿÐÐΪһ¶Î»°
±ÈÈç˵£º
ΪʲôÐèҪʹÓÃ×Ó×éÆ¥ÅäÄØ? Ö÷ÒªÊÇÓÐʱ³ýÁ˽øÐÐÆ¥Åä²Ù×÷Íâ
×Ô2001Äê1ÔÂ15ÈÕÕýʽ³ÉÁ¢£¬ÓÉά»ùýÌå»ù½ð»á¸ºÔðά³Ö£¬½ØÖÁ2009Äê11ÔÂʱ£¬Î¬»ù°Ù¿ÆÌõÄ¿ÊýµÚ ......

python·¢ËÍÓʼþ»áµÄ½øÀ´°ï°ïæ

´úÂëÔÚÕâ¸öÁ¬½Ó
http://blog.donews.com/maverick/archive/2007/04/22/1159142.aspx
·½·¨def sendEmail(authInfo, fromAdd, toAdd, subject, plainText, htmlText):

Õâ¸ö·½·¨ÊDz»Êǵ¥¶À¾Í¿ÉÒÔÄóöÀ´Óà Èç¹û¿ÉÒÔÆäÖеIJÎÊýË­Äܸø˵һÏÂ
¸øÌî¸öÀý×Ó ²»Ê¤¸Ð¼¤
authInfo['server'] = 'smtp.163.co ......

python¶¨Ê±Ö´ÐÐÈÎÎñ

ÐèÇóÊÇÿÌìÔÚÒ»¸ö¹Ì¶¨Ê±¼ä·¢Ë͸øÂú×ãÌõ¼þµÄÓû§Ò»·âÓʼþ

ÀýÈçÎÒÒªÔÚÿÌìÔç8µã·¢ËÍÒ»¸öÓʼþ Ôõô¶¨Ê±Ö´ÐÐ ÌìÌìÕâ¸öʱ¼ä Ö´ÐÐÒ»±éÏàÓ¦µÄº¯Êý
python µÄfrom threadingºÃÏñÄܽâ¾ö

ÎÒÏëÖªµÀÔõô»ñµÃÿÌì°ËµãÖ´Ðк¯ÊýÕâ¸öʼþ
Âé·³¶®µÄÈËÔ­Àí˵˵ßÂ
Ë­ÖªµÀÎÒÔÚÔËÐгÌÐòµÄʱºò ÏëÈÃËû×Ô¶¯Ö´ÐÐÒ»¸ö·½·¨
²» ......

¶®pythonµÄjava¸ßÊÖÇë½Ì - Java / Java SE

ÇëÎʸßÊÖ£¬pythonÀïµÄpopenÀàËÆjavaÀïµÄÄĸöÀà»òÕß·½·¨ÄØ£¿£¿ÁíÍâjython¿ª·¢java¸ÃÈçºÎʹÓÃjythonÄØ£¿£¿
1.¿ÉÄܺÍjavaÀïµÄRuntime.getRuntime().exec£¨"ϵͳÃüÁî"£©; Æô¶¯½ø³Ì
2.eclipseÏÂÔØjython ²å¼þ £¬È»ºóÖ¸¶¨jythonλÖÃ

No£¬Ó¦¸ÃºÍjavaµÄstream²î²»¶à¡£¡£¹ÜµÀ¡£¡£¡£¶ÁÈë¶Á³ö¡£¡£

ÎÒ¾ÍÊÇÏëÖªµÀÈçº ......

python ²Ù×÷postgresqlµÄpgdb¿âµÄÎÊÌâ

ÈçºÎ»ñȡвåÈë¼Ç¼µÄij¸ö×ֶΡ£ÒÔusers±íΪÀý£¬±íÖÐÓÐ×Ö¶Îid£¨×ÔÔö£©£¬ÔÚ²åÈëÍê±ÏÖ®ºóÈçºÎ»ñÈ¡¸ÃÌõ¼Ç¼µÄid£¿
ÁíÄÄλÈÊÐÖÄܸøÎÒµãpgdbµÄ×ÊÁÏ£¬¿´ÁËÏÂÓ¢ÎĵÄ×ÊÁÏ£¬¸Ð¾õ²»ÊǺܺÃÀí½â....

ÒýÓÃ
û·ÖÈ¢²»µ½Ï±¸¾ Ä㻹¸Ò¸ø40£¡²»ÏëҪϱ¸¾À²£¡£¡

ÒªÊÇÄÜ°ïÎÒÕâ¸öÎÊÌâ¸ã¶¨£¬ÎÒ°Ñ·ÖÈ«É¢³öÈ¥£¬Ï±¸¾Ò²²»È¢ÁË¡£

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