PythonµÄ²Ù×÷·û
1.#£º×¢ÊÍ·û
2.±È½ÏÔËËã·û(»ù±¾ºÍJavaÀàËÆ)
< <= > >= == != <>
PythonÄ¿Ç°Ö§³ÖÁ½ÖÖ"²»µÈÓÚ"±È½ÏÔËËã·û£¬!=ºÍ<>£¬·Ö±ðÊÇC·ç¸ñºÍABC/Pascal·ç¸ñ¡£Ä¿Ç°ºóÕßÂýÂýµØ±»ÌÔÌÁË£¬
ÍƼöʹÓÃÇ°Õß¡£
ÔÚPythonÖУ¬Ö§³Ö3<4<5ÕâÑùµÄ±í´ïʽ£¬¼È¼ò½àÓÖÓÅÃÀ¡£Ëüʵ¼ÊÉÏÊÇÏÂÃæ±í´ïʽµÄËõд£º
3<4 and 4<5
½¨Ò飺ºÏÀíʹÓÃÀ¨ºÅÒÔÔö¼Ó´úÂëµÄ¿É¶ÁÐÔ
ÔںܶೡºÏʹÓÃÀ¨ºÅ¶¼ÊÇÊÇÒ»¸öºÃÖ÷Òâ¡£À¨ºÅÔÚPythonÖв»ÊDZØÐë´æÔڵģ¬²»¹ýΪÁ˿ɶÁÐÔ£¬Ê¹ÓÃÀ¨ºÅ×ÜÊÇÖµµÃµÄ¡£ÈκÎά»¤Äã´úÂë
µÄÈ˶¼»á¸ÐлÄ㣬ÔÚÄãÔÙ´ÎÔĶÁ×Ô¼ºµÄ´úÂëʱ£¬ÄãÒ²»á¸ÐлÄã×Ô¼º¡£
3.Âß¼ÔËËã·û
and or not
4.²¼¶ûÐÍ
TrueºÍFalse(Ê××Öĸ¾ùΪ´óд)
Ïà¹ØÎĵµ£º
ÀµÓºƣ¨http://laiyonghao.com£©
½ñÌ죨2009Äê5ÔÂ31ÈÕ£© OurPNP.org ¸ãÁ˸ö¾Û»á»î¶¯£¬ÅªÁËÊ®¼¸¶þÊ®¸öÈËÔÚ¹ãÖݺ£Öé¹ã³¡µÄÌûá´ôÁËÎå¸öСʱ£¬´´ÏÂÁËÎÒÔÚ K ·¿´ôµÄ×ʱ¼ä¼Í¼¡£Ó¦ËûÃǵÄÑûÇ룬ÎÒ×öÁ˸öÌâΪ¡¶Óà python ¿ìËٴÍøÓηþÎñÆ÷¡·µÄСÑݽ²£¬ÒòΪÄDZߵĵçÊÓ¾¹È»²»ÄܽӵçÄÔ£¬ËùÒÔ½²µÄʱºòûÓÐÄܹ»²ÎÕÕ PPT À´½²£¬¹Û ......
threading — Higher-level threading interface
This module constructs higher-level threading interfaces on top of the lower level _thread module. See also the queue module.
The dummy_threading module is provided for situations where threading cannot be used because _thread is missing.
......
PythonÒѾÊÇ3.1°æ±¾ÁË,Óëʱ¾ã½ø¸üн̳Ì.
±¾ÎÄÊʺÏÓÐJava±à³Ì¾ÑéµÄ³ÌÐòÔ±¿ìËÙÊìϤPython
±¾ÎijÌÐòÔÚwindows xp+python3.1a1 ²âÊÔͨ¹ý.
±¾ÎÄÌáµ½µÄidleÖ¸python shell,¼´°²×°pythonºóÄãÔڲ˵¥¿´µ½µÄIDLE(python gui)
ÔÚidleÀïctrl+n¿ÉÒÔ´ò¿ªÒ»¸öд°¿Ú,ÊäÈëÔ´Âëºóctrl+s¿ÉÒÔ±£´æ,f5ÔËÐгÌÐò.
·²´ò¿ªÐ´°¿Ú¼´Ö¸ctrl ......
1.½âÊÍÐÔ ¿ÉÒÔÖ±½Ó´ÓÔ´´úÂëÔËÐгÌÐò.ÔÚ¼ÆËã»úÄÚ²¿,Python½âÊÍÆ÷°ÑÔ´´úÂëת»»³É³ÆΪ×Ö½ÚÂëµÄÖмäÐÎʽ,È»ºóÔÙ°ÑËü·Òë³É¼ÆËã»úʹÓõĻúÆ÷ÓïÑÔ²¢ÔËÐÐ.
2.#·ûºÅºóÃæµÄÄÚÈݶ¼ÊÇ×¢ÊÍ.
3.ÔÚ×Ö·û´®ÖÐÐÐÄ©µÄ'\'±íʾÏÂÒ»ÐеÄÄÚÈݺÍÉÏÒ»ÐÐÊǽÓ×ŵÄ;×Ö·û´®Ç°¼ÓÒ»¸ör±íʾijЩ²»ÐèҪתÒå·ûÄÇÑùµÄÌرð´¦ÀíµÄ×Ö·û´®;ÔÚ´¦ÀíÎı¾ÎļþµÄʱºòÊ ......