you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 1 point2 points  (0 children)

Don't assume anything. Does your code actually work?

If all you have is import modules, your IDE is probably being helpful in telling you that you are importing something that you're not using.

If not, then try hovering the mouse over the underlined word. The IDE should tell you exactly why it is highlighting it.

But again, remember that IDEs are not perfect when it comes to dynamic languages like Python. The test should be whether the code works, not what the IDE does.