반응형
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 |
Tags
- Excel
- numpy
- google apps script
- list
- GIT
- Java
- django
- Tkinter
- PySpark
- Google Excel
- PANDAS
- PostgreSQL
- 파이썬
- dataframe
- string
- Redshift
- Github
- matplotlib
- Apache
- array
- SQL
- Kotlin
- math
- hive
- Google Spreadsheet
- Python
- c#
- gas
- Mac
Archives
- Today
- Total
목록Python/Python glob (1)
달나라 노트
Python glob : glob
glob.glob glob는 보통 어떤 디렉토리의 파일 목록을 얻고싶을 때 사용할 수 있습니다. glob.glob에는 보통 아래처럼 추출할 파일 또는 디렉토리의 패턴을 제시합니다. import pandas as pd x = glob.glob('*') print(x) x = glob.glob('*.py') print(x) - Output ['test1.py', 'test_dir_2', 'test2.py', 'test3.py', 'test4.py', 'test5.py', 'test6.py', 'test7.py', 'test.xlsx', 'test_dir'] ['test1.py', 'test2.py', 'test3.py', 'test4.py', 'test5.py', 'test6.py', 'test7.py'] ..
Python/Python glob
2020. 11. 23. 16:50