694 shaares
4 liens privés
4 liens privés
3 résultats
taggé
code
Here is a list of python tips and tricks to help you write an elegant Python 3 code! This article is divided into different kinds of tricks:
Python iterable tricks.
Python comprehension tricks.
Python unpacking tricks.
Python itertools tricks.
Python collections tricks.
Python other tricks.
Python easter eggs.
Python tricks to understand the context.
This style guide aims to document my preferred style for writing Python code
It is based on Python PEP 8. Portions of this guide borrow heavily from:
- Google: C++ and Python style guides.
- Airbnb: Ruby style guide.
- Trey Hunner: Python style guide.
source : https://www.codementor.io/nourchawich/python-style-guide-complete-oz5d02ubt
You know all of those code screenshots you see on Twitter? Although the code's usually impressive, we saw room for improvement in the aesthetic department. Carbon is the easiest way to create beautiful images of your source code. So what are you waiting for? Go impress all of your followers with your newfound design prowess. 🎨