SlideShare a Scribd company logo
BetterChristoforus Surjoputro
CTO moshoi
cs_sanmar@yahoo.com
christo@python.or.id
Code
With
05 Agustus 2016
PythonPython
Bagian 1Bagian 1
Guido Van RossumPhoto by: Adrie Mouthaan
Pertama Kali Muncul: 20
Februari 1991
VersiVersi TerbaruTerbaru::
3.5.23.5.2
27 Juni 201627 Juni 2016
Kenapa PythonKenapa Python
Bagian 2Bagian 2
CROSS-PLATFORMCROSS-PLATFORM
Sumber: https://wiki.python.org/moin/OrganizationsUsingPython
Pengguna PythonPengguna Python
Web ApplicationWeb Application
Desktop ApplicationDesktop Application
AnalyticAnalytic
Image ProcessingImage Processing
Game DavelopmentGame Davelopment
Web AutomationWeb Automation
Web ScrapingWeb Scraping
Hampir semua bisa dibuat dengan python
Sumber: http://www.tiobe.com/tiobe_index
Bahasa PythonBahasa Python
Bagian 3Bagian 3
PEPPEP
Python Enhancment ProposalPython Enhancment Proposal
https://www.python.org/dev/peps/https://www.python.org/dev/peps/
documentationdocumentation
https://docs.python.org/3/https://docs.python.org/3/
print(‘Hello World’)print(‘Hello World’)
Cara melakukan menampilkan output di terminal di pythonCara melakukan menampilkan output di terminal di python
Say Good Bye To:Say Good Bye To:
;;
https://docs.python.org/3.5/library/stdtypes.html
https://docs.python.org/3.5/library/datatypes.html
Data TypeData Type
intint
floatfloat
StringString
ListList
tupletuple dictionarydictionary
NumericNumeric
StringString
LISTLIST
LISTLIST
LISTLIST
LISTLIST
TUPLETUPLE
DICTIONARIESDICTIONARIES
FungsiFungsi
FungsiFungsi
Say Good Bye To:Say Good Bye To:
{}{}
Say Hello To:Say Hello To:
::
4 spasi(____)4 spasi(____)
ClassClass
CONTOHCONTOH
Bagian 4Bagian 4
Aplikasi Web SederhanaAplikasi Web Sederhana
Pokemon Go - MapPokemon Go - Map
Sumber BelajarSumber Belajar
Bagian 5Bagian 5
Terima KasihTerima Kasih
Slack python-idSlack python-id
https://slack-python-id.herokuapp.com/
Telegram surabaya.pyTelegram surabaya.py
https://telegram.me/surabayadotpy
Facebook Group Python-IDFacebook Group Python-ID
https://www.facebook.com/groups/IndonesianPython/

More Related Content

Similar to Better Code With Python

Pythonで実現する4コマ漫画の分析・評論
Pythonで実現する4コマ漫画の分析・評論Pythonで実現する4コマ漫画の分析・評論
Pythonで実現する4コマ漫画の分析・評論
esu ji
 
PHPer100人にPythonを教えてみた
PHPer100人にPythonを教えてみたPHPer100人にPythonを教えてみた
PHPer100人にPythonを教えてみた
kwatch
 
Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...
Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...
Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...
Viach Kakovskyi
 
Behold the Power of Python
Behold the Power of PythonBehold the Power of Python
Behold the Power of Python
Sarah Dutkiewicz
 
Python on Science ? Yes, We can.
Python on Science ?   Yes, We can.Python on Science ?   Yes, We can.
Python on Science ? Yes, We can.
Marcel Caraciolo
 
Why should I learn python
Why should I learn pythonWhy should I learn python
Why should I learn python
grinu
 
Why learn python in 2017?
Why learn python in 2017?Why learn python in 2017?
Why learn python in 2017?
Karolis Ramanauskas
 
Pyconza(2)
Pyconza(2)Pyconza(2)
Pyconza(2)
Nanjekye Joannah
 
Samsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of PythonSamsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of Python
Insuk (Chris) Cho
 
3D Computer Graphics with Python
3D Computer Graphics with Python3D Computer Graphics with Python
3D Computer Graphics with Python
Martin Christen
 
Python 101 For The Net Developer
Python 101 For The Net DeveloperPython 101 For The Net Developer
Python 101 For The Net Developer
Sarah Dutkiewicz
 
image-matchの紹介
image-matchの紹介image-matchの紹介
image-matchの紹介
Hattori Hideo
 
Tracing python applications
Tracing python applicationsTracing python applications
Tracing python applications
Nikolay Stoitsev
 
ICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic AlgorithmICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic Algorithm
Ahmed Gad
 
How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...
How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...
How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...
Kamila Stępniowska
 
Ladypy 01
Ladypy 01Ladypy 01
Ladypy 01
Calvin Cheng
 
Python Course
Python CoursePython Course
Python Course
Sourabh Sahu
 
Rust & Python : Rust WA meetup 1
Rust & Python : Rust WA meetup 1Rust & Python : Rust WA meetup 1
Rust & Python : Rust WA meetup 1
John Vandenberg
 
161020
161020161020
161020
robo_lab
 
First python project
First python projectFirst python project
First python project
Neetu Jain
 

Similar to Better Code With Python (20)

Pythonで実現する4コマ漫画の分析・評論
Pythonで実現する4コマ漫画の分析・評論Pythonで実現する4コマ漫画の分析・評論
Pythonで実現する4コマ漫画の分析・評論
 
PHPer100人にPythonを教えてみた
PHPer100人にPythonを教えてみたPHPer100人にPythonを教えてみた
PHPer100人にPythonを教えてみた
 
Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...
Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...
Austin Python Meetup 2017: How to Stop Worrying and Start a Project with Pyth...
 
Behold the Power of Python
Behold the Power of PythonBehold the Power of Python
Behold the Power of Python
 
Python on Science ? Yes, We can.
Python on Science ?   Yes, We can.Python on Science ?   Yes, We can.
Python on Science ? Yes, We can.
 
Why should I learn python
Why should I learn pythonWhy should I learn python
Why should I learn python
 
Why learn python in 2017?
Why learn python in 2017?Why learn python in 2017?
Why learn python in 2017?
 
Pyconza(2)
Pyconza(2)Pyconza(2)
Pyconza(2)
 
Samsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of PythonSamsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of Python
 
3D Computer Graphics with Python
3D Computer Graphics with Python3D Computer Graphics with Python
3D Computer Graphics with Python
 
Python 101 For The Net Developer
Python 101 For The Net DeveloperPython 101 For The Net Developer
Python 101 For The Net Developer
 
image-matchの紹介
image-matchの紹介image-matchの紹介
image-matchの紹介
 
Tracing python applications
Tracing python applicationsTracing python applications
Tracing python applications
 
ICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic AlgorithmICEIT'20 Cython for Speeding-up Genetic Algorithm
ICEIT'20 Cython for Speeding-up Genetic Algorithm
 
How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...
How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...
How You Can Use Open Source Materials to Learn Python & Data Science - EuroPy...
 
Ladypy 01
Ladypy 01Ladypy 01
Ladypy 01
 
Python Course
Python CoursePython Course
Python Course
 
Rust & Python : Rust WA meetup 1
Rust & Python : Rust WA meetup 1Rust & Python : Rust WA meetup 1
Rust & Python : Rust WA meetup 1
 
161020
161020161020
161020
 
First python project
First python projectFirst python project
First python project
 

More from Christoforus Surjoputro

Deno Fundamentals
Deno FundamentalsDeno Fundamentals
Deno Fundamentals
Christoforus Surjoputro
 
Static code analysis
Static code analysisStatic code analysis
Static code analysis
Christoforus Surjoputro
 
Is it fun to become a software engineer?
Is it fun to become a software engineer?Is it fun to become a software engineer?
Is it fun to become a software engineer?
Christoforus Surjoputro
 
Backend engineer journey
Backend engineer journeyBackend engineer journey
Backend engineer journey
Christoforus Surjoputro
 
Life as software engineer at startup
Life as software engineer at startupLife as software engineer at startup
Life as software engineer at startup
Christoforus Surjoputro
 
Unit testing ❤ pure function
Unit testing ❤ pure functionUnit testing ❤ pure function
Unit testing ❤ pure function
Christoforus Surjoputro
 
Google maps replacement with python
Google maps replacement with pythonGoogle maps replacement with python
Google maps replacement with python
Christoforus Surjoputro
 
How messenger bot work
How messenger bot workHow messenger bot work
How messenger bot work
Christoforus Surjoputro
 
Introduction to polymer project
Introduction to polymer projectIntroduction to polymer project
Introduction to polymer project
Christoforus Surjoputro
 

More from Christoforus Surjoputro (9)

Deno Fundamentals
Deno FundamentalsDeno Fundamentals
Deno Fundamentals
 
Static code analysis
Static code analysisStatic code analysis
Static code analysis
 
Is it fun to become a software engineer?
Is it fun to become a software engineer?Is it fun to become a software engineer?
Is it fun to become a software engineer?
 
Backend engineer journey
Backend engineer journeyBackend engineer journey
Backend engineer journey
 
Life as software engineer at startup
Life as software engineer at startupLife as software engineer at startup
Life as software engineer at startup
 
Unit testing ❤ pure function
Unit testing ❤ pure functionUnit testing ❤ pure function
Unit testing ❤ pure function
 
Google maps replacement with python
Google maps replacement with pythonGoogle maps replacement with python
Google maps replacement with python
 
How messenger bot work
How messenger bot workHow messenger bot work
How messenger bot work
 
Introduction to polymer project
Introduction to polymer projectIntroduction to polymer project
Introduction to polymer project
 

Recently uploaded

Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
AnkitaPandya11
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
YousufSait3
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 

Recently uploaded (20)

Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 

Better Code With Python

Editor's Notes

  1. Tanya dulu siapa yang pernah menggunakan python. Setelah itu tanya siapa pembuat bahasa pemrogramam python
  2. Ditanya dahulu, bisa jalan dimana saja?
  3. Ditanya juga siapa yang pernah main raspberry pi, banana pi, orange pi, dan lainnya? Raspberry pi merekomendasikan python sebagai bahasa pemrograman untuk belajar di FAQ.
  4. Ada INSTAGRAM dan NETFLIX http://stackshare.io/python/in-stacks
  5. Tiobe index melihat popularitas
  6. PEP bukan reference, melainkan desain dokumen dan mendeskripsikan fitur baru.
  7. Content: 1. Tutorial 2. Library Reference Standard library yang didistribusikan python 3. Language Reference Berisi sintaks2 seperti if, for, while, try...except, dan lainnya
  8. Badningkan denga JAVA dan PHP
  9. Coba operator +, -, *, /, %, **, //
  10. Handson simpan string, menggabungkan string dengan (+), upper, lower, capitalize, strip Langsung contoh splicing string dengan mengambil bagian query di link. Misal: https://www.python.or.id/halo
  11. Basic list
  12. Fungsi-fungsi pada list
  13. Fungsi-fungsi pada list
  14. List comprehension