New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pořešit chyby v Notebooku #244

Open
encukou opened this Issue Oct 26, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@encukou
Member

encukou commented Oct 26, 2017

Když je v buňce chyba, dělá to neplechu. Občas je dobré chybu ukázat. V NumPy to teď řešíme takhle:

try:
    if numpy.eye(3):
        pass
except ValueError as e:
    print("Chyba!", type(e), e)

Mělo by to jít líp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment