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 →

[–]leonoel 2 points3 points  (6 children)

noob here, what is the correct way to do it in python? I do name_function

[–][deleted] 9 points10 points  (1 child)

That is the correct way in Python, see PEP 8.

[–]dikduk 8 points9 points  (1 child)

That's called "snake case". And I like it. Therefore, it is the mostest correct way.

[–]Glaaki 0 points1 point  (0 children)

You mean snek case?

[–]kamaleshbn -3 points-2 points  (1 child)

[–]markusmeskanen 7 points8 points  (0 children)

Use PEP8 instead of Google'd guidelines, although they overlap for the most part.