Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
有沒有 Python 可以寫 Native Mobile Apps 的八卦?
Search
Tzu-ping Chung
October 26, 2014
Programming
2
690
有沒有 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
Datasets: What it is, and how it was made
uranusjr
0
160
Let’s fix extras in Core Metadata 3.0
uranusjr
0
570
Python Packaging: Why Don’t You Just…?
uranusjr
1
240
這樣的開發環境沒問題嗎?
uranusjr
9
2.6k
Django After Web 2.0
uranusjr
3
2.1k
We Store Cheese in A Warehouse
uranusjr
1
470
The Python You Don’t Know
uranusjr
17
3.2k
Python and Asynchrony
uranusjr
0
400
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
Other Decks in Programming
See All in Programming
What's New in Web AI?
christianliebel
PRO
0
120
「10分以内に機能を消せる状態」 の実現のためにやっていること
togishima
1
250
Private APIの呼び出し方
kishikawakatsumi
2
750
SODA - FACT BOOK(JP)
sodainc
1
9.3k
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
260
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
250
CSC509 Lecture 08
javiergs
PRO
0
280
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
3
360
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
320
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
290
CSC509 Lecture 11
javiergs
PRO
0
300
SidekiqでAIに商品説明を生成させてみた
akinko_0915
0
120
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
A Tale of Four Properties
chriscoyier
161
23k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1k
GraphQLとの向き合い方2022年版
quramy
49
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Faster Mobile Websites
deanohume
310
31k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Unsuck your backbone
ammeep
671
58k
A designer walks into a library…
pauljervisheath
210
24k
Mobile First: as difficult as doing things right
swwweet
225
10k
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