On 2/28/17, 3:32 AM, "Tutor on behalf of Peter Otten"
wrote:
>Ryan Smith wrote:
>
>> Hi all,
>>
>> New python student here. I have been using O¹reilly¹s "Python Beyond the
>> Basics: Object Oriented Programming video series". In one of the
>> assignments we are to write a simple inheritance hier
Ryan Smith wrote:
> Hi all,
>
> New python student here. I have been using O¹reilly¹s "Python Beyond the
> Basics: Object Oriented Programming video series". In one of the
> assignments we are to write a simple inheritance hierarchy of three
> classes that write to text files. I have actually wri
Hi Ryan,
Let's take a look...
Overloading the "write" method to take in different types of arguments
looks a bit suspicious.
You have a superclass that defines a write method, and you have two
subclasses that implement that method. However, your first
implementation, LogFile.write, appears to
Hi all,
New python student here. I have been using O¹reilly¹s "Python Beyond the
Basics: Object Oriented Programming video series". In one of the
assignments we are to write a simple inheritance hierarchy of three
classes that write to text files. I have actually written the code for the
assignmen