naming conventions – Should I use camel case or underscores in Python?

naming conventions – Should I use camel case or underscores in Python?

for everything related to Pythons style guide: id recommend you read PEP8.

To answer your question:

Function names should be lowercase, with words separated by
underscores as necessary to improve readability.

PEP 8 advises the first form for readability. You can find it here.

Function names should be lowercase, with words separated by
underscores as necessary to improve readability.

naming conventions – Should I use camel case or underscores in Python?

Function names should be lowercase, with words separated by
underscores as necessary to improve readability. mixedCase is allowed
only in contexts where thats already the prevailing style

Check out its already been answered, click here

Leave a Reply

Your email address will not be published. Required fields are marked *