Print empty line?

You will always only get an indent error if there is actually an indent error. Double check that your final line is indented the same was as the other lines — either with spaces or with tabs. Most likely, some of the lines had spaces (or tabs) and the other line had tabs (or spaces). … Read more

Using unicode character u201c

The reason is that in 3.x Python You can’t just mix unicode strings with byte strings. Probably, You’ve read the manuals dealing with Python 2.x where such things are possible as long as bytestring contains convertable chars. works fine for me, so the only reason is that you’re using wrong encoding for source file or … Read more

Tab Error in Python

You cannot mix tabs and spaces, according the PEP8 styleguide: Spaces are the preferred indentation method. Tabs should be used solely to remain consistent with code that is already indented with tabs. Python 3 disallows mixing the use of tabs and spaces for indentation. Python 2 code indented with a mixture of tabs and spaces should … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)