Opening a file for writing will automatically create the file if necessary. But you are not opening the file for writing (>), you are opening it for reading (<). Please read the docs and make sure you understand the different modes used by open.
In reply to Re^2: print() on Closed File Handle Error!
by lostjimmy
in thread print() on Closed File Handle Error!
by twaddlac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |