python - Warning in file statement -


i getting warning :assignment reserved built-in symbol: file on comand:

file=open(filename,'r') 

any specific reason?

file built-in global name in python. it's warning not redefine it.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -