Debugging Python with ipdb and Sypder

preview_player
Показать описание
A powerful debugging tool for Python is the pdb (or ipdb) tool that is part of the Integrate Development Environment of Spyder (available from the Anaconda download). This exercise shows how to debug code to fix syntax and logical programming errors.
Рекомендации по теме
Комментарии
Автор

From Logan: Here is one additional error on line 63-64
for i in np.arange(np.size(time)):
P_s[i] = Ps(time[i])
The Ps function takes a time as the argument. We had previously passed in just i, which is a range from 1-50. Instead, we want to pass each of the 50 time points ranging from 0-24 hours, in the method shown above.

apm
Автор

you got me at the "syphilis rash" search query

ulfgj
Автор

unrelated to debugging, but related to fixing some errors

denizgull
Автор

are you fixing and searching while recording ?? seriously

albda
Автор

I had to stop halftime because it was too much confusing

filippoantoniocapizzi
Автор

Hi, APMonitor.com,


If you would like to make the sample code publicly, then this video can be more popular since people can actually execute what you are doing in this video.


I hope you would love to share this code via a link so that I can replicate your steps.


Best,
Bo Li

boli
Автор

Nice tutorial, it's really helpful.

h
Автор

vote down - it is not how to debugging in python and spyder but how to handle with common errors and mistakes

onmyway
visit shbcf.ru