Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
有沒有 Python 可以寫 Native Mobile Apps 的八卦?
Tzu-ping Chung
October 26, 2014
Programming
2
640
有沒有 Python 可以寫 Native Mobile Apps 的八卦?
Native GUI programming with Python everywhere with Toga!
Tzu-ping Chung
October 26, 2014
Tweet
Share
More Decks by Tzu-ping Chung
See All by Tzu-ping Chung
Let’s fix extras in Core Metadata 3.0
uranusjr
0
43
Python Packaging: Why Don’t You Just…?
uranusjr
1
120
這樣的開發環境沒問題嗎?
uranusjr
9
2k
Django After Web 2.0
uranusjr
3
1.5k
We Store Cheese in A Warehouse
uranusjr
1
350
The Python You Don’t Know
uranusjr
16
2.2k
Python and Asynchrony
uranusjr
0
260
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
You Might Not Want Async
uranusjr
6
2.2k
Other Decks in Programming
See All in Programming
こそこそアジャイル導入しようぜ!
ichimichi
0
1.2k
Angular-basierte Micro Frontends mit Module Federation @API Summit
manfredsteyer
PRO
0
110
Power Automateドリブンのチームマネジメント
hanaseleb
0
190
From Java through Scala to Clojure
lagenorhynque
0
230
heyにおけるCI/CDの現状と課題
fufuhu
3
560
NEWT.net: Frontend Technology Selection
xpromx
0
250
I/O Extended 2022 in Android ~ Whats new in Android development tools
pluu
0
560
[월간 데이터리안 세미나 6월] 스스로 성장하는 분석가 커리어 이야기
datarian
0
220
Client-Side Field-Level Encryption for Apache Kafka Connect @ VoxxedDays Luxembourg 2022
hpgrahsl
0
110
A Philosophy of Software Design 後半
yosuke_furukawa
PRO
10
2.8k
Java アプリとAWS の良い関係 - AWS でJava アプリを実行する一番簡単な方法教えます / AWS for Javarista
kanamasa
2
1.3k
Baseline Profilesでアプリのパフォーマンスを向上させる / Improve app performance with Baseline Profiles
numeroanddev
0
250
Featured
See All Featured
Gamification - CAS2011
davidbonilla
75
3.9k
Mobile First: as difficult as doing things right
swwweet
213
7.5k
How GitHub (no longer) Works
holman
296
140k
A Tale of Four Properties
chriscoyier
149
21k
Infographics Made Easy
chrislema
233
17k
Writing Fast Ruby
sferik
612
57k
How to train your dragon (web standard)
notwaldorf
58
3.9k
Keith and Marios Guide to Fast Websites
keithpitt
404
21k
Stop Working from a Prison Cell
hatefulcrawdad
261
17k
Rebuilding a faster, lazier Slack
samanthasiow
62
7.2k
Raft: Consensus for Rubyists
vanstee
126
5.4k
YesSQL, Process and Tooling at Scale
rocio
157
12k
Transcript
剤尝剤1ZUIPO〳⟃㻨/BUJWF .PCJMF"QQT涸Ⱄ⽚
Live Demo!!!!1
Me • Call me TP • Follow @uranusjr • https://uranusjr.com
http://macdown.uranusjr.com
IUUQQZCFFPSHUPHB
Python code Platform-dependent implementation Native libraries
Toga • No dependencies • Except a custom interpreter •
Pure Python • ctypes • Any OS you want • Write your own backend
Your code Native libraries Toga implementation Toga
Your code Foundation + UIKit + … Toga-iOS + Rubicon-ObjC
Toga
Live Coding!!!!1
Cassowary
None
Cassowary • Constraint-solving • Foundation of Auto Layout • Other
implementations available
50 50 50 50 or more
container.constrain( button.TOP == container.TOP + 50,
button.LEADING == container.LEADING + 50, button.TRAILING + 50 == container.TRAILING, button.BOTTOM + 50 <= container.BOTTOM, )
Join the Conversation • https://github.com/pybee • https://groups.google.com/forum/#!forum/beeware-users • https://groups.google.com/forum/#!forum/beeware-developers •
https://groups.google.com/forum/#!forum/overconstrained • https://twitter.com/pybeeware