SlideShare uma empresa Scribd logo
1 de 74
Baixar para ler offline
讓程式展現樂趣—
玩出實驗精神與創造力
Python Edition
林信良
caterpillar@openhome.cc
https://openhome.cc
玩
• Play It!
• 天外飛來一筆 Code
• 怎麼 玩 程式(從積木程式到 Python)
• 可惡?想玩?
• 實驗 與 創造
https://www.youtube.com/watch?v=sNHLQxQ3jm8
廢材
https://www.youtube.com/watch?v=IsQaMRlMKro
藍芽自走車
https://www.youtube.com/watch?v=Xw_pobbovqs
曾幾何時
我們忘了怎麼
https://github.com/JustinSDK/craftsman
https://www.youtube.com/watch?v=9pjpQoZoW6E
https://www.youtube.com/watch?v=dDG1xp714fI
https://www.youtube.com/watch?v=ifqMliNJ3F0
https://www.thingiverse.com/thing:1763139
https://www.thingiverse.com/thing:2409917
https://www.thingiverse.com/thing:2040515
https://www.thingiverse.com/thing:1351023
Code?
〈What Most Schools Don't Teach〉
2013/2
https://www.youtube.com/watch?v=nKIu9yen5nc
2012/9
http://www.theverge.com/2012/9/7/3300354/
estonia-progetiiger-coding-pilot-program
2012/11
http://www.ted.com/talks/mitch_resnick_let_s_teach_kids_to_code
2014/12
https://www.youtube.com/watch?v=qZfrDLLja-k
Code?
https://studio.code.org/s/frozen/
Code
https://blockly-games.appspot.com/
Code
http://www.scratchjr.org/
https://scratch.mit.edu/
怎麼
https://code.org/learn
https://repl.it/site/languages/python_turtle
10 分鐘輕鬆學會 python turtle 繪圖
運算思維導向程式設計教學
https://www.blockscad3d.com/editor/
https://www.blockscad3d.com/community/projects
3DP
https://github.com/SolidCode/SolidPython
OpenSCAD
https://www.thingiverse.com/JustinSDK/designs
https://microbit.org/code/
https://microbit.org/code/
初吻製造機
Scratch
+
Arduino
mBlock & Arduino
http://openhome.cc/Gossip/CodeData/index.html#mBlockArduino
Arduino and Python
>>> import serial
>>> ser = serial.Serial('/dev/tty.usbserial', 9600)
>>> while True:
... print ser.readline()
'1 Hello world!rn'
'2 Hello world!rn'
'3 Hello world!rn'
>>> import serial # if you have not already done so
>>> ser = serial.Serial('/dev/tty.usbserial', 9600)
>>> ser.write('5')
http://playground.arduino.cc/interfacing/python 44
Arduino Yún
45Arduino、Web 到 IoT
import sys
sys.path.insert(0, '/usr/lib/python2.7/bridge/')
from bridgeclient import BridgeClient
state = sys.argv[1]
BridgeClient().put('state', state)
root@arduino:~# python lightUpL13.py 1
root@arduino:~# python lightUpL13.py 0
46
Arduino Yún 小試
透過瀏覽器點光明燈
Arduino Yún 小試
47
• ESP8266 與 MicroPython
• Raspberry Pi 與 Python
EV3 Tutorial
來一把電烏克麗麗!
https://www.youtube.com/watch?v=9pjpQoZoW6E
EV3 Print3rbot, on ev3dev distribution (http://www.ev3dev.org).
Coded in Python. Code and instructions available on the home
page of the project. Home page:
http://www.ev3dev.org/projects/2015/0... Inspiration:
https://www.youtube.com/watch?v=tez0Y... (David Feller)
https://www.tenlong.com.tw/zh_tw/bestselling
2018/9/10
3.7
實驗&
創造
https://www.youtube.com/watch?v=iOLFP90DneY
3DP?
飛機木(巴爾沙木)
伺服馬達
https://www.youtube.com/watch?v=7ztIRDkNKC4
飛機木(巴爾沙木)
伺服馬達
https://www.youtube.com/watch?v=9_3fxt4_LGI
去犯錯學習
去探險
去作亂
http://openhome.cc/Gossip/CodeData/EV3Tutorial/EV3Tutorial12.html
https://www.youtube.com/watch?v=0l6F3EQ8XAI
https://www.youtube.com/watch?v=mGOled86Sjo
https://www.youtube.com/watch?v=QcMXV06rnuk
https://www.youtube.com/watch?v=VJvSi0xKN-s
https://www.youtube.com/watch?v=jODpdC-kMwY
廢
材
https://www.youtube.com/watch?v=xPjvgApRcKU
讓程式展現
Orz
林信良
caterpillar@openhome.cc
https://openhome.cc

Mais conteúdo relacionado

Mais procurados

I pads in the classroom -presentation jan 2013--final6
I pads in the classroom -presentation jan 2013--final6I pads in the classroom -presentation jan 2013--final6
I pads in the classroom -presentation jan 2013--final6
profecordova
 
올챙이팜플렛 V1.0
올챙이팜플렛 V1.0올챙이팜플렛 V1.0
올챙이팜플렛 V1.0
cho hyun jong
 
Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013
Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013
Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013
Puppet
 
Desconstrução da Marca - Bruna e Régis
Desconstrução da Marca - Bruna e RégisDesconstrução da Marca - Bruna e Régis
Desconstrução da Marca - Bruna e Régis
Régis Rabelo
 

Mais procurados (20)

I pads in the classroom -presentation jan 2013--final6
I pads in the classroom -presentation jan 2013--final6I pads in the classroom -presentation jan 2013--final6
I pads in the classroom -presentation jan 2013--final6
 
El tunel,Link tf recurso
El tunel,Link tf recursoEl tunel,Link tf recurso
El tunel,Link tf recurso
 
MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic ...
MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic ...MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic ...
MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic ...
 
Sauce & cooking
Sauce & cookingSauce & cooking
Sauce & cooking
 
Presentation for UNITECH event - January 8, 2018
Presentation for UNITECH event - January 8, 2018Presentation for UNITECH event - January 8, 2018
Presentation for UNITECH event - January 8, 2018
 
올챙이팜플렛 V1.0
올챙이팜플렛 V1.0올챙이팜플렛 V1.0
올챙이팜플렛 V1.0
 
올챙이팜플렛
올챙이팜플렛올챙이팜플렛
올챙이팜플렛
 
Introdução aos Motion Graphics
Introdução aos Motion GraphicsIntrodução aos Motion Graphics
Introdução aos Motion Graphics
 
Som Vs Motion Graphics
Som Vs Motion GraphicsSom Vs Motion Graphics
Som Vs Motion Graphics
 
MashUps
MashUpsMashUps
MashUps
 
ExoPlayer PAUG 220915 slides
ExoPlayer PAUG 220915 slidesExoPlayer PAUG 220915 slides
ExoPlayer PAUG 220915 slides
 
Estratégias de Animação e de Composição em Motion Graphics
Estratégias de Animação e de Composição em Motion GraphicsEstratégias de Animação e de Composição em Motion Graphics
Estratégias de Animação e de Composição em Motion Graphics
 
Lego Mindstorms - Robots for kids (and grown-ups too)
Lego Mindstorms - Robots for kids (and grown-ups too)Lego Mindstorms - Robots for kids (and grown-ups too)
Lego Mindstorms - Robots for kids (and grown-ups too)
 
Tio memo clasificacion circo terminada
Tio memo clasificacion circo  terminadaTio memo clasificacion circo  terminada
Tio memo clasificacion circo terminada
 
Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013
Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013
Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013
 
Musica
MusicaMusica
Musica
 
Student Examples
Student ExamplesStudent Examples
Student Examples
 
Desconstrução da Marca - Bruna e Régis
Desconstrução da Marca - Bruna e RégisDesconstrução da Marca - Bruna e Régis
Desconstrução da Marca - Bruna e Régis
 
Using Orchestration in Puppet Enterprise 3 - PuppetConf 2013
Using Orchestration in Puppet Enterprise 3 - PuppetConf 2013Using Orchestration in Puppet Enterprise 3 - PuppetConf 2013
Using Orchestration in Puppet Enterprise 3 - PuppetConf 2013
 
Biceps & arm
Biceps & armBiceps & arm
Biceps & arm
 

Semelhante a 讓程式展現樂趣-玩出實驗精神與創造力 - PythonEdition

Happy friday 2013 01-18
Happy friday 2013 01-18Happy friday 2013 01-18
Happy friday 2013 01-18
SM Digital
 
I pads in the classroom -presentation jan 2013--final6--for montgomery college2
I pads in the classroom -presentation jan 2013--final6--for montgomery college2I pads in the classroom -presentation jan 2013--final6--for montgomery college2
I pads in the classroom -presentation jan 2013--final6--for montgomery college2
profecordova
 
Game based learning, the world and minecraft april 10 ttt
Game based learning, the world and minecraft april 10 tttGame based learning, the world and minecraft april 10 ttt
Game based learning, the world and minecraft april 10 ttt
Robert Appino
 
有限公司鸟人的@SeeedStudio&DimSumLab
有限公司鸟人的@SeeedStudio&DimSumLab有限公司鸟人的@SeeedStudio&DimSumLab
有限公司鸟人的@SeeedStudio&DimSumLab
Toriningen,Inc.
 

Semelhante a 讓程式展現樂趣-玩出實驗精神與創造力 - PythonEdition (20)

Introduction
IntroductionIntroduction
Introduction
 
讓程式展現樂趣 玩出實驗精神與創造力
讓程式展現樂趣 玩出實驗精神與創造力讓程式展現樂趣 玩出實驗精神與創造力
讓程式展現樂趣 玩出實驗精神與創造力
 
Apps presentation part 2
Apps presentation part 2Apps presentation part 2
Apps presentation part 2
 
Praying With Youth Using Technology
Praying With Youth Using TechnologyPraying With Youth Using Technology
Praying With Youth Using Technology
 
Happy friday 2013 01-18
Happy friday 2013 01-18Happy friday 2013 01-18
Happy friday 2013 01-18
 
I pads in the classroom -presentation jan 2013--final6--for montgomery college2
I pads in the classroom -presentation jan 2013--final6--for montgomery college2I pads in the classroom -presentation jan 2013--final6--for montgomery college2
I pads in the classroom -presentation jan 2013--final6--for montgomery college2
 
Part 1 beckybond motiongraphics
Part 1 beckybond motiongraphicsPart 1 beckybond motiongraphics
Part 1 beckybond motiongraphics
 
We Buy Cheese in a Cheese Shop
We Buy Cheese in a Cheese ShopWe Buy Cheese in a Cheese Shop
We Buy Cheese in a Cheese Shop
 
Game prototyping workshop
Game prototyping workshopGame prototyping workshop
Game prototyping workshop
 
Game based learning, the world and minecraft april 10 ttt
Game based learning, the world and minecraft april 10 tttGame based learning, the world and minecraft april 10 ttt
Game based learning, the world and minecraft april 10 ttt
 
Letterland
LetterlandLetterland
Letterland
 
Step to python 101
Step to python 101Step to python 101
Step to python 101
 
Alles erst der Anfang - Ausblick und Szenarien für den Games-Markt
Alles erst der Anfang - Ausblick und Szenarien für den Games-MarktAlles erst der Anfang - Ausblick und Szenarien für den Games-Markt
Alles erst der Anfang - Ausblick und Szenarien für den Games-Markt
 
Tools for the iCampfire
Tools for the iCampfireTools for the iCampfire
Tools for the iCampfire
 
Planet Ganges videos
Planet Ganges videosPlanet Ganges videos
Planet Ganges videos
 
有限公司鸟人的@SeeedStudio&DimSumLab
有限公司鸟人的@SeeedStudio&DimSumLab有限公司鸟人的@SeeedStudio&DimSumLab
有限公司鸟人的@SeeedStudio&DimSumLab
 
Top Tech Trends in Texas Libraries - 2011 Survey Summary
Top Tech Trends in Texas Libraries - 2011 Survey SummaryTop Tech Trends in Texas Libraries - 2011 Survey Summary
Top Tech Trends in Texas Libraries - 2011 Survey Summary
 
Crea tv
Crea tvCrea tv
Crea tv
 
Aaaaa
AaaaaAaaaa
Aaaaa
 
Internet Librarian International #ili2016 Phil's Faves
Internet Librarian International #ili2016 Phil's FavesInternet Librarian International #ili2016 Phil's Faves
Internet Librarian International #ili2016 Phil's Faves
 

Mais de Justin Lin

Mais de Justin Lin (20)

Ch14 簡介 Spring Boot
Ch14 簡介 Spring BootCh14 簡介 Spring Boot
Ch14 簡介 Spring Boot
 
Ch13 整合 Spring MVC/Security
Ch13 整合 Spring MVC/SecurityCh13 整合 Spring MVC/Security
Ch13 整合 Spring MVC/Security
 
Ch12 Spring 起步走
Ch12 Spring 起步走Ch12 Spring 起步走
Ch12 Spring 起步走
 
Ch11 簡介 JavaMail
Ch11 簡介 JavaMailCh11 簡介 JavaMail
Ch11 簡介 JavaMail
 
Ch10 Web 容器安全管理
Ch10 Web 容器安全管理Ch10 Web 容器安全管理
Ch10 Web 容器安全管理
 
Ch09 整合資料庫
Ch09 整合資料庫Ch09 整合資料庫
Ch09 整合資料庫
 
Ch08 自訂標籤
Ch08 自訂標籤Ch08 自訂標籤
Ch08 自訂標籤
 
Ch07 使用 JSTL
Ch07 使用 JSTLCh07 使用 JSTL
Ch07 使用 JSTL
 
Ch06 使用 JSP
Ch06 使用 JSPCh06 使用 JSP
Ch06 使用 JSP
 
Ch05 Servlet 進階 API、過濾器與傾聽器
Ch05 Servlet 進階 API、過濾器與傾聽器Ch05 Servlet 進階 API、過濾器與傾聽器
Ch05 Servlet 進階 API、過濾器與傾聽器
 
Ch04 會話管理
Ch04 會話管理Ch04 會話管理
Ch04 會話管理
 
Ch03 請求與回應
Ch03 請求與回應Ch03 請求與回應
Ch03 請求與回應
 
Ch02 撰寫與設定 Servlet
Ch02 撰寫與設定 ServletCh02 撰寫與設定 Servlet
Ch02 撰寫與設定 Servlet
 
CH1. 簡介 Web 應用程式
CH1. 簡介 Web 應用程式CH1. 簡介 Web 應用程式
CH1. 簡介 Web 應用程式
 
14. 進階主題
14. 進階主題14. 進階主題
14. 進階主題
 
13.並行、平行與非同步
13.並行、平行與非同步13.並行、平行與非同步
13.並行、平行與非同步
 
12. 除錯、測試與效能
12. 除錯、測試與效能12. 除錯、測試與效能
12. 除錯、測試與效能
 
11. 常用內建模組
11. 常用內建模組11. 常用內建模組
11. 常用內建模組
 
10. 資料永續與交換
10. 資料永續與交換10. 資料永續與交換
10. 資料永續與交換
 
9. 資料結構
9. 資料結構9. 資料結構
9. 資料結構
 

Último

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

讓程式展現樂趣-玩出實驗精神與創造力 - PythonEdition