Þ•õÄKl˜ ™¦·&Ò)ù#9*O!z$œÁÞü4"O&r,™(ÆTïDD‰§+¾ê # DKc¯ÃÉJç27K1ƒjµ #)Mi„#™9½)÷"!XD¯"Æ&é$, Qe]ÃØÞî"52GzBÒì "aAK£bï>RL‘!Þ " @7 x ~ – ¯ Ç Ö Ü ï #õ !!;!W!"]!-€!®!?Ë! ""#"&B"@i":ª"7å"#9$#J^#©#R¼#$N$$s$x$ Ž$œ$;¹$#õ$%%#0%'T%!|%ž%¾%Ä%@É% &!&J0&{&(€& ©& ´&/Á&dñ&V'['mw'å'øõ(õî)ää*JÉ+;,'P,x,‘,™,­,BÊ,` -"n-ï‘-.•.¨.­.2¶.Yé. C/ Q/_/s/ ‡/”/&­/Ô/Ø/ ð/ü/0!0 00<0 C0#d0$ˆ0#­0$Ñ0Bö0*91d1k1[ˆ1ä122!2 *242J2b2|22˜2´2=Í2= 3OI3™3­)4×4ö4{ý5Ly6’Æ69Y7O“7ã8Jé8E49jz9bå9+H:at:ÀÖ:5—;hÍ;’6<’É<E\=1¢=1Ô=+>s2>¦>»>/Ö>?+$?P?V?Ks?,¿?+ì?(@ A@#b@‚†@! A8+AdA"}A$ AÅAÍAÖA ßA(êAC'C'8C6`C<—CÔCíC@ D0JD6{D0²D0ãD6EQKE6E<ÔEKF:]Fn˜FHG=PGŽG?£G'ãG3 H4?H*tH‚ŸH%"I HI0UIc†I9êIf$JB‹J«ÎJzK4K1¶KèK)L6/LDfL5«L6áL|M+•M3ÁMGõMS=N:‘N1ÌNþN“O*¢O ÍOÚO-ùO1'PYPsPbŠPíPQQVQ%uQ1›Q'ÍQ¨õQgžR®SfµST0œT!ÍT<ïTW,U „U"‘U´U%ÏUõUV V+V,2V"_V$‚V §V*´V:ßVCWR^W±W ÐW0ÚWF XfRX]¹X]Y uYZ‚Y^ÝY%€Kœ€6è€0½P‚#,‚KP‚Bœ‚1ß‚ƒ1ƒrGƒNºƒ+ „*5„'`„0ˆ„Û¹„0•…3Æ…$ú…*†*J†u†|†ƒ†І&ãsÑóPÆÓ2è})XˆÚxu=Ì ®»0еÍÔ±.°³Ê„“ÖDen¯*MÅ ê9G™‘;b¶iC3פ©~ç{‚”LJ¢o:Ï«'käm’ œÈàÂEÀ(¸%<Uº€´âÜ,8í1¿7[­@Q‰Äƒp#R²fŒI›v|4Zô+Þ…ìõWr6ÒtNg‹?d£ñï" $ªÙ\!`/O ¼ y½—ލ–Îc¬š¡_ë5·áHßlÁKÛØ]ÝLFBzž hSwYA¾¹˜¥-^†ðjåÃÕq•ŸVË>ÉæaéŠîJ§ò¦T Runtime: {} above this line# Write your code here :-)'{}' successfully copied to micro:bit.'{}' successfully deleted from micro:bit.(A dict of {} items.)(A list of {} items.)A file of that name is already open in Mu.A good programmer asks questions.A good programmer avoids complexity.A good programmer is humble.A good programmer is patient.A good programmer is playful.A good programmer is willing to say, 'I don't know'.A good programmer learns to learn.A good programmer promotes simplicity.A good programmer thinks beyond the obvious.Access the file system on the micro:bit.Algorithm: a word used by programmers when they don't want to explain what they did.An open mind, spirit of adventure and respect for diversity are key.Awesome! Zero problems found.BBC micro:bit SettingsBe brave, break things, learn and have fun!Beautiful is better than ugly.Cannot Set Breakpoint.Cannot connect to device on port {}Change Mu's mode of behaviour.Change mode at any time by clicking the "Mode" button containing Mu's logo.Changed to {} mode.CheckCheck your code for mistakes.Click on the device's reset button, wait a few seconds and then try again.Coding is collaboration.Complexity is the enemy. KISS - keep it simple, stupid!Compliment and amplify the good things with code.Connection timed out. Is your machine slow or busy? Free up some of the machine's resources and try again.ContinueContinue to run your Python script.Copied code onto micro:bit.Copying '{}' to micro:bit.Could not find "{}".Could not find MicroPython runtime.Could not find an attached Adafruit CircuitPython device.Could not find an attached BBC micro:bit.Could not find an attached device.Could not find localhost. Ensure you have '127.0.0.1 localhost' in your /etc/hosts file.Could not load {}Could not rename file.Could not save file (disk problem)Could not save file (encoding problem)Create a new Python script.Create code using standard Python 3.Current LogCurrently Mu only works with Python source files or hex files created with embedded MicroPython code.Data Flood Detected!DebugDebug InspectorDebug your Python 3 code.Debug your Python script.Debugger error: {}Debugger info: {}Debugger requires a Python script filename to run.Debugger warning: {}Debugging is twice as hard as writing the code in the first place.Delete (cannot be undone)Deleting '{}' from micro:bit.Detected new {} device.Diversity promotes creativity.Does this file exist? If it does, do you have permission to read it? Please check and try again.Don't worry if it doesn't work. Learn the lesson, fix it and try again! :-)Error saving file to disk. Ensure you have permission to write the file and sufficient disk space.Errors should never pass silently. Unless explicitly silenced.Explaining a programming problem to a friend often reveals the solution. :-)Explicit is better than implicit.File already existsFile already exists; overwrite it?File system cannot work at the same time as the REPL or plotter.FilesFiles on your computer:Files on your micro:bit:Filesystem on micro:bitFind / ReplaceFind:Finished flashing.FlashFlash your code onto the micro:bit.Flashing "{}" onto the micro:bit.Flat is better than nested.FontsFor the Zen of Python: import thisGetting '{}' from micro:bit. Copying to '{}'.Good job! No problems found.Google, Facebook, NASA, Pixar, Disney and many more use Python.Graphical DebuggerHelpHighlighting matches for "{}".Hurrah! Checker turned up no problems.If the implementation is easy to explain, it may be a good idea.If the implementation is hard to explain, it's a bad idea.If you don't know, ask. Nobody to ask? Just look it up.ImagesIn the face of ambiguity, refuse the temptation to guess.In theory, theory and practice are the same. In practice, they're not. ;-)Is this a {} file?It looks like this could be a {} file. Would you like to change Mu to the {}mode?It's fun to program.Lines that are comments or some multi-line statements cannot have breakpoints.LoadLoad a Python script.Logging to {}Make games with Pygame Zero.Make your software both useful AND fun. Empower your users.Minify Python code before flashing?ModeMu AdministrationMu cannot read the characters in {}Mu was created by Nicholas H.Tollervey.Mu was not able to open this fileMu's current mode of behaviour.MusicNameNamespaces are one honking great idea -- let's do more of those!NewNice one! Zero problems detected.Now is better than never. Although never is often better than *right* now.OpenOpen a serial connection to your device.Open in MuOpening '{}'Our minifier tried but your script is too long!Override the built-in MicroPython runtime with the following hex file (empty means use the default):PlayPlay your Pygame Zero game.Please do not disconnect the device until flashing has completed. Please check the logs for more information.Please ensure you leave enough time for the BBC micro:bit to be attached and configured correctly by your computer. This may take several seconds. Alternatively, try removing and re-attaching the device or saving your work and restarting Mu if the device remains unfound.Please make sure the device is plugged into this computer. It must have a version of MicroPython (or CircuitPython) flashed onto it before the Plotter will work. Finally, press the device's reset button and wait a few seconds before trying again.Please make sure the device is plugged into this computer. It must have a version of MicroPython (or CircuitPython) flashed onto it before the REPL will work. Finally, press the device's reset button and wait a few seconds before trying again.Please make sure the device is plugged into this computer. The device must have MicroPython flashed onto it before the file system will work. Finally, press the device's reset button and wait a few seconds before trying again.Please select the desired mode then click "OK". Otherwise, click "Cancel".Please try again, this time with something in the find box.Plot data from your script or the REPL.Plot incoming REPL data.PlotterProblem with scriptProgrammers count from zero.Programming has more to do with problem solving than writing code.Programming is a form of magic. Learn to cast the right spells with code and you'll be a wizard.Put yourself in your users' shoes.Python files for Adafruit CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, Mu will use the directory found here: {} ...to store your code.Python3 EnvironmentPython3 data tupleQuitQuit Mu.REPL and file system cannot work at the same time.REPL stands for read, evaluate, print, loop. It's a fun way to talk to your computer! :-)REPL started.REPL stopped.Readability counts.Replace (optional):Replace all?Replaced "{}" with "{}".Replaced {} matches of "{}" with "{}".RunRun your Python script.Running: {}SaveSave the current Python script.Saved file: {}Select ModeSerialShow help about Mu in a browser.Show the fonts used by Pygame Zero.Show the images used by Pygame Zero.Show the music used by Pygame Zero.Show the sounds used by Pygame Zero.Simple is better than complex. Complex is better than complicated.Simplicity is the ultimate sophistication.SoundsSparse is better than dense.Special cases aren't special enough to break the rules. Although practicality beats purity.Start with your users' needs.Starting iPython REPL.Step InStep OutStep OverStep into a function.Step out of a function.Step over a line of code.StopStop the running code.Stop your Pygame Zero game.Stop your Python script.Stopping iPython REPL (this may take a short amount of time).Successfully copied '{}' from the micro:bit to your computer.Syntax error. Python cannot understand this line. Check for missing characters!The REPL and file system both use the same USB serial connection. Only one can be active at any time. Toggle the file system off and try again.The environment variables shown below will be set each time you run a Python 3 script. Each separate enviroment variable should be on a new line and of the form: NAME=VALUEThe file "{}" is already open.The file contains characters Mu expects to be encoded as {0} or as the computer's default encoding {1}, but which are encoded in some other way. If this file was saved in another application, re-save the file via the 'Save as' option and set the encoding to {0}The file system and the REPL and plotter use the same USB serial connection. Toggle the REPL and plotter off and try again.The micro:bit runtime you specified ('{}') does not exist. Please try again.The plotter and file system both use the same USB serial connection. Only one can be active at any time. Toggle the file system off and try again.The plotter and file system cannot work at the same time.The plotter is flooded with data which will make Mu unresponsive and freeze. As a safeguard, the plotter has been stopped. Flooding is when chunks of data of more than 1024 bytes are repeatedly sent to the plotter. To fix this, make sure your code prints small tuples of data between calls to 'sleep' for a very short period of time.ThemeThere is un-saved work, exiting the application will cause you to lose it.There should be one-- and preferably only one --obvious way to do it.There was a problem copying the file '{}' onto the micro:bit. Please check Mu's logs for more information.There was a problem deleting '{}' from the micro:bit. Please check Mu's logs for more information.There was a problem flashing the micro:bit.There was a problem getting '{}' from the micro:bit. Please check Mu's logs for more information.There was a problem getting the list of files on the micro:bit. Please check Mu's logs for technical information. Alternatively, try unplugging/plugging-in your micro:bit and/or restarting Mu.This editor is called Mu (you say it 'mew' or 'moo').This editor is free software written in Python. You can modify it, add features or fix bugs if you like.This name is already used by another part of Python. If you use that name, things are likely to break. Please try again with a different filename.This name is already used by another part of Python. If you use this name, things are likely to break. Please try again with a different filename.To understand what recursion is, you must first understand recursion.Toggle theme between day, night or high contrast.Try to see things from your users' point of view.Unable to connect to the Python debugger. Unable to convert all the characters. If you have an encoding line at the top of the file, remove it and try again.Unable to flash "{}"Unsupported BBC micro:bit.Use CircuitPython on Adafruit's line of boards.Use the REPL for live coding.Use the REPL to live-code on the micro:bit.ValueWell done! No problems here.When reporting a bug, copy and paste the content of the following log file.Wisest are they that know they know nothing.Would you like to change Mu to the {} mode?Write MicroPython for the BBC micro:bit.You cannot use the filename "{}"You must provide something to find.Your device is newer than this version of Mu. Please update Mu to the latest version to support this device. https://codewith.mu/Your script has finished running.Your script is too long and the minifier isn't availableYour script is too long!Zoom in (to make the text bigger).Zoom out (to make the text smaller).Zoom-inZoom-outuntitled{} PlotterProject-Id-Version: PACKAGE VERSION POT-Creation-Date: 2018-07-13 04:45+JST PO-Revision-Date: 2018-07-13 05:42+JST Last-Translator: Minoru Inachi Language-Team: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generated-By: pygettext.py 1.5 Language: ja ランタイム: {} ã“ã®è¡Œã®ä¸Š# ã“ã“ã«ã‚³ãƒ¼ãƒ‰ã‚’書ã„ã¦ã­ :-)'{}' micro:bit ã¸ã®ã‚³ãƒ”ãƒ¼ãŒæˆåŠŸã—ã¾ã—ãŸã€‚'{}' micro:bit ã‹ã‚‰ '{}' ã®å‰Šé™¤ãŒæˆåŠŸã—ã¾ã—ãŸã€‚(é …ç›® {} ã®è¾žæ›¸ã€‚)(é …ç›® {} ã®ãƒªã‚¹ãƒˆã€‚)ã“ã®åå‰ã®ãƒ•ァイル㯠Mu ã§æ—¢ã«é–‹ã„ã¦ã„ã¾ã™ã€‚優れãŸãƒ—ログラマーã¯å•ã„ã‹ã‘る。優れãŸãƒ—ログラマーã¯è¤‡é›‘ã•ã‚’é¿ã‘る。優れãŸãƒ—ログラマーã¯è¬™è™šã§ã‚る。優れãŸãƒ—ログラマーã¯ç—…æ°—ã§ã‚る。優れãŸãƒ—ログラマーã«ã¯éŠã³å¿ƒãŒã‚る。優れãŸãƒ—ログラマーã¯ã€Œã‚ã‹ã‚‰ãªã„ã€ã¨è¨€ã£ã¦ã‚‚æ§‹ã‚ãªã„。優れãŸãƒ—ログラマーã¯å­¦ã¶ã“ã¨ã‚’å­¦ã¶ã€‚優れãŸãƒ—ログラマーã¯å˜ç´”ã•を推ã—進ã‚る。優れãŸãƒ—ログラマーã¯å½“ãŸã‚Šå‰ã®ä¸€ã¤ä¸Šã‚’考ãˆã¦ã„る。micro:bit ã«ã‚るファイルã«ã‚¢ã‚¯ã‚»ã‚¹ã—ã¾ã™ã€‚アルゴリズム: プログラマーãŒä½•ã‚’ã—ã¦ã„ã‚‹ã‹ã‚’説明ã—ãŸããªã„ã¨ãã«ä½¿ã†è¨€è‘‰ã€‚é–‹ã‹ã‚ŒãŸå¿ƒã€å†’険ã®ç²¾ç¥žã€å¤šæ§˜æ€§ã®å°Šé‡ãŒé‡è¦ã§ã™ã€‚驚ã‚ãã¾ã—ãŸï¼ å•題ã¯ä½•も見ã¤ã‹ã‚Šã¾ã›ã‚“。BBC micro:bit 設定勇気を出ãã†ã€å‰ã«é€²ã‚‚ã†ã€å­¦ã³ã€æ¥½ã—ã‚‚ã†ï¼é†œã„より美ã—ã„ã»ã†ãŒã„ã„。ブレイクãƒã‚¤ãƒ³ãƒˆã‚’設定ã§ãã¾ã›ã‚“。ãƒãƒ¼ãƒˆ {} ã§ãƒ‡ãƒã‚¤ã‚¹ã«æŽ¥ç¶šã§ãã¾ã›ã‚“Mu ã®å‹•作モードを変更ã—ã¾ã™ã€‚Mu ã®ãƒ­ã‚´ã®ã¤ã„㟠"モード" ボタンをクリックã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ã„ã¤ã§ã‚‚モードを変更ã§ãã¾ã™ã€‚モードを {} ã«å¤‰æ›´ã—ã¾ã™ã€‚ãƒã‚§ãƒƒã‚¯ã‚³ãƒ¼ãƒ‰ã®é–“é•ã„ã‚’ãƒã‚§ãƒƒã‚¯ã—ã¾ã™ã€‚デãƒã‚¤ã‚¹ã®ãƒªã‚»ãƒƒãƒˆãƒœã‚¿ãƒ³ã‚’押ã—ã¦æ•°ç§’å¾…ã£ãŸå¾Œã«å†åº¦è©¦ã—ã¦ãã ã•ã„。コーディングã¯ã‚³ãƒ©ãƒœãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ã§ã‚る。複雑ã•ã¯æ•µã§ã‚る。KISS - keep it simple, stupid! (å˜ç´”ã«ã—ã¦ãŠã‘ã€ã“ã®é–“抜ã‘ï¼)コードã®ã‚ˆã„ã¨ã“ã‚ã«æ„Ÿè¬ã—ã€ãれを広ã‚よã†ã€‚接続ãŒã‚¿ã‚¤ãƒ ã‚¢ã‚¦ãƒˆã—ã¾ã—ãŸã€‚マシンãŒé…ã„ã‹ãƒ“ジーã«ãªã£ã¦ã„るよã†ã§ã™ã€‚マシンã®ãƒªã‚½ãƒ¼ã‚¹ã‚’解放ã—ã¦å†åº¦è©¦ã—ãã ã•ã„。継続Python スクリプトã®å®Ÿè¡Œã‚’継続ã—ã¾ã™ã€‚micro:bit ã«ã‚³ãƒ¼ãƒ‰ã‚’コピーã—ã¾ã—ãŸã€‚micro:bit ã«ã‚³ãƒ”ー中。"{}" ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚MicroPython ランタイムãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“。CircuitPython デãƒã‚¤ã‚¹ãŒç¹‹ã’られã¦ã„ãªã„よã†ã§ã™ã€‚BBC micro:bit ãŒç¹‹ã’られã¦ã„ãªã„よã†ã§ã™ãƒ‡ãƒã‚¤ã‚¹ãŒç¹‹ã’られã¦ã„ãªã„よã†ã§ã™ã€‚localhostãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“。/etc/hosts ファイル㫠'127.0.0.1 localhost' ãŒã‚ã‚‹ã‹ç¢ºèªã—ã¦ãã ã•ã„。ファイル {} を読ã¿è¾¼ã‚ã¾ã›ã‚“。ファイルåを変更ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚ファイルをä¿å­˜ã§ãã¾ã›ã‚“ã§ã—ãŸ(ディスクã®å•題)。ファイルをä¿å­˜ã§ãã¾ã›ã‚“ã§ã—ãŸ(エンコーディングã®å•題)。新ã—ã„ MicroPython スクリプトを作æˆã—ã¾ã™ã€‚標準 Python 3 ã®ã‚³ãƒ¼ãƒ‰ã‚’作æˆã—ã¾ã™ã€‚ç¾åœ¨ã®ãƒ­ã‚°ç¾åœ¨ã®ã¨ã“ã‚ Mu 㯠Python ソースファイルã¾ãŸã¯ MicroPython コードãŒåŸ‹ã‚è¾¼ã¾ã‚ŒãŸ hex ファイルã ã‘を扱ãˆã¾ã™ã€‚ãƒ‡ãƒ¼ã‚¿ã®æ°¾æ¿«ã‚’検出ã—ã¾ã—ãŸï¼ãƒ‡ãƒãƒƒã‚°ãƒ‡ãƒãƒƒã‚°ã‚¤ãƒ³ã‚¹ãƒšã‚¯ã‚¿Python 3 コードをデãƒãƒƒã‚°ã—ã¾ã™ã€‚Python スクリプトをデãƒãƒƒã‚°ã—ã¾ã™ã€‚デãƒãƒƒã‚¬ã‚¨ãƒ©ãƒ¼: {}デãƒãƒƒã‚¬æƒ…å ±: {}デãƒãƒƒã‚¬ã¯å®Ÿè¡Œã®ãŸã‚ã« Python スクリプトã®ãƒ•ァイルåã‚’å¿…è¦ã¨ã—ã¾ã™ã€‚デãƒãƒƒã‚¬è­¦å‘Š: {}デãƒãƒƒã‚°ä½œæ¥­ã¯ã€æœ€åˆã«ã‚³ãƒ¼ãƒ‰ã‚’書ãã¨ãよりもå€é›£ã—ã„。削除 (å…ƒã«æˆ»ã›ã¾ã›ã‚“)micro:bit ã‹ã‚‰ '{}' を削除中。新è¦ã® {} デãƒã‚¤ã‚¹ã‚’検出ã—ã¾ã—ãŸã€‚多様性ã¯å‰µé€ æ€§ã‚’促進ã™ã‚‹ã€‚ã“ã®ãƒ•ァイルã¯å­˜åœ¨ã—ã¾ã™ã‹ï¼Ÿ 存在ã—ã¦ã„ã¦ã‚‚èª­è¾¼ã¿æ¨©é™ãŒã‚ã‚‹ã§ã—ょã†ã‹ï¼Ÿ 以上を確èªã—ã¦ã€å†åº¦è©¦ã—ã¦ã¿ã¦ãã ã•ã„。動作ã—ãªãã¦ã‚‚心é…ã™ã‚‹ãªã€‚ãã®å¤±æ•—ã‹ã‚‰å­¦ã³ã€ä¿®æ­£ã—ã¦ã‚„り直ã™ã®ã ï¼ :-)ディスクã¸ã®ãƒ•ァイルã®ä¿å­˜ã§ã‚¨ãƒ©ãƒ¼ã«ãªã‚Šã¾ã—ãŸã€‚ãƒ•ã‚¡ã‚¤ãƒ«ã®æ›¸è¾¼ã¿æ¨©ã¨ãƒ‡ã‚£ã‚¹ã‚¯ã®ç©ºããŒå分ã«ã‚ã‚‹ã‹ã‚’確èªã—ã¦ãã ã•ã„。エラーã¯éš ã™ãªã€ç„¡è¦–ã™ã‚‹ãªã€‚ãŸã ã—ã€ã‚ã–ã¨éš ã•れã¦ã„ã‚‹ã®ãªã‚‰è¦‹é€ƒã›ã€‚å‹äººã«ãƒ—ログラムã®å•題ã®å•題を説明ã™ã‚‹ã“ã¨ã§ã€è§£æ±ºç­–ãŒæ˜Žã‚‰ã‹ã«ãªã‚‹ã“ã¨ã¯ã‚ˆãã‚る。 :-)暗示ã™ã‚‹ã‚ˆã‚Šæ˜Žç¤ºã™ã‚‹ã»ã†ãŒã„ã„ã€‚ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ—¢ã«ã‚りã¾ã™ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ—¢ã«ã‚りã¾ã™ã€‚上書ãã—ã¾ã™ã‹ï¼Ÿãƒ•ァイルシステム㯠REPL やプロッターã¨åŒæ™‚ã«åˆ©ç”¨ã§ãã¾ã›ã‚“。ファイルコンピュータã®ãƒ•ァイル:micro:bit ã®ãƒ•ァイル:micro:bit ã®ãƒ•ァイルシステム検索 / ç½®æ›æ¤œç´¢è»¢é€ã‚’完了ã—ã¾ã—ãŸã€‚転é€ã‚³ãƒ¼ãƒ‰ã‚’ micro:bit ã«è»¢é€ã—ã¾ã™ã€‚micro:bit ã« "{}" を転é€ä¸­ã€‚ãƒã‚¹ãƒˆã¯æµ…ã„ã»ã†ãŒã„ã„。フォントZen of Python を見る方法: import thismicro:bit ã‹ã‚‰ '{}' ã‚’å–得中。{} ã«ã‚³ãƒ”ー中。よãã§ãã¾ã—ãŸï¼ å•題ã¯è¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚Google, Facebook, NASA, Pixar, Disney ãªã©å¤šã㌠Python を使ã£ã¦ã„る。グラフィカルデãƒãƒƒã‚¬ãƒ˜ãƒ«ãƒ—検索ã—㟠"{}" を強調表示ã—ã¾ã—ãŸã€‚ãƒãƒ³ã‚¶ã‚¤ï¼ ãƒã‚§ãƒƒã‚«ã¯å•題を検出ã—ã¾ã›ã‚“ã§ã—ãŸã€‚コードã®å†…容を容易ã«èª¬æ˜Žã§ãã‚‹ã®ãªã‚‰ã€ãŠãらããれã¯ã‚ˆã„実装ã§ã‚る。コードã®å†…容を説明ã™ã‚‹ã®ãŒé›£ã—ã„ã®ãªã‚‰ã€ãã‚Œã¯æ‚ªã„実装ã§ã‚る。分ã‹ã‚‰ãªã„ã“ã¨ãŒã‚ã‚‹ãªã‚‰è³ªå•ã—ã¦ãã ã•ã„。質å•ã¯ã‚りã¾ã›ã‚“ã‹ï¼Ÿã‚¤ãƒ¡ãƒ¼ã‚¸æ›–昧ãªã‚‚ã®ã«å‡ºé€¢ã£ãŸã‚‰ã€ãã®æ„味をé©å½“ã«æŽ¨æ¸¬ã—ã¦ã¯ã„ã‘ãªã„。ç†è«–çš„ã«ã¯ç†è«–ã¨å®Ÿè·µã¯åŒã˜ã§ã‚ã‚‹ãŒã€å®Ÿè·µçš„ã«ã¯ãã†ã§ã¯ãªã„。 ;-)ã“れ㯠{} ファイルã§ã™ã‹ï¼Ÿã“れ㯠{} ファイルã®ã‚ˆã†ã§ã™ã€‚ Mu ã‚’ {} モードã«å¤‰æ›´ã—ã¾ã™ã‹ï¼Ÿãƒ—ãƒ­ã‚°ãƒ©ãƒŸãƒ³ã‚°ã¯æ¥½ã—ã„。コメント行や複数行ã®ã‚¹ãƒ†ãƒ¼ãƒˆãƒ¡ãƒ³ãƒˆã®ä¸€éƒ¨ã¯ãƒ–レイクãƒã‚¤ãƒ³ãƒˆã«è¨­å®šã§ãã¾ã›ã‚“。開ãPython スクリプトを読ã¿è¾¼ã¿ã¾ã™ã€‚ログ出力先: {}Pygame Zero ã§ã‚²ãƒ¼ãƒ ã‚’作æˆã—ã¾ã™ã€‚ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã‚’ä¾¿åˆ©ã§æ¥½ã—ã„ã‚‚ã®ã«ã—よã†ã€‚ãれãŒãƒ¦ãƒ¼ã‚¶ã®åŠ©ã‘ã«ãªã‚‹ã®ã§ã™ã€‚転é€ã®å‰ã« Python コードを縮å°ã—ã¾ã™ã‹ï¼Ÿãƒ¢ãƒ¼ãƒ‰Mu 管ç†Mu 㯠{} ã®æ–‡å­—を読ã¿è¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸã€‚Mu 㯠Nicholas H.Tollervey ãŒä½œæˆã—ã¾ã—ãŸã€‚Mu ã¯ã“ã®ãƒ•ァイルを開ã‘ã¾ã›ã‚“ã§ã—ãŸMu ã®ç¾åœ¨ã®å‹•作モード。音楽åå‰åå‰ç©ºé–“ã¯å„ªã‚ŒãŸã‚¢ã‚¤ãƒ‡ã‚¢ã§ã‚ã‚‹ãŸã‚ã€ç©æ¥µçš„ã«åˆ©ç”¨ã™ã¹ãã§ã‚る。新è¦è‰¯ã„ã§ã™ã­ï¼ å•é¡Œã®æ¤œå‡ºã¯ã‚¼ãƒ­ã§ã™ã€‚ãšã£ã¨ã‚„らãªã„ã§ã„るよりã¯ã€ä»Šã‚„れ。ã§ã‚‚ã€ä»Š"ã™ã"ã«ã‚„るよりã¯ã‚„らãªã„ã»ã†ãŒãƒžã‚·ãªã“ã¨ãŒå¤šã„。開ãデãƒã‚¤ã‚¹ã¸ã®ã‚·ãƒªã‚¢ãƒ«æŽ¥ç¶šã‚’é–‹ãã¾ã™ã€‚Mu ã§é–‹ãé–‹ã中 '{}'縮å°ã—よã†ã¨ã—ã¾ã—ãŸãŒã€ã‚¹ã‚¯ãƒªãƒ—トãŒé•·ã™ãŽã¾ã™ï¼çµ„è¾¼ã¿ã® MicroPython ランタイムを以下㮠hex ファイルã§ä¸Šæ›¸ãã™ã‚‹(空ã§ã‚れã°ãƒ‡ãƒ•ォルトã®ã‚‚ã®ã‚’利用):プレイPygame Zero ゲームをプレイã—ã¾ã™ã€‚転é€ãŒå®Œäº†ã™ã‚‹ã¾ã§ãƒ‡ãƒã‚¤ã‚¹ã‚’å–り外ã•ãªã„ã§ãã ã•ã„。詳ã—ã㯠Mu ã®ãƒ­ã‚°ã‚’確èªã—ã¦ãã ã•ã„。BBC micro:bit ã‚’æ­£ã—ã繋ã’ã¦ã„ã‚‹å ´åˆã§ã‚‚ã€ã‚³ãƒ³ãƒ”ュータãŒãれをèªè­˜ã™ã‚‹ã®ã«ååˆ†ãªæ™‚é–“ã‚’ãŠã„ã¦ãã ã•ã„。ã“れã«ã¯æ•°ç§’ã‹ã‹ã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ãれã§ã‚‚デãƒã‚¤ã‚¹ãŒèªè­˜ã•れãªã„å ´åˆã¯ã€ãƒ‡ãƒã‚¤ã‚¹ä¸€åº¦å–り外ã—ã¦å†åº¦ç¹‹ã’ã‚‹ã‹ã€ã‚¹ã‚¯ãƒªãƒ—トをä¿å­˜ã—㦠Mu ã‚’å†èµ·å‹•ã—ã¦ã¿ã¦ãã ã•ã„。デãƒã‚¤ã‚¹ãŒã“ã®ã‚³ãƒ³ãƒ”ュータã«ç¹‹ã’られã¦ã„ã‚‹ã‹ã‚’確èªã—ã¦ãã ã•ã„。 プロッターãŒå‹•作ã™ã‚‹ã«ã¯ã€MicroPython (ã¾ãŸã¯ CircuitPython)ãŒãƒ‡ãƒã‚¤ã‚¹ã«è»¢é€ã•れã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ 最後ã«ã€ãƒ‡ãƒã‚¤ã‚¹ã®ãƒªã‚»ãƒƒãƒˆãƒœã‚¿ãƒ³ã‚’押ã—ã¦ã‹ã‚‰ã€ã‚‚ã†ä¸€åº¦è©¦ã—ã¦ãã ã•ã„。デãƒã‚¤ã‚¹ãŒã“ã®ã‚³ãƒ³ãƒ”ュータã«ç¹‹ã’られã¦ã„ã‚‹ã‹ã‚’確èªã—ã¦ãã ã•ã„。 REPL ãŒå‹•作ã™ã‚‹ã«ã¯ã€MicroPython (ã¾ãŸã¯ CircuitPython)ãŒãƒ‡ãƒã‚¤ã‚¹ã«è»¢é€ã•れã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ 最後ã«ã€ãƒ‡ãƒã‚¤ã‚¹ã®ãƒªã‚»ãƒƒãƒˆãƒœã‚¿ãƒ³ã‚’押ã—ã¦ã‹ã‚‰ã€ã‚‚ã†ä¸€åº¦è©¦ã—ã¦ãã ã•ã„。デãƒã‚¤ã‚¹ãŒã“ã®ã‚³ãƒ³ãƒ”ュータã«ç¹‹ã’られã¦ã„ã‚‹ã‹ã‚’確èªã—ã¦ãã ã•ã„。 ファイルシステムãŒå‹•作ã™ã‚‹ã«ã¯ã€MicroPython ãŒãƒ‡ãƒã‚¤ã‚¹ã«è»¢é€ã•れã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ 最後ã«ã€ãƒ‡ãƒã‚¤ã‚¹ã®ãƒªã‚»ãƒƒãƒˆãƒœã‚¿ãƒ³ã‚’押ã—ã¦ã‹ã‚‰ã€å†åº¦è©¦ã—ã¦ãã ã•ã„。使ã†ãƒ¢ãƒ¼ãƒ‰ã‚’é¸æŠžã—㦠"OK" をクリックã—ã¦ãã ã•ã„。モードを変更ã—ãªã„å ´åˆã¯ "CANCEL" をクリックã—ã¦ãã ã•ã„ã€‚ä»Šåº¦ã¯æ¤œç´¢ãƒœãƒƒã‚¯ã‚¹ã«ä½•ã‹ã‚’入れã¦ã€ã‚‚ã†ä¸€åº¦ãŠè©¦ã—ãã ã•ã„。スクリプトã¾ãŸã¯ REPL ã‹ã‚‰ã®ãƒ‡ãƒ¼ã‚¿ã‚’プロットã—ã¾ã™ã€‚REPL 入力ã®ãƒ‡ãƒ¼ã‚¿ã‚’プロットã—ã¾ã™ã€‚プロッタースクリプトã«å•題ãŒã‚りã¾ã™ãƒ—ログラマーã¯ã‚¼ãƒ­ã‹ã‚‰æ•°ãˆã‚‹ã€‚プログラミングã¨ã¯ã€ã‚³ãƒ¼ãƒ‰ã‚’書ãã ã‘ã«ã‚らãšã€å•題解決ã™ã‚‹ã¨ã„ã†ã“ã¨ã§ã‚る。プログラミングã¯é­”法ã®ä¸€ç¨®ã€‚æ­£ã—ã„ã‚¹ãƒšãƒ«ã‚’ã‚³ãƒ¼ãƒ‰ã§æ›¸ã方法を学ã¶ã¨é­”法使ã„ã«ãªã‚Œã‚‹ã€‚ユーザã®ç«‹å ´ã§è€ƒãˆã¦ãã ã•ã„。Adafruit CircuitPython デãƒã‚¤ã‚¹ã® Python ファイルã¯ãƒ‡ãƒã‚¤ã‚¹å†…ã«ä¿å­˜ã™ã‚‹ã®ã§ã€ãƒ‡ãƒã‚¤ã‚¹ãŒæŽ¥ç¶šã•れã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚デãƒã‚¤ã‚¹ã‚’接続ã™ã‚‹ã¾ã§ã€Mu ã¯ã‚³ãƒ¼ãƒ‰ã‚’ä¿å­˜ã™ã‚‹ãŸã‚ã«æ¬¡ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’使ã„ã¾ã™: {}Python3 環境Python3 データタプル終了Mu を終了ã—ã¾ã™ã€‚REPL ã¨ãƒ•ァイルシステムã¯åŒæ™‚ã«åˆ©ç”¨ã§ãã¾ã›ã‚“。REPLã¯ã€read (読む)ã€evaluate (評価)ã€print (å°å­—)ã€loop (ループ)ã®ç•¥ã€‚ ãれã¯ã‚ãªãŸã®ã‚³ãƒ³ãƒ”ュータã¨è©±ã™æ¥½ã—ã„æ‰‹æ®µã§ã™ï¼ :-)REPL ãŒå§‹å‹•ã—ã¾ã—ãŸã€‚REPL ãŒåœæ­¢ã—ã¾ã—ãŸã€‚読ã¿ã‚„ã™ã„ã“ã¨ã¯å–„ã§ã‚る。置æ›(オプション)ã™ã¹ã¦ç½®æ›ã—ã¾ã™ã‹ï¼Ÿ"{}" ã‚’ "{}" ã§ç½®æ›ã™ã‚‹ã€‚{} 個㮠"{}" ã‚’ "{}" ã§ç½®æ›ã—ã¾ã—ãŸã€‚実行Python スクリプトを実行ã—ã¾ã™ã€‚実行中: {}ä¿å­˜ç¾åœ¨ã® Python スクリプトをä¿å­˜ã—ã¾ã™ã€‚ä¿å­˜ã—ãŸãƒ•ァイル: {}モードã®é¸æŠžã‚·ãƒªã‚¢ãƒ«Mu ã®ãƒ˜ãƒ«ãƒ—ã‚’Webブラウザã§è¡¨ç¤ºã—ã¾ã™ã€‚Pygame Zero ã§ä½¿ã†ãƒ•ォントを表示ã—ã¾ã™ã€‚Pygame ã§ä½¿ã†ã‚¤ãƒ¡ãƒ¼ã‚¸ã‚’表示ã—ã¾ã™ã€‚Pygame Zero ã§ä½¿ã†éŸ³æ¥½ã‚’表示ã—ã¾ã™ã€‚Pygame Zero ã§ä½¿ã†åŠ¹æžœéŸ³ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚複雑ã§ã‚るよりã¯å¹³æ˜“ã§ã‚ã‚‹ã»ã†ãŒã„ã„。ãれã§ã‚‚ã€è¾¼ã¿å…¥ã£ã¦ã„るよりã¯è¤‡é›‘ã§ã‚ã‚‹ã»ã†ãŒã¾ã—。å˜ç´”ã§ã‚ã‚‹ã“ã¨ã¯ç©¶æ¥µã®æ´—ç·´ã§ã‚る。 効果音密集ã—ã¦ã„るよりã¯éš™é–“ãŒã‚ã‚‹ã»ã†ãŒã„ã„。特殊ã§ã‚ã‚‹ã“ã¨ã¯ãƒ«ãƒ¼ãƒ«ã‚’ç ´ã‚‹ç†ç”±ã«ãªã‚‰ãªã„。ã—ã‹ã—ã€å®Ÿç”¨æ€§ã‚’求ã‚ã‚‹ã¨è‡ªç„¶ã•ãŒå¤±ã‚れるã“ã¨ãŒã‚る。ユーザã®ãƒ‹ãƒ¼ã‚ºã‹ã‚‰å§‹ã‚ãªã•ã„。iPython REPL ã‚’å§‹å‹•ã—ã¾ã™ã€‚ステップインステップアウトステップオーãƒãƒ¼é–¢æ•°ã«ã‚¹ãƒ†ãƒƒãƒ—インã—ã¾ã™ã€‚関数ã‹ã‚‰ã‚¹ãƒ†ãƒƒãƒ—アウトã—ã¾ã™ã€‚コードã®ï¼‘行をステップオーãƒãƒ¼ã—ã¾ã™ã€‚åœæ­¢ã‚³ãƒ¼ãƒ‰ã®å®Ÿè¡Œã‚’åœæ­¢ã—ã¾ã™ã€‚Pygame Zero ã‚²ãƒ¼ãƒ ã‚’åœæ­¢ã—ã¾ã™ã€‚Python ã‚¹ã‚¯ãƒªãƒ—ãƒˆã‚’åœæ­¢ã—ã¾ã™ã€‚iPython REPL ã‚’åœæ­¢(å°‘ã—æ™‚é–“ãŒã‹ã‹ã‚Šã¾ã™)。micro:bit ã‹ã‚‰ã‚³ãƒ³ãƒ”ュータã¸ã® '{}' ã®ã‚³ãƒ”ãƒ¼ãŒæˆåŠŸã—ã¾ã—ãŸã€‚文法エラー。Python ã¯ã“ã®è¡Œã‚’ç†è§£ã§ãã¾ã›ã‚“。間é•ã£ãŸç¶´ã‚ŠãŒãªã„ã‹èª¿ã¹ã¦ãã ã•ã„ï¼REPL ã¨ãƒ•ァイルシステムã¯ã©ã¡ã‚‰ã‚‚ USB シリアル接続を利用ã—ã¾ã™ãŒã€æœ‰åйã«ã§ãã‚‹ã®ã¯å¸¸ã«ã©ã¡ã‚‰ã‹ä¸€æ–¹ã§ã™ã€‚ファイルシステムã®åˆ©ç”¨ã‚’æ­¢ã‚ã¦ã€ã‚‚ã†ä¸€åº¦è©¦ã—ã¦ãã ã•ã„。以下ã«ç¤ºã™ç’°å¢ƒå¤‰æ•°ã¯ Python 3 スクリプトを実行ã™ã‚‹æ¯Žã«è¨­å®šã•れã¾ã™ã€‚ 個々ã®ç’°å¢ƒå¤‰æ•°ã¯æ¬¡ã®å½¢å¼ã§æ”¹è¡Œã§åŒºåˆ‡ã£ã¦æŒ‡å®šã™ã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„: åå‰=値ファイル "{}" ã¯æ—¢ã«é–‹ã„ã¦ã„ã¾ã™ã€‚Mu ãŒå‰æã¨ã—ã¦ã„るファイルエンコーディング㯠{0} ã‹ã‚³ãƒ³ãƒ”ュータã®ãƒ‡ãƒ•ォルト㮠{1} ã§ã™ãŒã€ä»–ã®æ–¹æ³•ã§ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れã¦ã„ã¾ã™ã€‚ ã“ã®ãƒ•ァイルãŒåˆ¥ã®ã‚¢ãƒ—リケーションã§ä¿å­˜ã•れãŸã®ã§ã‚れã°ã€ã€Œåˆ¥åã§ä¿å­˜ã€ã‚ªãƒ—ションã§ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’ {0} を設定ã—ã¦å†ä¿å­˜ã—ã¦ãã ã•ã„。ファイルシステム㨠REPL ã¨ãƒ—ロッターã¯åŒã˜ USB シリアル接続を利用ã—ã¾ã™ã€‚REPL ã¨ãƒ—ロッターã®åˆ©ç”¨ã‚’æ­¢ã‚ã¦ã€å†åº¦è©¦ã—ã¦ãã ã•ã„。指定ã—㟠micro:bit ランタイムã¯å­˜åœ¨ã—ã¾ã›ã‚“。もã†ä¸€åº¦ã‚„り直ã—ã¦ãã ã•ã„。プロッターã¨ãƒ•ァイルシステムã¯ã©ã¡ã‚‰ã‚‚ USB シリアル接続を利用ã—ã¾ã™ãŒã€æœ‰åйã«ã§ãã‚‹ã®ã¯å¸¸ã«ã©ã¡ã‚‰ã‹ä¸€æ–¹ã§ã™ã€‚ファイルシステムã®åˆ©ç”¨ã‚’æ­¢ã‚ã¦ã€ã‚‚ã†ä¸€åº¦è©¦ã—ã¦ãã ã•ã„。プロッターã¨ãƒ•ァイルシステムã¯åŒæ™‚ã«åˆ©ç”¨ã§ãã¾ã›ã‚“。Mu ãŒç„¡å応ã§ãƒ•リーズã—ã¦ã—ã¾ã†ãらã„ã®ãƒ‡ãƒ¼ã‚¿ãŒæº¢ã‚Œã¦ã„ã¾ã™ã€‚セーフガードã¨ã—ã¦ãƒ—ãƒ­ãƒƒã‚¿ã‚’åœæ­¢ã•ã›ã¾ã—ãŸã€‚ 溢れã¦ã„ã‚‹ã¨ã¯ã€1024ãƒã‚¤ãƒˆã‚’è¶…ãˆã‚‹ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆãŒãƒ—ロッターã«ç¹°ã‚Šè¿”ã—é€ä¿¡ã•れã¦ã„る状態ã§ã™ã€‚ ã“れを解決ã™ã‚‹ã«ã¯ã€éžå¸¸ã«çŸ­æ™‚é–“ã® 'sleep' 呼ã³å‡ºã—ã®åˆé–“ã«ãƒ‡ãƒ¼ã‚¿ã®å°ã•ãªã‚¿ãƒ—ルをプリントã™ã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„。テーマä¿å­˜ã—ã¦ã„ãªã„スクリプトãŒã‚りã¾ã™ãŒã€ã‚¢ãƒ—リケーションを終了ã™ã‚‹ã¨æ¶ˆãˆã¦ã—ã¾ã„ã¾ã™ã€‚ãŸã£ãŸã²ã¨ã¤ã®å†´ãˆãŸã‚„りã‹ãŸãŒã‚ã‚‹ã¯ãšã ã€‚micro:bit ã«ãƒ•ァイル '{}' をコピーã—ã¦ã„ã‚‹éš›ã«å•題ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚詳ã—ã㯠Mu ã®ãƒ­ã‚°ã‚’確èªã—ã¦ãã ã•ã„。micro:bit 内ã®ãƒ•ァイル '{}' を削除ã—ã¦ã„ã‚‹éš›ã«ã«å•題ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚詳ã—ã㯠Mu ã®ãƒ­ã‚°ã‚’確èªã—ã¦ãã ã•ã„。micro:bit ã¸ã®è»¢é€ã§å•題ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚micro:bit 内ã®ãƒ•ァイル '{}' ã‚’å–å¾—ã—ã¦ã„ã‚‹éš›ã«å•題ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚詳ã—ã㯠Mu ã®ãƒ­ã‚°ã‚’確èªã—ã¦ãã ã•ã„。micro:bit 内ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã‚’å–å¾—ã™ã‚‹éš›ã«å•題ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚æŠ€è¡“çš„ãªæƒ…報㯠Mu ã®ãƒ­ã‚°ã‚’確èªã—ã¦ãã ã•ã„。ã¾ãŸã¯ micro:bit ã®ãƒ—ラグを抜ãå·®ã—ã™ã‚‹ã‹ã€Muã‚’å†èµ·å‹•ã—ã¦ã¿ã¦ãã ã•ã„。ã“ã®ã‚¨ãƒ‡ã‚£ã‚¿ã®åå‰ã¯ Mu ã§ã™('mew' ã¨ã‹ 'moo' ã¨ã‹ç™ºéŸ³ã—ã¾ã™)。ã“ã®ã‚¨ãƒ‡ã‚£ã‚¿ã¯ Python ã§ä½œæˆã—ãŸãƒ•リーソフトウェアã§ã™ã€‚ã‚ãªãŸã®å¥½ããªã‚ˆã†ã«å¤‰æ›´ã€æ©Ÿèƒ½è¿½åŠ ã€ãƒã‚°ä¿®æ­£ã§ãã¾ã™ã€‚ã“ã®åå‰ã¯ã™ã§ã« Python ã®åˆ¥ã®ã¨ã“ã‚ã§ä½¿ã‚れã¦ã„ã¾ã™ã€‚ã“ã®åå‰ã‚’使ã†ã¨ Python ã®ã‚·ã‚¹ãƒ†ãƒ ã‚’壊ã—ã¦ã—ã¾ã†å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚別ã®ãƒ•ァイルåã§ã‚‚ã†ä¸€åº¦ã‚„り直ã—ã¦ãã ã•ã„。ã“ã®åå‰ã¯ã™ã§ã« Python ã®åˆ¥ã®ã¨ã“ã‚ã§ä½¿ã‚れã¦ã„ã¾ã™ã€‚ã“ã®åå‰ã‚’使ã†ã¨ Python ã®ã‚·ã‚¹ãƒ†ãƒ ã‚’壊ã—ã¦ã—ã¾ã†å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚別ã®ãƒ•ァイルåã§ã‚‚ã†ä¸€åº¦ã‚„り直ã—ã¦ãã ã•ã„。å†å¸°ã¨ã¯ä½•ã‹ã‚’ç†è§£ã™ã‚‹ãŸã‚ã«ã¯ã€ã¾ãšå†å¸°ã‚’ç†è§£ã™ã‚‹å¿…è¦ãŒã‚る。日中ã€å¤œã€ãƒã‚¤ã‚³ãƒ³ãƒˆãƒ©ã‚¹ãƒˆã®ãƒ†ãƒ¼ãƒžã‚’切り替ãˆã¾ã™ã€‚ユーザã®è¦–点ã‹ã‚‰ç‰©äº‹ã‚’見ã¦ãã ã•ã„。Python デãƒãƒƒã‚¬ã«æŽ¥ç¶šã§ãã¾ã›ã‚“。 ã™ã¹ã¦ã®æ–‡å­—を変æ›ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚ファイルã®å…ˆé ­ã«ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°è¡ŒãŒã‚ã‚‹å ´åˆã¯ã€ãれを削除ã—ã¦ã‚‚ã†ä¸€åº¦ã‚„り直ã—ã¦ãã ã•ã„。"{}" を転é€ã§ãã¾ã›ã‚“未サãƒãƒ¼ãƒˆã® BBC micro:bit。Adafruit ãŒã‚µãƒãƒ¼ãƒˆã™ã‚‹ãƒœãƒ¼ãƒ‰ã® CircuitPython を使ã„ã¾ã™ã€‚ライブコーディングã®ãŸã‚ã« REPL を利用ã—ã¾ã™ã€‚micro:bit を対話モードã§åˆ©ç”¨ã—ã¾ã™ã€‚値よãやりã¾ã—ãŸï¼ å•題ã‚りã¾ã›ã‚“。ãƒã‚°ã®å ±å‘Šã®éš›ã«ã¯ã€ä»¥ä¸‹ã®ãƒ­ã‚°ãƒ•ァイルã®å†…容をコピー&ペーストã—ã¦ãã ã•ã„。賢明ã§ã‚ã‚‹ã¨ã¯ã€çŸ¥ã‚‰ãªã„ã“ã¨ã‚’知ã£ã¦ã„ã‚‹ã“ã¨ã§ã‚る。Mu ã‚’ {} モードã«å¤‰æ›´ã—ã¾ã™ã‹ï¼ŸBBC micro:bit ã® MicroPython を編集。ファイルå "{}" ã¯ä½¿ãˆã¾ã›ã‚“検索ã™ã‚‹ã‚‚ã®ã‚’指定ã—ã¦ãã ã•ã„。デãƒã‚¤ã‚¹ãŒã“ã® Mu ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§æ‰±ã†ã«ã¯æ–°ã—ã™ãŽã¾ã™ã€‚ã“ã®ãƒ‡ãƒã‚¤ã‚¹ã‚’サãƒãƒ¼ãƒˆã™ã‚‹ãŸã‚ã« Mu を最新ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚¢ãƒƒãƒ—デートã—ã¦ãã ã•ã„。 https://codewith.mu/スクリプトã®å®Ÿè¡Œã‚’終了ã—ã¾ã—ãŸã€‚スクリプトãŒé•·ã™ãŽã¦ç¸®å°ã§ãã¾ã›ã‚“スクリプトãŒé•·ã™ãŽã¾ã™ï¼æ‹¡å¤§ï¼ˆæ–‡å­—を大ãã)ã—ã¾ã™ã€‚縮å°ï¼ˆæ–‡å­—ã‚’å°ã•ã)ã—ã¾ã™ã€‚拡大縮å°ç„¡é¡Œ{} プロッター