Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
為你自己學 Python
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
高見龍
December 30, 2024
Programming
880
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
為你自己學 Python
高見龍
December 30, 2024
More Decks by 高見龍
See All by 高見龍
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
740
自己的售票系統自己做!
eddie
0
780
AI Agent 時代的開發者生存指南
eddie
4
3k
print("Hello, World")
eddie
2
770
為你自己學 Python - 冷知識篇
eddie
1
570
Generative AI 年會小聚 - AI 教我寫程式
eddie
0
330
讓數據說話:用 Python、Prometheus 和 Grafana 講故事
eddie
0
840
AI 時代的程式語言學習法
eddie
0
370
前端模組解放運動 - importmap
eddie
0
1.7k
Other Decks in Programming
See All in Programming
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.8k
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
200
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.8k
Event is what happens
moro
2
4k
Getting Started with Vibe Coding
miccheng
0
190
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
AI-Powered Domain-Driven Design
ziobrando
0
420
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
740
Crash Auto Pipelines
veronikapj
1
400
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
AmebaブログはKMPから卒業します
kmars0605
0
340
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.2k
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
450
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
630
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
330
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Site-Speed That Sticks
csswizardry
13
1.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
4 Signs Your Business is Dying
shpigford
187
23k
Transcript
五倍學院 為你自己學 PYTHON 高見龍
五倍學院 關於這本書... 自己 做 一 次就會知道在台灣寫電腦書不會賺錢...
五倍學院 PYTHON 可以幹嘛?
五倍學院 PYTHON 的 用 途 網站爬蟲 Requests + BeautifulSoup 網站功能開發
Flask / FastAPI / Django 資料分析、圖表整理 SciPy / NumPy / Matplotlib
五倍學院 人工 智慧?
五倍學院 為什麼想學寫程式?
魔法是想像的世界,在魔法 世界裡無法想像的事情就無 法實現。 《葬送的芙莉蓮》 「 」
五倍學院 有 ChatGPT 還需要學程式?
五倍學院 需要學到什麼程度?
五倍學院 留意細節!
五倍學院 多 行 註解?
""" 這是註解 這也是註解 這 行 還是註解 """
五倍學院 你以為的不是你以為的...
i = 0 def add_i(): i = i + 1
add_i() print(i) # 這會印出什麼? A:0 B:1 C:2 D:這程式會出錯!
x = 100 def add_one(x): x += 1 return x
add_one(x) print(x) # 這會印出什麼? A:1 B:100 C:101 D:程式會出錯
def add_to_box(a, b, box=[]): box.append(a) box.append(b) return box print(add_to_box(1, 4))
# 印出 [1, 4] print(add_to_box(5, 0)) # 會印出什麼? A:[5, 0] B:[1, 4, 5, 0] C:[ ] D:程式會出錯!
def add_card(bk, card): bk.append(card) bk = ["奇犽", " 西 索",
"尼 飛 彼多"] book = [" 小 傑", "雷歐 力 "] add_card(book, "酷拉 皮 卡") print(book) # 會印出什麼? A:[" 小 傑", "雷歐 力 ", "酷拉 皮 卡"] B:["奇犽", " 西 索", "尼 飛 彼多"] C:別騙我了,這程式根本不會動 D:我只想要整套獵 人 卡片!
五倍學院 物件導向
class Animal: def __init__(self): self.__message = "Hey" class Cat(Animal): def
say(self): print(self.__message) kitty = Cat() kitty.say() # 這裡會印出什麼? A:Hey B:None C:undefined D:別騙我了,這程式會出錯!
五倍學院 物件導向的 private
class Hero: def __init__(self, title, name, age): self.title = title
self.name = name self.__age = age # 這裡是兩個底線的 __age himmel = Hero("勇者", "欣梅爾", 18) print(himmel.__age) A:18 B:None C:0 D:別騙我了,這程式會出錯!
五倍學院 有點奇怪的題 目
a = 7 b = 11 c = a -
b print(c is -4) # 印出什麼? c = c - 1 print(c is -5) # 印出什麼? c = c - 1 print(c is -6) # 印出什麼? A:True / True / True B:True / True / False C:False / False / True D:False / False / False
print(all([True, True, True])) # True print(all([True, False, True])) # False
print(all([])) # 這會印出什麼? print(all([[]])) # 這會印出什麼? print(all([[[]]])) # 這會印出什麼? A:True / False / True B:False / False / False C:False / True / True D:True / True / True
五倍學院 如何學的更好?
五倍學院 不要只是模仿
五倍學院 建立單 一 真相來源 SSOT, Single Source of Truth
五倍學院 透過 人工 智慧理出關鍵字
五倍學院 再 用工人 智慧驗證答案
None
None
五倍學院 多問「為什麼」 ask WHY, not just HOW
五倍學院 為什麼是 list 而 不叫 array?
五倍學院 為什麼 list 從 0 開始算? chars = ["a", "b",
"c", "d"]
五倍學院
學習不需要為公司、為 長 官、同事、 老 師或是爸媽, 只要為你 自己 。 「 」
《 高見龍 》
五倍學院 熱賣中
五倍學院 新書 / 活動預告
五倍學院 英 文 版的書正在努 力 中!
None