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 re, os | |
PATH = 'd:/downloads' | |
regex = re.compile(r'\d{3}-\d{1}') | |
files = [] | |
numbers = [] | |
# r=root, d=directories, f = files | |
for r, d, f in os.walk(PATH): |
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
# 내가 만든 앱이 사용하는 것 | |
export ERP_API_DEBUG=debug | |
# pip 사용 하면서 설정 | |
export PATH=$HOME/.local/bin:$PATH | |
# 내 취향 | |
export EDITOR='vi' | |
# pyenv 사용 하면서 설정 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[user] | |
email = the1900.me@gmail.com | |
name = the1900 | |
[core] | |
editor = code --wait | |
quotepath = false # git status시 한글 꺠짐 방지 | |
[credential] | |
helper = store # Windows 는 안됨 평문으로 인증 정보 저장되니 주의! | |
[diff] | |
tool = vscode |
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 re, os | |
FILE = 'd:/newdesktop/target.txt' | |
result = set() | |
with open(FILE, 'r', encoding = 'utf-8') as f: |
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 re, os | |
# 이미지파일들이 존재 하는 경로 |