ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[­ì³Ð] python¤W¥«Âd¤T¤jªk¤H¶R½æ¶W¤é³ø¸ê®Æ¤U¸ü

¦^´_ 12# zyzzyva

TOP

¥»©«³Ì«á¥Ñ lpk187 ©ó 2016-8-31 09:05 ½s¿è

¦^´_ 21# c_c_lai

jupyter©MIDLE°õ¦æ¦³ÂI¤£¦P¡Ajupyter¬O¤@¬q¤@¬q°õ¦æªº¡A
°õ¦æ¬Y¬q¥²¶·Ä~©Ó¤W¤@¦¸ªº°õ¦æ¡A§_«h·|¿ù»~
¦Ó°õ¦æªºµ²ªG¡A«h¬O¦b¬Y¬qªº¤U­±¡AShift Enter ¬O¹ïªº

   

TOP

±ÀÂ˨ϥΠAnaconda ªº Python ª©¥», ¦]¬°³o­Óª©¥»À°§A§â³\¦h®M¥ó (¤×¨ä¬O¬ì¾Ç­pºâ¡B¸ê®Æ¤ÀªR¬ÛÃöªº) ³£¸Ë¦n¤F¡C

    https://www.continuum.io/downloads

TOP

¦^´_ 21# c_c_lai
À³¸Ó¬O¦]¬°µ{¦¡¥»¨­¨S¦³print out¥ô¦óªF¦è¡A¥i¥H¬Ý¤@¤U¸ô®|¤U¦³¨S¦³§ì¨ìÀɮסA©Î¬O¦bµ{¦¡³Ì¤U­±¥[­Óprint("test")¸Õ¸Õ¬Ý¡C

TOP

¦^´_ 23# lpk187
ÁÂÁ§A¡I§Ú¤U¸ü¸Õ¸Õ¡I

TOP

¦^´_ 24# zyzzyva
§Ú¦A¨Ó¦hTRY´X¦¸¸Õ¸Õ¡I¦hÁ§A¤F¡I

TOP

½Ð°Ý­Y­n«ü©w¤é´Á¤U¸ü¸Ó«ç»ò¼g

TOP

¦^´_ 27# clianghot546
¦³¦w¸Ëpythonªº¸Ü, ª½±µ§â«e­±¤é´Áªº³¡¥÷µù¸Ñ±¼¡A¦Û¤vµ¹©w´N¥i¥H¤F¡A°²³]¬O­n§ì8/31ªº¸ê®Æ¡A´N¬O¹³³o¼Ë¡G
  1. ##mydate = time.strftime("%Y/%m/%d")
  2. ##year = str(int(mydate[0:4])-1911)
  3. ##mydate2 = mydate.replace(mydate[0:4],year)

  4. mydate = "2016/8/31"
  5. mydate2 = "105/8/31"
½Æ»s¥N½X
¦pªG¬O­n¯àÅý¨Ï¥ÎªÌ¿é¤J¡A¥i¥H¥Îinput¡C(©Î¬O¥Îsys¼Ò²Õªºargv[]¨ú±ocmd¤Uªº°Ñ¼Æ)

TOP

¦^´_ 28# zyzzyva
ÁÂÁ¦^ÂСA­è±µÄ²PYTHON¡A°¨¤W¨Ó´ú¸Õ¤@¤U¡C

TOP

¦^´_ 28# zyzzyva
Python 3.4 ª©ªº­n¦b­þ¸Ì¤U¸ü¡H §Ú¬O¥Î 3.5
¦ý¦³¨ÇªF¦è¥d¥dªº¡C

TOP

        ÀR«ä¦Û¦b : ¤H¨ÆªºÁ}Ãø»PµZ¿i¡A´N¬O¤@ºØ¦ÒÅç¡C
ªð¦^¦Cªí ¤W¤@¥DÃD