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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
180
Let’s fix extras in Core Metadata 3.0
uranusjr
0
600
Python Packaging: Why Don’t You Just…?
uranusjr
1
250
這樣的開發環境沒問題嗎?
uranusjr
9
2.7k
Django After Web 2.0
uranusjr
3
2.2k
We Store Cheese in A Warehouse
uranusjr
1
490
The Python You Don’t Know
uranusjr
17
3.3k
Python and Asynchrony
uranusjr
0
410
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
Other Decks in Programming
See All in Programming
Package Management Learnings from Homebrew
mikemcquaid
0
230
ぼくの開発環境2026
yuzneri
0
240
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
750
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Basic Architectures
denyspoltorak
0
680
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
140
Fluid Templating in TYPO3 14
s2b
0
130
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
A designer walks into a library…
pauljervisheath
210
24k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
Between Models and Reality
mayunak
1
190
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
83
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Believing is Seeing
oripsolob
1
58
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