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
72
Let’s fix extras in Core Metadata 3.0
uranusjr
0
360
Python Packaging: Why Don’t You Just…?
uranusjr
1
200
這樣的開發環境沒問題嗎?
uranusjr
9
2.4k
Django After Web 2.0
uranusjr
3
1.9k
We Store Cheese in A Warehouse
uranusjr
1
400
The Python You Don’t Know
uranusjr
17
2.9k
Python and Asynchrony
uranusjr
0
330
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
Other Decks in Programming
See All in Programming
What We Can Learn From OSS
inouehi
0
400
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
420
Javaエンジニアのための Nodejs/Nuxt3入門
hidekatsu_izuno
0
280
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
100
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
39
18k
今の SmartHR にエンジニアで入社するとどうなるの?
daisukeshinoku
5
4.6k
StreamlitとTerraformでデータカタログを作った話
gussan0223
0
300
try! Swift Tokyo 初参加報告LT
hinakko2
0
190
Ruby Function Composition
bkuhlmann
1
330
Tailwind CSSを本気でカスタマイズする方法
fsubal
2
230
コードレビューで学ぶ!Kotlinオブジェクト指向デザインパターン
akkie76
2
180
Featured
See All Featured
Code Review Best Practice
trishagee
54
15k
It's Worth the Effort
3n
180
27k
Reflections from 52 weeks, 52 projects
jeffersonlam
344
19k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
15
1.4k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
A Philosophy of Restraint
colly
196
16k
Raft: Consensus for Rubyists
vanstee
132
6.2k
Unsuck your backbone
ammeep
662
57k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
186
16k
What's in a price? How to price your products and services
michaelherold
237
11k
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