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
650
有沒有 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
99
Let’s fix extras in Core Metadata 3.0
uranusjr
0
410
Python Packaging: Why Don’t You Just…?
uranusjr
1
200
這樣的開發環境沒問題嗎?
uranusjr
9
2.4k
Django After Web 2.0
uranusjr
3
2k
We Store Cheese in A Warehouse
uranusjr
1
420
The Python You Don’t Know
uranusjr
17
2.9k
Python and Asynchrony
uranusjr
0
340
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
Other Decks in Programming
See All in Programming
How to use Macrobenchmark
veronikapj
0
160
さきがけから振り返るアーキテクチャ刷新 / Reflecting on the Architectural Renewal from the Vanguard
nrslib
2
780
AHC035解説
terryu16
0
730
[After Kotlin Fest 2024 LT Night @ Sansan] もっともっとKotlinを好きになる!K2 Compiler Pluginで遊んでみよう!
kitakkun
2
260
Microservices rules (July 2024) : what good looks like
cer
PRO
0
1.6k
Trial
cairolibrary720
1
130
リハビリmruby
kishima
1
160
Temporalを取り巻く仕様を整理する
sajikix
0
120
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
Rustのweb開発を助ける 便利なツール紹介
yuki0418
1
190
Architectures with Lightweight Stores: New Rules and Options
manfredsteyer
PRO
0
100
CSC307 Lecture 05
javiergs
PRO
0
210
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
325
20k
Documentation Writing (for coders)
carmenintech
63
4.2k
Thoughts on Productivity
jonyablonski
64
4.1k
BBQ
matthewcrist
82
9k
Writing Fast Ruby
sferik
623
60k
Music & Morning Musume
bryan
43
5.9k
We Have a Design System, Now What?
morganepeng
46
7k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
19k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
24
1.8k
The Language of Interfaces
destraynor
151
23k
Scaling GitHub
holman
458
140k
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