About 28,200 results
Open links in new tab
  1. NameError: name 'datetime' is not defined | Codecademy

    Submitted by scriptMaster08449 almost 12 years NameError: name 'datetime' is not defined

  2. Exception & Error Handling in Python - Codecademy

    Learn how to handle Python exceptions using try-except blocks, avoid crashes, and manage errors efficiently. Explore Python error-handling techniques, including built-in exceptions, custom …

  3. NameError: global name 'randint' is not defined | Codecademy

    Submitted by gwendolyn about 13 years NameError: global name 'randint' is not defined

  4. Python | Errors | Codecademy

    Jun 3, 2021 · The two types of errors in Python are syntax errors and exceptions. Exceptions may arise even if the code is syntactically correct.

  5. name 'RUN' is not defined - Codecademy

    I keep getting this throughout this exercise – having to Loop 4 times is really causing it to be thrown: Traceback (most recent call last): File "python", line 30, in <module> File "<string>", line 1, in …

  6. Command Line Arguments in Python (sys.argv, argparse)

    Learn how to use Python command line arguments with `sys.argv`, `getopt`, and `argparse`. Compare each method and build flexible, user-friendly scripts with real examples.

  7. NameError: name 'Y' is not defined (and other infuriating tales)

    This is just one of many attempts I have made at completing this lesson. I’ve copied stuff from here and from other discussion boards, and nothing has worked. Every time, no matter whose code it is that I …

  8. Ex3: Triangle not defined - Codecademy

    What ever correct answer I put in, I always get this error: NameError: name 'Triangle' is not defined class Triangle(object): def __init__(self,...

  9. NameError: name 'false' is not defined? | Codecademy

    Traceback (most recent call last): File “python”, line 4, in Why does it say name false is not defined? Is this my fault or the websites fault?

  10. (15/15) NameError: global name 'true' is not defined - Codecademy

    (15/15) NameError: global name 'true' is not defined I have having difficulty understanding what to do. I am sure the issue is right under my nose, but I cant figure out what is wrong with my code. Can …