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
													
											
												
												- tensorflow
- javascript
- 날짜
- swift
- mssql
- pandas
- urllib
- PER
- Linux
- Excel
- 맛집
- sqlite
- IOS
- PyQt
- python
- ubuntu
- 함수
- 라즈베리파이
- 유니티
- node.js
- PyQt5
- ASP
- MySQL
- 리눅스
- Unity
- GIT
- 다이어트
- port
- flutter
- MS-SQL
													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