IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
ç°¡åãªèª¬æ ãããã§ã«Pythonãã¤ã³ã¹ãã¼ã«ããã¦ãããªãã°ããã£ã2ã¹ãããã§TurboGearsãã¤ã³ã¹ãã¼ã«ãããã¨ãã§ãã¾ãï¼ tgsetup.pyã¹ã¯ãªããããã¦ã³ãã¼ããã tgsetup.pyãå®è¡ããï¼*nixãMacãªãpython tgsetup.pyï¼æ³¨æï¼TurboGearsã®ä¸é¨ã¯Pyrexã«ä¾åãã¦ãããããã¯ã¾ã Python 2.5ã«å¯¾å¿ãã¦ãã¾ãããã§ãã®ã§Python 2.4ãæ¨å¥¨ãã¾ãã ããå°ã詳ãã Python 2.4ãã¤ã³ã¹ãã¼ã«ãã Python ãåãã¦æã«ããã®ã§ããã°æè¿ãã¾ããããã¯ãã°ãããè¨èªã§ãã Python 2.4ã¤ã³ã¹ãã¼ã©ããã¦ã³ãã¼ãããï¼Python 2.5 ã¯ã¾ã ãµãã¼ãããã¦ãã¾ããï¼ ã¤ã³ã¹ãã¼ã©ãå®è¡ãã Pathç°å¢å¤æ°ã«Pythonã追å ãã ããã¤ã³ã³ãã¥ã¼ã¿ããå³ã¯ãªãã¯ããã¡ãã¥
blogã¨ããååã§ããã¸ã§ã¯ããä½ã [C:\works]tg-admin.exe quickstart Enter project name: blog Enter package name [blog]: Do you need Identity (usernames/passwords) in this project? [no] yes Select your provider sqlobject or sqlalchemy [sqlobject]: blogã¨ãããã£ã¬ã¯ããªãä½æãããã ãã®ä¸ã«ããã²ã¨ã¤blogãã£ã¬ã¯ããªããã£ã¦ããã®ä¸ã«controllers.pyãmodel.pyãªã©ã®Pythonãã¡ã¤ã«ãããã ãã¼ã¿ã¢ãã«(ãã¡ãããªãã¸ã§ã¯ããªã®ã§é©å½ãªæ¯ãèããä»ãå ãããã¨ãã§ããã)ã¯model.pyã§å®ç¾©ããã blogã®ãã¼ã¿ã¯ä»¥ä¸ã®ãããªæã cl
ã¿ããªã®IoT/ã¿ããªã®Pythonã®èè ãäºåçè¿ã160平米ã®åºä»ãä¸æ¸å»ºã¦ã«å«/æ¯å/å¨/ãããã¨æ®ããã¦ã¾ããæé1000ä¸PV/150ä¸UUã®Webãµã¼ãã¹éå¶ä¸ã å 責äºé ãã©ã¤ãã·ã¼ããªã·ã¼ TurboGears 0.9ããæè¼ããã¦ããCatWalkã使ã£ã¦ã¿ããCatWalkã¨ã¯ï¼ãã¼ã¿ãã¼ã¹ã®å®ç¾©ãåçã«èªã¿è¾¼ãã§ï¼CRUDãã©ã¼ã ãèªåçæãã¦ããããã¼ã«ã 使ãæ¹ã¯ç°¡åã§ï¼controllers.py㧠from turbogears.toolbox.catwalk import CatWalk ãã¦ï¼Rootã¯ã©ã¹ãªã©ã« catwalk=CatWalk(model) ã¨å®ç¾©ãã¦ãããã ããTurboGearsã®ã¢ããªãèµ·åãï¼http://localhost:8080/catwalk/ ãªã©ã«ã¢ã¯ã»ã¹ããã¨ï¼CatWalkã®ç»é¢ãç¾ããã ä¸ã®ã³ã¼ãã§ï¼Root
More than 5,000 organizations count on our digital courses and more to help their teams learn the tools and technologies that drive business outcomes. We can help yours too. New AI policy for OâReilly authors and talent OâReilly president Laura Baldwin shares the companyâs ethical approach to leveraging GenAI tools and ensuring OâReilly experts are compensated for their work. Read it now Itâs time
Turbogears 0.8.8 ã§æ¥æ¬èªãå«ããã¼ã¿ã表示ãããã¨ããããUnicodeDecodeErrorãçºçããã ã°ã°ã£ã¦è¦ãã¨ã kid ã¨ã³ã³ã¼ãã£ã³ã° ããªãè¨äºãçºè¦ã kid.assume_encoding="utf-8" ã®è¨è¿°ããã³ãã¬ã¼ãã«è¿½å ãã¦ã¿ãããèµ·åå¾ã®æåã®è¡¨ç¤ºã§ UnicodeDecodeError ãçºçãããï¼åç®ä»¥éã¯åé¡ãªã表示ããã®ã«ã ãã°ãã½ã¼ã¹ãçºããªãããturbogears/view.py ã«ç´æ¥è¨è¿°ãã¦ã¿ãã 22: compiledTemplates = {} 23: serializer = kid.HTMLSerializer(encoding="utf-8") 24: kid.assume_encoding="utf-8" ããã§åé¡ãªãã 0.8.9 ãã¢ããããã¦ãã®ã§ãã¼ã¸ã§ã³ã¢ãããã¦è©¦ãã¦ã¿ãªãã¨ã¨æããªãã
brazilããã®MochiKit解説è¨äº(http://d.hatena.ne.jp/brazil/20060122/1137926216)ãèªãã§ãã¦ãé¢æ°åè¨èªé¢¨ã®ããã°ã©ã ã¯èªã¿ã«ãããªã¨æã£ããèªã¿ã«ããåå ãã¤ãã¤ãã¨èãã¦ã¿ãã¨ãæ¥æ¬èªã®è¨èªæ§é ã¨åç½®åãç¸æ§ãæªãã®ãåå ã®ä¸ã¤ã§ã¯ãªããã¨æã£ãã MochiKitã¯JavaScriptã®ã©ã¤ãã©ãªã§ãããPythonã®å½±é¿ãåãã¦ãããLispãªã©ã®é¢æ°åè¨èªé¢¨ãªè¨è¿°ãåºæ¥ããbrazilããã®è¨äºã§åãä¸ãããã¦ãããµã³ãã«ã»ã³ã¼ãã¯ãã¡ãã theSum = sum(takewhile( partial(operator.gt, 10), imap( partial(operator.mul, 2), count() ) )); ok( theSum == (0 + 2 + 4 + 6 + 8) ); theSum ã«
ã¿ããªã®IoT/ã¿ããªã®Pythonã®èè ãäºåçè¿ã160平米ã®åºä»ãä¸æ¸å»ºã¦ã«å«/æ¯å/å¨/ãããã¨æ®ããã¦ã¾ããæé1000ä¸PV/150ä¸UUã®Webãµã¼ãã¹éå¶ä¸ã å 責äºé ãã©ã¤ãã·ã¼ããªã·ã¼ æ ãã£ã¦TurboGearsã使ã£ã¦ã¿ããã ãã©ï¼ãã¼ãï¼ããã¯ãããã ç§ã®ãã¼ã ã°ã©ã¦ã³ãã§ããZope/Ploneã¨æ¯ã¹ã¦ï¼éæã«ã¤ãã¦ãã£ããã¨æ¸ãã¦ã¿ã¾ãã èããZODBã®åªä½æ§ Zopeã¨ããã°ZODBãZopeã¯ãªãã¸ã§ã¯ããã¼ã¿ãã¼ã¹å èµãªã®ã§ï¼å¥éRDBMSãç«ã¦ããããå¿ è¦ãªãï¼Webã¢ããªã§å©ç¨ãããã¼ã¿ãä¿åã§ããããªãã¸ã§ã¯ããã¼ã¿ãã¼ã¹èªä½ã«ã¯Pythonã®ã¯ã©ã¹ã¤ã³ã¹ã¿ã³ã¹ãã®ãã®ãä¿åãããããã¼ãã«ãå®ç¾©ããå¿ è¦ããªããPythonã®ã¯ã©ã¹ãæ¸ãã°ãããZODBã®åå¨ããZopeã®ä¾¡å¤ãã®ããªã大ããªé¨åãå ãã¦ããã¨è¨ã£ã¦ããã¨æãã ä¸æ¹ï¼ããæ°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}