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
明日使えるちょっとニッチな組み込み関数
Search
sin-tanaka
October 30, 2017
Programming
1
620
明日使えるちょっとニッチな組み込み関数
17.10.27(Fri) 大阪Pythonの会#7でのLT
sin-tanaka
October 30, 2017
Tweet
Share
More Decks by sin-tanaka
See All by sin-tanaka
Pythonでライブをしよう!FoxDotを使った新時代のPython活用法 / pyconjp-2019
sin_tanaka_21
1
3.8k
AppSync入門できなかったのでGraphQLに入門した
sin_tanaka_21
0
140
Pythonで始めるウェブスクレイピング実践入門 / pyconjp-2018
sin_tanaka_21
13
8.1k
Other Decks in Programming
See All in Programming
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
480
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
240
gunshi
kazupon
1
140
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.6k
愛される翻訳の秘訣
kishikawakatsumi
3
370
AIエージェントの設計で注意するべきポイント6選
har1101
6
3.1k
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
220
クラウドに依存しないS3を使った開発術
simesaba80
0
220
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
130
AtCoder Conference 2025「LLM時代のAHC」
imjk
2
650
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
2.1k
Patterns of Patterns
denyspoltorak
0
430
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
840
Six Lessons from altMBA
skipperchong
29
4.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
210
We Have a Design System, Now What?
morganepeng
54
8k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.2k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.1k
Believing is Seeing
oripsolob
1
26
How GitHub (no longer) Works
holman
316
140k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
270
Designing for Timeless Needs
cassininazir
0
110
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
32
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
46
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 ʢΪʔΫϥϘɹ௨শ:ΪʔϥϘʣ ΤϯδχΞͷू·ΔϑϦʔεϖʔε ษڧձΠϕϯτɺηϛφʔΛ։࠵ ӡӦɿ (ג)ຊγεςϜٕݚʗ৴ֶձʗΩϟελϦΞ(ג)