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
													
											
												
												- PyQt5
- 라즈베리파이
- swift
- python
- ubuntu
- MS-SQL
- sqlite
- MySQL
- mssql
- Unity
- 날짜
- 맛집
- flutter
- tensorflow
- urllib
- GIT
- PyQt
- Linux
- 함수
- node.js
- 유니티
- Excel
- ASP
- IOS
- 다이어트
- pandas
- PER
- 리눅스
- javascript
- port
													Archives
													
											
											
											
											목록Len (1)
아미(아름다운미소)
			
			
				Python에서 확장자가 .wav .mp3 인 디렉토리의 모든 파일 찾기
				
	
	
               
           
					
					
					
					
					
					
						
					
				Python에서 확장자가 .wav .mp3 인 디렉토리의 모든 파일 찾기 # -*- coding: utf-8 -*- ''' Created on 2018. 9. 5. @author: bhm ''' import os path = 'D:\RecData\Wav' files = os.listdir(path) filescnt_mp3 = [i for i in files if i.endswith('.mp3')] print len(filescnt_mp3) filescnt_wav = [i for i in files if i.endswith('.wav')] print len(filescnt_wav)
				랭귀지/python
				
				2018. 9. 7. 11:30