Steven Bethard wrote:
Brent W. Hughes wrote:

I copied and pasted some text into my Python code and then Pythowin put a red squiggley underline under the two tabs at the beginning of the line. What does that mean? I've tried various things including deleting the white space in front of the line and reinserting the tabs. I've also tried retyping the entire line. Sometimes, I can get the red line to go away but when I try to run the program, it gives me a syntax error on the line that had the red underline. Help!


You've probably mixed tabs with spaces in your indentation somewhere. Either replace all tabs with spaces or replace all spaces with tabs.

STeVe
The former is generally recommended.

Colin W.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to