Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #57785
    FlashSn0w
    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
    Diego PérezDiego Pérez
    Participant

    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.
Privacy Overview
ZSecurity logo featuring a stylized red letter Z

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

3rd Party Cookies

This website uses Google Analytics and Linkedin to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping these cookies enabled helps us to improve our website.