Why can’t I use tabs instead of spaces? My default editor automatically inserts tabs, and its becoming a pain in the ass to backspace every line of code i program and put in spaces.

You should be able to use tabs, you just can’t mix the two. However PEP8 calls for using spaces instead of tabs. Most editors I have used allow you to set the tab key to use four spaces instead of a tab. Which editor are you using?


But im pretty sure when i replaced all x4 spaces into tabs it wouldn’t run.

other way around!

Well that was a bad typo! Fixed to say what I was meaning to say :stuck_out_tongue:

Actually I lied, it was just a complier error :O… Erh thanks for the help.