
[🇰🇷Korean Version]
| 에러 메시지 / 상황 | 원인 | 해결 방법 |
|---|---|---|
NameError: CommandHandler... | import에 등록 안 함 | 맨 윗줄 from telegram.ext import ...에 추가 |
AttributeError: ... no attribute 'read' | 오타 발생 | read() 대신 read_csv()로 수정 |
File Not Found / .rtf 문제 | 맥 텍스트 편집기 설정 오류 | 터미널 mv 명령어로 확장자를 .csv로 강제 변경 |
Permission denied | 파일 수정 권한 부족 | sudo 명령어를 사용해 관리자 권한으로 실행 |

단순히 읽기만 하는 봇에서, 텔레그램으로 재고 수량을 직접 수정하는 ‘데이터 쓰기’ 기능 구현하기
[ 🇺🇸English Version]
/check command.Series represents a single column, while a DataFrame is the entire table structure (rows and columns)./) to specific functions.ls (list files), mv (rename/move), and sudo (admin privileges with hidden password entry).| Error / Situation | Cause | Solution |
|---|---|---|
NameError: CommandHandler... | Not registered in import | Add to from telegram.ext import ... |
AttributeError: ... no attribute 'read' | Typo | Change read() to read_csv() |
File Not Found / .rtf issue | TextEdit formatting error | Use mv command to force change extension to .csv |
Permission denied | Lack of file modification permissions | Use sudo to run the command as an admin |

/check コマンドで、リアルタイムの在庫状況を表示させる。Series は1列のデータを、DataFrame は行と列を持つ表全体のデータを指し、最も汎用的な形式である。ls (一覧表示), mv (名前変更), sudo (管理者権限での実行、非表示パスワードの特性)。| エラーメッセージ / 状況 | 原因 | 解決方法 |
|---|---|---|
NameError: CommandHandler... | import に登録漏れ | from telegram.ext import ... に追加 |
AttributeError: ... no attribute 'read' | スペルミス (Typo) | read() を read_csv() に修正 |
File Not Found / .rtf 問題 | テキストエディタの設定ミス | ターミナルの mv コマンドで拡張子を .csv に強制変更 |
Permission denied | ファイル修正権限の不足 | sudo コマンドを使用して管理者権限で実行 |
