This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 우분투 업데이트 | |
| ================= | |
| sudo apt update -y | |
| 도커 공식 홈페이지 저장소 추가 | |
| ============================ | |
| sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
| 도커 GPG Key 추가 | |
| ================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ppt = Presentation('filename.pptx') # PPT File Load | |
| title = ppt.slides[0].shapes.title # 첫번째 슬라이드의 Title을 title 변수에 획득 | |
| title.text = title.text.replace("before","after") # 특정 텍스트 변경 | |
| title.text_frame.parhagraphs[0].font.name = 'Arial' # 사용할 폰트 이름 지정 | |
| title.text_frame.parhagraphs[0].font.size = Pt(16) # Range가 100부터 40만인가 그렇습니다. | |
| # 하지만 from pptx.util import Pt 를 하신 뒤 Pt를 쓰시면 저렇게 폰트크기 입력이 가능합니다. | |
| # title.text_frame.paragraphs[0].font.size 입력하면 해당 숫자가 나타납니다. | |
| # Pt크기를 보시려면 title.text_frame.paragraphs[0].font.size.Pt 하시면 Pt크기를 볼 수 있습니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ppt = Presentation('filename.pptx') | |
| title = ppt.slides[0].shapes.title | |
| title.text = title.text.replace("before","after") | |
| ppt.save('filename.pptx') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href='http://gmyankee.tistory.com'>GM Yankee 블로그 메인페이지!</a> | |
| <br/> | |
| <a href='http://www.naver.com'>네이버!</a> | |
| <br/> | |
| <a href="http://www.daum.net">다음!</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h6>h6 태그 입니다.</h6> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h5>h5 태그 입니다.</h5> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h4>h4 태그 입니다.</h4> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h3>h3 태그 입니다.</h3> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2>h2 태그 입니다.</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1>h1 태그 입니다.</h1> |