in my coding program, it says this line of code is wrong syntax: class Mainwindow() . Why? whenever i add a line above it with just a semicolon (;), it says it isnt bad syntax.

i copied it directly from a tutorial.
WHY???
billy

wait never mind

Usually complaints of a syntax error on a particular line actually mean that the error is contained on the line before that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.