J
Jeremy
Hello all,
I am trying to inherit the file object and don't know how to do it. I
need to open a file and perform operations on it in the class I am
writing. I know the simple syntax is:
class MyClass(file):
...
but I don't know how to make it open the file for reading/writing. Can
anyone help me out with this?
Thanks,
Jeremy
I am trying to inherit the file object and don't know how to do it. I
need to open a file and perform operations on it in the class I am
writing. I know the simple syntax is:
class MyClass(file):
...
but I don't know how to make it open the file for reading/writing. Can
anyone help me out with this?
Thanks,
Jeremy