Apr-19-2017, 07:43 AM
For in-line testing I would recommend jupyter. It allows - among other things - to interactively test small code snippets. You may use ipython for that - or Python console in PyCharm - but jupyter notebook is more convenient, especially when you want to copy the results into IDE.
And it stores the history, which may be later reloaded and re-executed.
And it stores the history, which may be later reloaded and re-executed.
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.