<commit_before>---
layout: post
title: "Idiomatic Python"
tags: python
---

If you wanna be Pythonic try to look at this references.

### Tips:
* Run All untidiest in folder:  

  ```sh
  python -m unittest discover <tests_module>
  ```
* Zen of Python :: run this command in python console

  ```python
  import this
  ```

## Reference:
1. [What is Pythonic?](http://blog.startifact.com/posts/older/what-is-pythonic.html)
2. [Be Pythonic](http://www.cafepy.com/article/be_pythonic/)
3. [Python track: python idioms](http://courses.cms.caltech.edu/cs11/material/python/misc/python_idioms.html)
4. [Code Like a Pythonista: Idiomatic Python](http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html)
5. [PEP8](http://legacy.python.org/dev/peps/pep-0008/)
6. [The Hitchhiker’s Guide to Python!](http://docs.python-guide.org/en/latest/)
7. [Python Koans](http://github.com/gregmalcolm/python_koans)

<commit_msg>update post/python<commit_after>---
layout: post
title: "Idiomatic Python"
tags: python
---

If you wanna be Pythonic try to look at this references.

### Tips:
* Run All untidiest in folder:  

  ```sh
  python -m unittest discover <tests_module>
  ```
* Zen of Python :: run this command in python console

  ```python
  import this
  ```

## Reference:
1. [What is Pythonic?](http://blog.startifact.com/posts/older/what-is-pythonic.html)
2. [Be Pythonic](http://www.cafepy.com/article/be_pythonic/)
3. [Python track: python idioms](http://courses.cms.caltech.edu/cs11/material/python/misc/python_idioms.html)
4. [Code Like a Pythonista: Idiomatic Python](http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html)
5. [PEP8](http://legacy.python.org/dev/peps/pep-0008/)
6. [The Hitchhiker’s Guide to Python!](http://docs.python-guide.org/en/latest/)
7. [Python Koans](http://github.com/gregmalcolm/python_koans)
8. [Python Patterns](https://github.com/faif/python-patterns)


{'fraction_non_alphanumeric': 0.16378859236002094, 'fraction_numerical': 0.01936159079016222, 'mean_word_length': 4.209809264305177, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1195080', 'n_tokens_mistral': 711, 'n_tokens_neox': 680, 'n_words': 154}