This file contains 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
import os,shutil,magic | |
image = ['.jpeg','.png','.jpg','.gif','gif','jpg','png','jpeg'] | |
video = ['.mp4','.avi','.mpeg','mp4','avi','mpeg'] | |
audio = ['.mp3','.wav','mp3','wav'] | |
folder = input("폴더명을 입력해주세요 : ") | |
if os.path.exists("{}/result".format(folder)) is False: os.mkdir("{}/result".format(folder)) | |
if os.path.exists("{}/result/img".format(folder)) is False: os.mkdir("{}/result/img".format(folder)) |
This file contains 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
<!DOCTYPE html><!-- HTML5 표준이라는 것을 선언하기 위함 --> | |
<html> <!-- html를 사용하겠다는 선언부 --> | |
<head> <!-- 문서의 보이지 않는 정보들의 집합체 --> | |
<title>Browser 상단의 탭에 나타나는 제목을 의미해요!</title> | |
</head> <!--외부 파일을 불러들인다든지, 유입의 허용 사이트의 관련정보를 기술하는 곳 --> | |
<body> <!-- 말 그대로의 의미입니다. 몸체이며, 이곳에 여러분의 디자인적 감각을 뽐내실수 있어요! --> | |
<h1>This Page is HTML Tutorial By GM yankee...</h1> <!-- Header라고 다음 포스트에서 설명드리겠습니다. 제목이라고 생각하시면 되요! --> | |
</body>' <!--이 안의 웹 페이지의 내용이 모두 담겨진답니다. --> |
This file contains 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> |
This file contains 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 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 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 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 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 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 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') |
OlderNewer