Nice tips. Although wouldn't you want to use with when reading a file as well? I know it doesn't really matter for short scripts, but it's still a good habit to get into.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice tips. Although wouldn't you want to use
with
when reading a file as well? I know it doesn't really matter for short scripts, but it's still a good habit to get into.