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

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

¥»©«³Ì«á¥Ñ zyzzyva ©ó 2016-9-13 13:35 ½s¿è

¦^´_ 121# c_c_lai
³o¸Ì¦³¬Ý¨ì¤@­Ó½d¨Ò¡A§Ú´ú¸Õ¬O¥i¥Hwork¡A¥¿¦b¬ã¨s¡A¦³¿³½ìªºªB¤Í¥i¥H¤@°_°Ñ¦Ò¡C
https://pythonprogramming.net/candlestick-ohlc-graph-matplotlib-tutorial/
¶¶±a¤@´£¡A¥L¤]¦³¤@®Mpython¤Jªùªº¤¶²Ð¼v¤ù¡AÁ¿±o«Ü²M·¡¡A²[»\ªº½d³ò¤]º¡¼sªº¡A§Ú«Ü³ßÅw¡C
matplotlib©xºô¤]¦³¤@¨Ç½d¨Ò¡A¥i¥H¤@¨Ö°Ñ¦Ò¡C
http://matplotlib.org/examples/pylab_examples/finance_demo.html

TOP

¦^´_ 122# lpk187


¤p§Ì¦b¬ã¨s¤@¤U¡A©I¥s¥X¿ù¡AºÃ°Ý?

TOP

¦^´_ 112# koshi0413


    io ¤£¥Î¤U¸ü°Ú¡I¨º¬Opython ªº°ò¥»¼Ò¶ô

TOP

¦^´_ 120# zyzzyva
§Ú«üªº¬OÃþ¦ü¤U¹Ïªº¹Ïªí¤§Ãþªº¡G

TOP

¦^´_ 119# c_c_lai
¤@¯ëµe¹Ï³£¬O¥Îmatplotlib¡A¦bipythonªº¸Ü¥u­n¥Î¡u%pylab in¡v¡A¤§«á´N¥i¥Hª½±µplot(x,y)¡C
test = range(50)
plot(temp)
´Nµe¥X¤@±øª½½u¡C
µe¹Ï¨ä¹ê§Ú¤]¤£¼ô¡A¥i¥H¤@°_¬ã¨s¤@¤U¡C
³o­Óºô­¶ªº¸ê®Æº¡¦hªº¡A¤£ª¾¹D±z¬O·Qµe¤°»ò¼Ëªº¹Ïªí¡H

TOP

¦^´_ 116# zyzzyva
½Ð±Ð¡A ¦pªG·Q§Q¥Î¦¹¶×¤J¸ê®Æ±N¥¦¦P®Éø»s¦¨²Î­p¹Ïªí
­n¦p¦ó°µ¡H

TOP

¦^´_ 116# zyzzyva
­ì¨Ó¥i¥H¨Ï¥Î end='\t' ¤Î print('\n')
Åã¥Üµe­±¤]¾ã»ô¬üÆ[¡AÁÂÁ«ü±Ð¡I

TOP

¦^´_  koshi0413
pythonªº»yªk¬O¡G¡ufor i in range(15):¡v¡A¥[¤W´«¦æ¸ò¹ï»ô¡A±z³o¬q¥N½X¥i¥H²¤¬°­×§ï¦¨
zyzzyva µoªí©ó 2016-9-13 09:50

§Ñ¤F±zªº¬O2.xª©ªº¡A¼Æ¦r¤pªº¸Ü¨S¤°»ò®t§O¡A¼Æ¦r¤jªº¸Ürange­n§ï¦¨xrange

TOP

¦^´_ 108# koshi0413
pythonªº»yªk¬O¡G¡ufor i in range(15):¡v¡A¥[¤W´«¦æ¸ò¹ï»ô¡A±z³o¬q¥N½X¥i¥H²¤¬°­×§ï¦¨
  1. for ta in soup.select('tr')[3:10]:
  2.     for i in range(15):
  3.         print(ta.select("td")[i].text, end='\t')
  4.     print('\n')
½Æ»s¥N½X

TOP

¥»©«³Ì«á¥Ñ koshi0413 ©ó 2016-9-13 09:36 ½s¿è

¦^´_ 113# c_c_lai


©Ò¥H¤p§Ì©ñ±ó³oºØ¼gªk¡A¥ý¥Î¤âºCºCkey¡AÁöµM«Üªü§b¡ã«¢«¢
­n¸Ñªººô­¶¤Ó¦h¤F¡A©Ò¥H¸Ñ±¼¤@­Ó°¨¤W¸Ñ¤U¤@­Ó
µ¥§â©Ò»Ýºô­¶¥þ¸Ñ§¹«á¦b¥þ¥[¤J®É¶¡°j°é+­ÓªÑ¥N¸¹°j°é¤U¥h¶]
µe¹Ï¬O¦b¤U¤@¨B¡A¨ì®É¦b¨Ó¬ã¨s~

TOP

        ÀR«ä¦Û¦b : ¤p¨Æ¤£°µ¡B¤j¨ÆÃø¦¨¡C
ªð¦^¦Cªí ¤W¤@¥DÃD