python_scripting_cms icon indicating copy to clipboard operation
python_scripting_cms copied to clipboard

Use context-manager to open and read file

Open khoivan88 opened this issue 4 years ago • 0 comments

  1. Use context-manager to open and read file.
  2. Add break for breaking out of the loop while reading a file to no wasting computer resources.

khoivan88 avatar Mar 16 '20 16:03 khoivan88