Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #57785
    AvatarFlashSn0w
    Participant

    Dear Sir or Madam,
    I am doing the Python & Ethical Hacking course and my Network Scanner was working for me very well but when I did what Zaid does in the program in the “Iterating Over Nested Data Structures” lecture, I am getting error which I do not understand and I cannot figure out why I am getting it. And also may I ask you why I am getting the error “Python 2 is no longer supported.” Thanks a lot for helping me in advance! I appreciate your help a lot!

    the code of my program: https://www.mediafire.com/view/aso646sspsvbui7/network_scanner_python_code.png/file
    the errors: https://www.mediafire.com/view/cnxfhuhcv9dk63i/network_scanner_error.png/file

    #57787
    diegodiego
    Moderator

    Hi!
    For some reason you have added () in code line 19, remove them. And in general it would be a good practice to compare your code with Zaid’s code to make sure the syntax and indentation are correct.

    And the python 2 warning is normal, it is not an error. The python developers are just sending a message.

    Greetings!
    Diego

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.