Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
警告が表示Assignment to reserved built-in symbol: file されます: このコマンドで:
Assignment to reserved built-in symbol: file
file=open(fileName,'r')
特定の理由はありますか?
fileは、Python の組み込みグローバル名です。再定義しないように警告しています。
file