Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
明日使えるちょっとニッチな組み込み関数
Search
sin-tanaka
October 30, 2017
Programming
640
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
明日使えるちょっとニッチな組み込み関数
17.10.27(Fri) 大阪Pythonの会#7でのLT
sin-tanaka
October 30, 2017
More Decks by sin-tanaka
See All by sin-tanaka
Pythonでライブをしよう!FoxDotを使った新時代のPython活用法 / pyconjp-2019
sin_tanaka_21
1
4k
AppSync入門できなかったのでGraphQLに入門した
sin_tanaka_21
0
170
Pythonで始めるウェブスクレイピング実践入門 / pyconjp-2018
sin_tanaka_21
13
8.3k
Other Decks in Programming
See All in Programming
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
1
150
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
260
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
150
AIエージェント時代のコードレビューを設計する
nogu66
6
2.7k
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
210
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
140
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.1k
FreeBSDでZabbixを動かす
kenkino
0
310
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
190
Are APIs Still Relevant in the AI Era?
soyuka
0
260
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
200
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
730
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
320
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
580
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
240
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Test your architecture with Archunit
thirion
2
2.4k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
260
Transcript
໌͑Δͪΐͬͱχονͳ ΈࠐΈؔ ɹɹɹ ాதɹ৻ଠ ʢגʣຊγεςϜٕݚ
͡Ίʹɾɾɾ ໊લ: ాத ৻ଠ झຯ: Ϊλʔʗ͓ञ ϥδΦʗԻ੍ָ࡞ ग़: ݝ Pythonྺ:
1ͱ radipy - https://github.com/sin-tanaka/radipy
͢͜ͱ ɾPythonͷѪணΛਂΊ͍ͨ ɾϚϝࣝͬͯΔͱѪண༙͘ΑͶ ໌͑ΔPythonτϦϏΞ ʙΈࠐΈؔฤʙ
͢͜ͱ
͢͜ͱ 1. ҙ֎ͱΒΕͯͳͦ͞͏ͳؔ 2. ସखஈͷ͋Δؔ 3. ຊʹΒͳͯ͘ࠔΒͳ͍ؔ 4. ऴΘΔ࣌ͷؔ
͢͜ͱ 1. ҙ֎ͱΒΕͯͳͦ͞͏ͳؔ 2. ସखஈͷ͋Δؔ 3. ຊʹΒͳͯ͘ࠔΒͳ͍ؔ 4. ऴΘΔ࣌ͷؔ
ҙ֎ͱΒΕͯແͦ͞͏ͳؔ • all() / any()
ҙ֎ͱΒΕͯແͦ͞͏ͳؔ • min() / max()
ҙ֎ͱΒΕͯແͦ͞͏ͳؔ • min() / max()
ҙ֎ͱΒΕͯແͦ͞͏ͳؔ • divmod()
ҙ֎ͱΒΕͯແͦ͞͏ͳؔ • divmod() ༨Γ͕1.1ʹͳΒͳ͍ɾɾɾ
ҙ֎ͱΒΕͯແͦ͞͏ͳؔ • bin() / oct() / int() / hex() 2
/ 8 / 10 / 16ਐͷม int()ͷΈจࣈྻ͔Βͷͷܕม͕Ͱ͖Δ
ҙ֎ͱΒΕͯແͦ͞͏ͳؔ • bin() / oct() / int() / hex() 2
/ 8 / 16ਐͷจࣈྻΛ10ਐʹม͢Δͱ͖ → ୈೋҾʹجఈͷΛೖΕͯ͋͛Δ
͢͜ͱ 1. ҙ֎ͱΒΕͯͳͦ͞͏ͳؔ 2. ସखஈͷ͋Δؔ 3. ຊʹΒͳͯ͘ࠔΒͳ͍ؔ 4. ऴΘΔ࣌ͷؔ
ସखஈͷ͋Δؔ • map() / filter()
ସखஈͷ͋Δؔ • map() / filter()
ସखஈͷ͋Δؔ • map() / filter() ※͜͏͍͏ॻ͖ํͰ͖ͳ͍
͢͜ͱ 1. ҙ֎ͱΒΕͯͳͦ͞͏ͳؔ 2. ସखஈͷ͋Δؔ 3. ຊʹΒͳͯ͘ࠔΒͳ͍ؔ 4. ऴΘΔ࣌ͷؔ
ຊʹΒͳ͍͍ͯؔ͘ • copyright() / license() / credits()
ຊʹΒͳ͍͍ͯؔ͘ • copyright() / license() / credits()
ຊʹΒͳ͍͍ͯؔ͘ • copyright() / license() / credits()
͢͜ͱ 1. ҙ֎ͱΒΕͯͳͦ͞͏ͳؔ 2. ସखஈͷ͋Δؔ 3. ຊʹΒͳͯ͘ࠔΒͳ͍ؔ 4. ऴΘΔ࣌ͷؔ
ऴΘΔ࣌ͷؔ • exit() / quit() ྫ֎ൃੜ͍ͤͯ͞Δ͚ͩͳͷͰ try۟Ͱғ͏ͱऴΘΒͳ͍
·ͩ·ͩ͋Γ·͢ʂʂ ɾbuiltins.pyʹఆٛ͞Ε͍ͯΔ ɾௐͯΈΔͱҙ֎ͱ໘ന͍Ͱ͢
GeekLab.NAGANOͷհ GeekLab.NAGANOɹɹɹ: @glnagano ʢΪʔΫϥϘɹ௨শ:ΪʔϥϘʣ ΤϯδχΞͷू·ΔϑϦʔεϖʔε ษڧձΠϕϯτɺηϛφʔΛ։࠵ ӡӦɿ (ג)ຊγεςϜٕݚʗ৴ֶձʗΩϟελϦΞ(ג)