Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- javascript
- IOS
- GIT
- 다이어트
- sqlite
- 맛집
- PER
- 리눅스
- urllib
- mssql
- ubuntu
- MS-SQL
- node.js
- Excel
- ASP
- tensorflow
- 라즈베리파이
- pandas
- Linux
- MySQL
- python
- flutter
- Unity
- port
- PyQt5
- 유니티
- swift
- 날짜
- PyQt
- 함수
Archives
아미(아름다운미소)
python 에서 한글폴더 읽기 본문
python2.7 에서 한글폴더 읽기
Python 2.7.14windows7
#-*- encoding: utf8 -*- import os for f in os.listdir(u's:/한글폴더'): print(f)python 3.7.0 (3버전 이상)에서는 encoding , u 상관없이 잘 읽어옵니다.
'랭귀지 > PYTHON' 카테고리의 다른 글
[python] 특정 디렉토리의 파일 카운트 (0) | 2018.08.15 |
---|---|
Python 파일, 디렉토리 존재 여부 확인 (0) | 2018.08.14 |
Python: Download from FTP server using ftplib (0) | 2018.08.11 |
[ftplib] python ftp file upload (0) | 2018.08.10 |
pymssql CRUD 예제 (0) | 2018.08.09 |
Comments