Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

maybe try that again keeping 4 spaces before each line?


sort by: page size:

Try indenting those lines two spaces.

You need to... indent it. 2 spaces I think, maybe 4.

FYI, your writing would be more legible if you inserted spaces between all words.

Indent by four spaces. :-)

Add two spaces in front of that line, please.

It's two spaces. Of course four will work as well, it just adds extra indentation.

You need spaces after each asterisk.

Please put four spaces in front of that very long unbroken line.

Indent 4 spaces, you’ll get monospace. Not syntax highlighted but I doubt you’ll ever see that here.

Prepend with four(?) spaces.

Tried it out on existing code. Was complaining that spacing wasn't a multiple of 4, when I set it to 2 spaces in the prefs. I even reloaded it and verified the setting.

Back to Sublime!


OP: You need to remove the spaces in your query. i.e. "4+7", not "4 + 7"

Please use 2 or 4 spaces while writing python code. It becomes impossible to read.

It could be done automatically as it is indeed confusing. Each new line still needs 4 spaces though... I think!

Thanks for the tip, pity they mandate 4 spaces, that's 2 too many

This is very weird, because the internal style guidelines say 2 spaces, not 4 spaces. This bugs me quite a lot.

Ah yes - you'll want to set the number of spaces to static first.

Sorry, changed "spaces" to "columns".

Stopped reading after 2 spaces. 4 spaces is the law!
next

Legal | privacy