[Tutor] problem with creating paths

Mark Lawrence breamoreboy at gmail.com
Wed Oct 17 15:10:51 EDT 2018


On 17/10/18 18:18, Mats Wichmann wrote:
> On 10/17/2018 10:07 AM, Shall, Sydney via Tutor wrote:
>> Firstly, I would like to thank Steven for reminding me of the assert
>> statement. I should have remembered this. It allowed me to isolate the
>> problem, which predictably (for me) was very elementary. I am too
>> embarrassed to say how simple the error was.
>>
>> However, my original problem was not solved by correcting this error.
>>
>> So, I will now try and narrow down the location of the problem and then
>> if I cannot solve it, I shall return for more good advice.
>>
>> Many thanks to Steven and to Peter.
> 
> I'll weigh in with a mini- (and unasked-for-) lecture here:
> 
> this is often the point at which someone says "boy, I wish Python were
> strongly typed, so things didn't change types in flight".
> 

This is where I say Python *IS* strongly, although dynamically typed. 
Why do people have such a problem with this?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Tutor mailing list