KEMBAR78
20160331_Automate the boring stuff with python | PDF
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

20160331_Automate the boring stuff with python

  • 1.
    Copyright@ 2016 Allreserved by KrDAG AUTOMATE THE BORING STUFF WITH PYTHON 삶을 윤택하게 해주는 코딩 KRDAG 장성만 (frontjang@naver.com)
  • 2.
    Copyright@ 2016 Allreserved 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 Allreserved 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 Allreserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Python 기초배우기
  • 5.
    Copyright@ 2016 Allreserved 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 Allreserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 2. Flow Control @cafepear
  • 7.
    Copyright@ 2016 Allreserved 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 Allreserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 3. Functions
  • 9.
    Copyright@ 2016 Allreserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 4. Lists
  • 10.
    Copyright@ 2016 Allreserved 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 Allreserved by KrDAG PART 1 - THE BASICS OF PYTHON PROGRAMMING Chapter 6. Manipulating Strings
  • 12.
    Copyright@ 2016 Allreserved by KrDAG PART 2 - AUTOMATING TASKS Python 활용하기
  • 13.
    Copyright@ 2016 Allreserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 7. Pattern Matching with Regular Expressions
  • 14.
    Copyright@ 2016 Allreserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 8/9. Reading and Writing Files / Organizing Files
  • 15.
    Copyright@ 2016 Allreserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 11. Web Scraping http://xkcd.com/927/
  • 16.
    Copyright@ 2016 Allreserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 13. Working with PDF and Word Documents https://github.com/rk700/PyMuPDF
  • 17.
    Copyright@ 2016 Allreserved by KrDAG PART 2 - AUTOMATING TASKS Chapter 18. Controlling the Keyboard and Mouse with GUI Automation
  • 18.
    Copyright@ 2016 Allreserved by KrDAG APPENDIX Goorm위에서 개발하기 http://www.goorm.io/
  • 19.
    Copyright@ 2016 Allreserved by KrDAG
  • 20.
    Copyright@ 2016 Allreserved by KrDAG
  • 21.
    Copyright@ 2016 Allreserved by KrDAG
  • 22.
    Copyright@ 2016 Allreserved by KrDAG
  • 23.
    Copyright@ 2016 Allreserved by KrDAG
  • 24.
    Copyright@ 2016 Allreserved by KrDAG
  • 25.
    Copyright@ 2016 Allreserved by KrDAG
  • 26.
    Copyright@ 2016 Allreserved by KrDAG
  • 27.
    Copyright@ 2016 Allreserved by KrDAG
  • 28.
    Copyright@ 2016 Allreserved by KrDAG
  • 29.
    Copyright@ 2016 Allreserved by KrDAG