SlideShare a Scribd company logo
Copyright@ 2016 All reserved by KrDAG
AUTOMATE THE
BORING STUFF
WITH PYTHON
삶을 윤택하게 해주는 코딩
KRDAG
장성만 (frontjang@naver.com)
Copyright@ 2016 All reserved by KrDAG
 Part 1 - The Basics of Python Programming (~143p)
 Introduction / Python Basics / Flow Control / Functions
 Lists / Dictionaries and Structuring Data / Manipulating Strings
 Part 2 - Automating Tasks (~439p)
 Pattern Matching with Regular Expressions
 Reading and Writing Files / Organizing Files
 Debugging / Web Scraping
 Working with Excel Spreadsheets
 Working with PDF and Word Documents
 Working with CSV Files and JSON Data
 Time, Scheduling Tasks, and Launching Programs
 Sending Email and Text Messages
 Manipulating Images
 Controlling the Keyboard and Mouse with GUI Automation
책 소개
Automate the Boring Stuff with Python
https://automatetheboringstuff.com/
https://github.com/iliyahoo/Automate-The-Boring-Stuff-With-Python
Copyright@ 2016 All reserved by KrDAG
 Comparison to Java / C++
 Python run slower; but take much less time to develop.
 3-5 times shorter than Java, 5-10 times shorter than C++
 no type declaring, powerful polymorphic list and dictionary types
 Python as a "glue" language, while others as a low-level implementation language.
 Everything in python is an object, and it sits on the heap
 Python is similar to Java
 Python is interpreted language while C++ is a compiled language
 Python class members are determined at run-time
 C++ has no has automatic memory management (garbage collection)
 Python have a full set of reflection capabilities; Serialization by pickle.saves()
WHY PYTHON?
Trade-off between Productivity and Performance?
https://www.python.org/doc/essays/comparisons/
https://www.quora.com/What-is-the-difference-between-Python-and-C++#!n=12
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE
BASICS OF PYTHON
PROGRAMMING
Python 기초배우기
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE BASICS OF PYTHON PROGRAMMING
Chapter 1. Python Basics
https://en.wikipedia.org/wiki/High_availability
#include <stdio.h>
int main()
{
float percent;
scanf("%f", &percent);
printf("%f",(100-percent)*0.01*365*24*60);
return 0;
}
gcc –o main main.c
./main
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE BASICS OF PYTHON PROGRAMMING
Chapter 2. Flow Control
@cafepear
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE BASICS OF PYTHON PROGRAMMING
Chapter 2. Flow Control
http://www.soccerline.co.kr/slboard/view.php?
uid=1988123089&page=41&code=totalboard
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE BASICS OF PYTHON PROGRAMMING
Chapter 3. Functions
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE BASICS OF PYTHON PROGRAMMING
Chapter 4. Lists
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE BASICS OF PYTHON PROGRAMMING
Chapter 5. Dictionaries and Structuring Data
http://kin.naver.com/qna/detail.nhn?d1id=3&dirId=30104&docId=201995942&qb=7Jew7JiI7J24I
DEwMOuqhQ==&enc=utf8&section=kin&rank=1&search_sort=0&spq=0
Copyright@ 2016 All reserved by KrDAG
PART 1 - THE BASICS OF PYTHON PROGRAMMING
Chapter 6. Manipulating Strings
Copyright@ 2016 All reserved by KrDAG
PART 2 - AUTOMATING
TASKS
Python 활용하기
Copyright@ 2016 All reserved by KrDAG
PART 2 - AUTOMATING TASKS
Chapter 7. Pattern Matching with Regular Expressions
Copyright@ 2016 All reserved by KrDAG
PART 2 - AUTOMATING TASKS
Chapter 8/9. Reading and Writing Files / Organizing Files
Copyright@ 2016 All reserved by KrDAG
PART 2 - AUTOMATING TASKS
Chapter 11. Web Scraping
http://xkcd.com/927/
Copyright@ 2016 All reserved by KrDAG
PART 2 - AUTOMATING TASKS
Chapter 13. Working with PDF and Word Documents
https://github.com/rk700/PyMuPDF
Copyright@ 2016 All reserved by KrDAG
PART 2 - AUTOMATING TASKS
Chapter 18. Controlling the Keyboard and Mouse with GUI Automation
Copyright@ 2016 All reserved by KrDAG
APPENDIX
Goorm위에서 개발하기
http://www.goorm.io/
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG
Copyright@ 2016 All reserved by KrDAG

More Related Content

What's hot

Hands on Session on Python
Hands on Session on PythonHands on Session on Python
Hands on Session on Python
Sumit Raj
 
Python basic
Python basicPython basic
Python basic
Saifuddin Kaijar
 
CSS
CSSCSS
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
Praveen M Jigajinni
 
Intro to Python Programming Language
Intro to Python Programming LanguageIntro to Python Programming Language
Intro to Python Programming Language
Dipankar Achinta
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
Ayshwarya Baburam
 
Python ppt
Python pptPython ppt
Python ppt
Rohit Verma
 
Python Programming Language
Python Programming LanguagePython Programming Language
Python Programming Language
Dr.YNM
 
XML Schema
XML SchemaXML Schema
XML Schema
yht4ever
 
Python ppt
Python pptPython ppt
Python ppt
Rachit Bhargava
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
python.pptx
python.pptxpython.pptx
python.pptx
SabthamiS1
 
Python Functions
Python   FunctionsPython   Functions
Python Functions
Mohammed Sikander
 
What is Python Lambda Function? Python Tutorial | Edureka
What is Python Lambda Function? Python Tutorial | EdurekaWhat is Python Lambda Function? Python Tutorial | Edureka
What is Python Lambda Function? Python Tutorial | Edureka
Edureka!
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
satvirsandhu9
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
Samir Mohanty
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Amit Tyagi
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
Learnbay Datascience
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
Yi-Fan Chu
 

What's hot (20)

Hands on Session on Python
Hands on Session on PythonHands on Session on Python
Hands on Session on Python
 
Python basic
Python basicPython basic
Python basic
 
CSS
CSSCSS
CSS
 
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
 
Intro to Python Programming Language
Intro to Python Programming LanguageIntro to Python Programming Language
Intro to Python Programming Language
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python ppt
Python pptPython ppt
Python ppt
 
Python Programming Language
Python Programming LanguagePython Programming Language
Python Programming Language
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Python ppt
Python pptPython ppt
Python ppt
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
 
python.pptx
python.pptxpython.pptx
python.pptx
 
Python Functions
Python   FunctionsPython   Functions
Python Functions
 
What is Python Lambda Function? Python Tutorial | Edureka
What is Python Lambda Function? Python Tutorial | EdurekaWhat is Python Lambda Function? Python Tutorial | Edureka
What is Python Lambda Function? Python Tutorial | Edureka
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Overview of python 2019
Overview of python 2019Overview of python 2019
Overview of python 2019
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 

Viewers also liked

The roll of memory in the sense of ending
The roll of memory in the sense of endingThe roll of memory in the sense of ending
The roll of memory in the sense of ending
nilamba3158
 
analysis of students work
analysis of students workanalysis of students work
analysis of students work
lou550
 
مواقع مهمة
مواقع مهمةمواقع مهمة
مواقع مهمة
MUTAZ4
 
The Roll of memory in the sense of ending
The Roll of memory in the sense of endingThe Roll of memory in the sense of ending
The Roll of memory in the sense of ending
nilamba3158
 
視覺科技輔具應用於體育教學上
視覺科技輔具應用於體育教學上視覺科技輔具應用於體育教學上
視覺科技輔具應用於體育教學上
恩弘 林
 
Processos telègraf i telefón neus i valentina
Processos telègraf i telefón neus i valentinaProcessos telègraf i telefón neus i valentina
Processos telègraf i telefón neus i valentinaaulaprocessos
 
Q4 rmp programebi
Q4 rmp programebiQ4 rmp programebi
Q4 rmp programebi
Eliso Pruidze
 
מצגת למנהלת תבע 384
מצגת למנהלת תבע 384מצגת למנהלת תבע 384
מצגת למנהלת תבע 384Hila Aoad
 
體育教學信念20131101 blog
體育教學信念20131101 blog體育教學信念20131101 blog
體育教學信念20131101 blog
恩弘 林
 
ANALYSIS OF MUSIC VIDEOS
ANALYSIS OF MUSIC VIDEOSANALYSIS OF MUSIC VIDEOS
ANALYSIS OF MUSIC VIDEOS
lou550
 
4 -laporan-keuangan
4  -laporan-keuangan4  -laporan-keuangan
4 -laporan-keuangan
santimoch
 

Viewers also liked (12)

The roll of memory in the sense of ending
The roll of memory in the sense of endingThe roll of memory in the sense of ending
The roll of memory in the sense of ending
 
analysis of students work
analysis of students workanalysis of students work
analysis of students work
 
مواقع مهمة
مواقع مهمةمواقع مهمة
مواقع مهمة
 
The Roll of memory in the sense of ending
The Roll of memory in the sense of endingThe Roll of memory in the sense of ending
The Roll of memory in the sense of ending
 
視覺科技輔具應用於體育教學上
視覺科技輔具應用於體育教學上視覺科技輔具應用於體育教學上
視覺科技輔具應用於體育教學上
 
Processos telègraf i telefón neus i valentina
Processos telègraf i telefón neus i valentinaProcessos telègraf i telefón neus i valentina
Processos telègraf i telefón neus i valentina
 
Q4 rmp programebi
Q4 rmp programebiQ4 rmp programebi
Q4 rmp programebi
 
מצגת למנהלת תבע 384
מצגת למנהלת תבע 384מצגת למנהלת תבע 384
מצגת למנהלת תבע 384
 
體育教學信念20131101 blog
體育教學信念20131101 blog體育教學信念20131101 blog
體育教學信念20131101 blog
 
Pajaros
PajarosPajaros
Pajaros
 
ANALYSIS OF MUSIC VIDEOS
ANALYSIS OF MUSIC VIDEOSANALYSIS OF MUSIC VIDEOS
ANALYSIS OF MUSIC VIDEOS
 
4 -laporan-keuangan
4  -laporan-keuangan4  -laporan-keuangan
4 -laporan-keuangan
 

Similar to 20160331_Automate the boring stuff with python

Django - Python MVC Framework
Django - Python MVC FrameworkDjango - Python MVC Framework
Django - Python MVC Framework
Bala Kumar
 
Writing Fast Code (JP) - PyCon JP 2015
Writing Fast Code (JP) - PyCon JP 2015Writing Fast Code (JP) - PyCon JP 2015
Writing Fast Code (JP) - PyCon JP 2015
Younggun Kim
 
Profiling and optimizing go programs
Profiling and optimizing go programsProfiling and optimizing go programs
Profiling and optimizing go programs
Badoo Development
 
Introduction of R on Hadoop
Introduction of R on HadoopIntroduction of R on Hadoop
Introduction of R on Hadoop
Chung-Tsai Su
 
Ladypy 01
Ladypy 01Ladypy 01
Ladypy 01
Calvin Cheng
 
Web Development in Django
Web Development in DjangoWeb Development in Django
Web Development in Django
Lakshman Prasad
 
Learn python
Learn pythonLearn python
Learn python
Kracekumar Ramaraju
 
Data Mining with SpagoBI suite
Data Mining with SpagoBI suiteData Mining with SpagoBI suite
Data Mining with SpagoBI suite
SpagoWorld
 
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
Karin Patenge
 
Writing Fast Code - PyCon HK 2015
Writing Fast Code - PyCon HK 2015Writing Fast Code - PyCon HK 2015
Writing Fast Code - PyCon HK 2015
Younggun Kim
 
Make your PySpark Data Fly with Arrow!
Make your PySpark Data Fly with Arrow!Make your PySpark Data Fly with Arrow!
Make your PySpark Data Fly with Arrow!
Databricks
 
Develop At The Speed Of Thought
Develop At The Speed Of ThoughtDevelop At The Speed Of Thought
Develop At The Speed Of Thought
Roy Ganor
 
Improving code quality using CI
Improving code quality using CIImproving code quality using CI
Improving code quality using CI
Martin de Keijzer
 
Easy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & MercurialEasy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & Mercurial
Widoyo PH
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
Widoyo PH
 
Spark + AI Summit recap jul16 2020
Spark + AI Summit recap jul16 2020Spark + AI Summit recap jul16 2020
Spark + AI Summit recap jul16 2020
Guido Oswald
 
JPA Week3 Entity Mapping / Hexagonal Architecture
JPA Week3 Entity Mapping / Hexagonal ArchitectureJPA Week3 Entity Mapping / Hexagonal Architecture
JPA Week3 Entity Mapping / Hexagonal Architecture
Covenant Ko
 
AppengineJS
AppengineJSAppengineJS
AppengineJS
Panagiotis Astithas
 
H2O PySparkling Water
H2O PySparkling WaterH2O PySparkling Water
H2O PySparkling Water
Sri Ambati
 
Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...
Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...
Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...
PyData
 

Similar to 20160331_Automate the boring stuff with python (20)

Django - Python MVC Framework
Django - Python MVC FrameworkDjango - Python MVC Framework
Django - Python MVC Framework
 
Writing Fast Code (JP) - PyCon JP 2015
Writing Fast Code (JP) - PyCon JP 2015Writing Fast Code (JP) - PyCon JP 2015
Writing Fast Code (JP) - PyCon JP 2015
 
Profiling and optimizing go programs
Profiling and optimizing go programsProfiling and optimizing go programs
Profiling and optimizing go programs
 
Introduction of R on Hadoop
Introduction of R on HadoopIntroduction of R on Hadoop
Introduction of R on Hadoop
 
Ladypy 01
Ladypy 01Ladypy 01
Ladypy 01
 
Web Development in Django
Web Development in DjangoWeb Development in Django
Web Development in Django
 
Learn python
Learn pythonLearn python
Learn python
 
Data Mining with SpagoBI suite
Data Mining with SpagoBI suiteData Mining with SpagoBI suite
Data Mining with SpagoBI suite
 
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
 
Writing Fast Code - PyCon HK 2015
Writing Fast Code - PyCon HK 2015Writing Fast Code - PyCon HK 2015
Writing Fast Code - PyCon HK 2015
 
Make your PySpark Data Fly with Arrow!
Make your PySpark Data Fly with Arrow!Make your PySpark Data Fly with Arrow!
Make your PySpark Data Fly with Arrow!
 
Develop At The Speed Of Thought
Develop At The Speed Of ThoughtDevelop At The Speed Of Thought
Develop At The Speed Of Thought
 
Improving code quality using CI
Improving code quality using CIImproving code quality using CI
Improving code quality using CI
 
Easy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & MercurialEasy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & Mercurial
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
 
Spark + AI Summit recap jul16 2020
Spark + AI Summit recap jul16 2020Spark + AI Summit recap jul16 2020
Spark + AI Summit recap jul16 2020
 
JPA Week3 Entity Mapping / Hexagonal Architecture
JPA Week3 Entity Mapping / Hexagonal ArchitectureJPA Week3 Entity Mapping / Hexagonal Architecture
JPA Week3 Entity Mapping / Hexagonal Architecture
 
AppengineJS
AppengineJSAppengineJS
AppengineJS
 
H2O PySparkling Water
H2O PySparkling WaterH2O PySparkling Water
H2O PySparkling Water
 
Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...
Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...
Massively Parallel Processing with Procedural Python by Ronert Obst PyData Be...
 

Recently uploaded

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
IJECEIAES
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
gaafergoudaay7aga
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 

Recently uploaded (20)

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 

20160331_Automate the boring stuff with python

  • 1. Copyright@ 2016 All reserved by KrDAG AUTOMATE THE BORING STUFF WITH PYTHON 삶을 윤택하게 해주는 코딩 KRDAG 장성만 (frontjang@naver.com)
  • 2. Copyright@ 2016 All reserved by KrDAG  Part 1 - The Basics of Python Programming (~143p)  Introduction / Python Basics / Flow Control / Functions  Lists / Dictionaries and Structuring Data / Manipulating Strings  Part 2 - Automating Tasks (~439p)  Pattern Matching with Regular Expressions  Reading and Writing Files / Organizing Files  Debugging / Web Scraping  Working with Excel Spreadsheets  Working with PDF and Word Documents  Working with CSV Files and JSON Data  Time, Scheduling Tasks, and Launching Programs  Sending Email and Text Messages  Manipulating Images  Controlling the Keyboard and Mouse with GUI Automation 책 소개 Automate the Boring Stuff with Python https://automatetheboringstuff.com/ https://github.com/iliyahoo/Automate-The-Boring-Stuff-With-Python
  • 3. Copyright@ 2016 All reserved by KrDAG  Comparison to Java / C++  Python run slower; but take much less time to develop.  3-5 times shorter than Java, 5-10 times shorter than C++  no type declaring, powerful polymorphic list and dictionary types  Python as a "glue" language, while others as a low-level implementation language.  Everything in python is an object, and it sits on the heap  Python is similar to Java  Python is interpreted language while C++ is a compiled language  Python class members are determined at run-time  C++ has no has automatic memory management (garbage collection)  Python have a full set of reflection capabilities; Serialization by pickle.saves() WHY PYTHON? Trade-off between Productivity and Performance? https://www.python.org/doc/essays/comparisons/ https://www.quora.com/What-is-the-difference-between-Python-and-C++#!n=12
  • 4. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Python 기초배우기
  • 5. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 1. Python Basics https://en.wikipedia.org/wiki/High_availability #include <stdio.h> int main() { float percent; scanf("%f", &percent); printf("%f",(100-percent)*0.01*365*24*60); return 0; } gcc –o main main.c ./main
  • 6. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 2. Flow Control @cafepear
  • 7. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 2. Flow Control http://www.soccerline.co.kr/slboard/view.php? uid=1988123089&page=41&code=totalboard
  • 8. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 3. Functions
  • 9. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 4. Lists
  • 10. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 5. Dictionaries and Structuring Data http://kin.naver.com/qna/detail.nhn?d1id=3&dirId=30104&docId=201995942&qb=7Jew7JiI7J24I DEwMOuqhQ==&enc=utf8&section=kin&rank=1&search_sort=0&spq=0
  • 11. Copyright@ 2016 All reserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 6. Manipulating Strings
  • 12. Copyright@ 2016 All reserved by KrDAG PART 2 - AUTOMATING TASKS Python 활용하기
  • 13. Copyright@ 2016 All reserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 7. Pattern Matching with Regular Expressions
  • 14. Copyright@ 2016 All reserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 8/9. Reading and Writing Files / Organizing Files
  • 15. Copyright@ 2016 All reserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 11. Web Scraping http://xkcd.com/927/
  • 16. Copyright@ 2016 All reserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 13. Working with PDF and Word Documents https://github.com/rk700/PyMuPDF
  • 17. Copyright@ 2016 All reserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 18. Controlling the Keyboard and Mouse with GUI Automation
  • 18. Copyright@ 2016 All reserved by KrDAG APPENDIX Goorm위에서 개발하기 http://www.goorm.io/
  • 19. Copyright@ 2016 All reserved by KrDAG
  • 20. Copyright@ 2016 All reserved by KrDAG
  • 21. Copyright@ 2016 All reserved by KrDAG
  • 22. Copyright@ 2016 All reserved by KrDAG
  • 23. Copyright@ 2016 All reserved by KrDAG
  • 24. Copyright@ 2016 All reserved by KrDAG
  • 25. Copyright@ 2016 All reserved by KrDAG
  • 26. Copyright@ 2016 All reserved by KrDAG
  • 27. Copyright@ 2016 All reserved by KrDAG
  • 28. Copyright@ 2016 All reserved by KrDAG
  • 29. Copyright@ 2016 All reserved by KrDAG