python-cheatsheet icon indicating copy to clipboard operation
python-cheatsheet copied to clipboard

Comprehensive Python Cheatsheet

Results 41 python-cheatsheet issues
Sort by recently updated
recently updated
newest added

Created MIT License to resolve issue #59 . MIT license gives users express permission to reuse code for any purpose, sometimes even if code is part of proprietary software. As...

sometimes we need to calculate cumulative sum for a list as follows: ```python def get_cumulative_sum(num_list: List[int]) -> List[int]: cumulative_sum = [0] * len(num_list) for i, v in enumerate(num_list): cumulative_sum[i] =...

changed confising phrases for any and all functions. Fixed code explaining all function to support all values instead of just iterable elements in the collection.

`os.makedirs` is a great way to create directories and sub directories recursively. Existing directories can also be ignored by setting the `exist_ok` argument to `True`.

added more attributes to the graph (plotly)

The following pull request proposes 2 additions: 1) DAta Structures libraries like llist, binarytree to the cheatsheet 2) Addition of tty library with an example of self-made keylogger

Included input(), max() and min() under Basic Functions section in README