본문 바로가기

YYYEJI

검색하기
YYYEJI
프로필사진 YEJI ⍢

  • 분류 전체보기 (437)
    • C (0)
    • AI (8)
    • Dart (6)
    • Note (0)
    • Java (58)
    • Linux (14)
    • Flutter (12)
    • Github (9)
    • Python (54)
    • Security (7)
    • Network (0)
    • Algorithm (8)
    • Extensions (2)
    • News scrap (1)
    • Data structure (18)
    • R programming (11)
    • Database & SQL (17)
    • Operating system (4)
    • Computer architectures (84)
    • Web Application Server (WAS.. (37)
    • HTML(or XML) & CSS & JavaSc.. (68)
    • 인공지능 챗봇 (19)
Guestbook
Notice
Recent Posts
Recent Comments
Link
250x250
«   2026/01   »
일 월 화 수 목 금 토
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
  • Pipelining
  • Linux
  • react
  • XML
  • architecture
  • Rag
  • openai
  • web
  • mysql
  • javascript
  • control
  • github
  • for
  • computer
  • data structure
  • instruction
  • function
  • python
  • Java
  • html
  • Algorithm
  • Class
  • DB
  • php
  • MIPS
  • DS
  • CSS
  • DATAPATH
  • system
  • AI
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록FileNotFoundError (1)

YYYEJI

[MacOS] FileNotFoundError: [Errno 2] No such file or directory: 'xxxx.txt'

파이썬에서 파일을 열 때 발생하는 에러입니다. Vmware에서 설정되어 있는 작업경로를 기준으로 파일을 찾기 때문에 발생합니다. 제가 해결한 방법은 아래와 같이 파일의 이름을 넣는 것이 아니라 파일의 경로를 입력하는 것입니다. 아래 사진과 같이 경로를 입력해주면 에러가 해결됩니다. ◡̈

Python 2022. 9. 28. 11:55
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바