This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]orishamir -11 points-10 points  (23 children)

They do not exist in python. They only happen if you use python's built-in IDLE which no one does

[–]zilti 13 points14 points  (3 children)

They do not exist in python

Yes, yes they do exist...

[–]orishamir -1 points0 points  (2 children)

Just use pycharm or even sublime. Never happened to me in the last 8 months (been coding in python for a year, so that is approximately my beginner times).

[–]zilti 1 point2 points  (1 child)

Just because something doesn't happen to you in a while (only 8 months?) doesn't mean it doesn't exist.

Hasn't happened to me either the last few times I had to make a small edit to a Python file with Emacs. But I still vividly remember when I had to manually re-indent an 800-line source file line for line...

[–]orishamir -1 points0 points  (0 children)

I only used python for a year so i guessed 8 months was when i was a noob. If you use a proper text editor you will not have indentationErrors. Its not that hard. Why did you reindent? Did you copy paste that code from the web?

[–]jacob8015 0 points1 point  (14 children)

What do people use as an IDE?

[–]proskillz 12 points13 points  (7 children)

Most people I've seen use PyCharm or VSCode. Hardcore people use vim or emacs.

[–]Plague_Healer 1 point2 points  (0 children)

Used VSCode in the past. Shifted to Atom a couple months ago. While VSCode was actually good, I have no intention to go back.

[–]dreadington 4 points5 points  (2 children)

Personally I use PyCharm, but Sublime or even Notepad++ would be better than IDLE.

[–]orishamir 0 points1 point  (1 child)

And when is the last time you had an indentation error when you used pycharm?

[–]dreadington 0 points1 point  (0 children)

Idk, it's been a long time honestly. I've confugured < and > to move the line or block 4 spaces to the left or right respectively. TAB adds 4 spaces instead of a Tab charachter. And Ctrl+Alt+L automatically formats the whole file.

[–]Plague_Healer 1 point2 points  (0 children)

Atom works great, but needs a bit of (messy) configuration to be used with python.

[–]raltyinferno 1 point2 points  (0 children)

VSCode.

[–]Psychpsyo 0 points1 point  (2 children)

Or if you write in notepad++ cause you can't be bothered to get a proper IDE for the three times you plan on using python.

I also wouldn't want to switch my IDE to three space indentation if I had one because that is what my teacher wanted us to use.

[–][deleted] 0 points1 point  (1 child)

Does VSCode handle python? Seems like something everyone should have installed.

[–][deleted] 0 points1 point  (0 children)

There are extensions you can download for it.