All Projects → twtrubiks → Python Notes

twtrubiks / Python Notes

Licence: mit
Python Study Notes 📝

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Python Notes

R Notes
Notes for using R language to do data mining and machine learning (Chinese)
Stars: ✭ 25 (-67.11%)
Mutual labels:  notes, tutorial
Cehv10 Notes
📕 Both personal and public notes for EC-Council's CEHv10 312-50, because its thousands of pages/slides of boredom, and a braindump to many
Stars: ✭ 170 (+123.68%)
Mutual labels:  notes, tutorial
Allstate capstone
Allstate Kaggle Competition ML Capstone Project
Stars: ✭ 72 (-5.26%)
Mutual labels:  tutorial
Gistlyn
Run Roslyn Gists
Stars: ✭ 75 (-1.32%)
Mutual labels:  tutorial
Stickynotes
A Sticky Note Application
Stars: ✭ 74 (-2.63%)
Mutual labels:  notes
Making A Custom React Renderer
Tutorial on how to make a custom React renderer
Stars: ✭ 1,184 (+1457.89%)
Mutual labels:  tutorial
Python Note
《Python 学习手册》(第四版 + 第五版)笔记
Stars: ✭ 74 (-2.63%)
Mutual labels:  notes
Learn Vim
Vim 实操教程(Learning Vim)Vim practical tutorial.
Stars: ✭ 1,166 (+1434.21%)
Mutual labels:  tutorial
Kanban Board
A sample application demonstrating a basic kanban board, seeded with vue-cli
Stars: ✭ 76 (+0%)
Mutual labels:  tutorial
Movie
使用flutter打造一款像样的电影类App
Stars: ✭ 74 (-2.63%)
Mutual labels:  tutorial
Ruby Kaigi Notes
Some notes taken during RubyKaigi 2018
Stars: ✭ 75 (-1.32%)
Mutual labels:  notes
Markdownxiaoshujiang
markdownxiaoshujiang
Stars: ✭ 1,188 (+1463.16%)
Mutual labels:  notes
Hackcv Translate
HackCV网站文章翻译
Stars: ✭ 73 (-3.95%)
Mutual labels:  tutorial
Nlp Tutorial
Natural Language Processing Tutorial for Deep Learning Researchers
Stars: ✭ 9,895 (+12919.74%)
Mutual labels:  tutorial
Learn Javascript With Hedwix
Master the fundamentals of JavaScript and take your programming skills to the next level
Stars: ✭ 73 (-3.95%)
Mutual labels:  tutorial
Go Collection
🌷 awesome awesome go, study golang from basic to proficient
Stars: ✭ 1,193 (+1469.74%)
Mutual labels:  tutorial
Vos backend
vangav open source - backend; a backend generator (generates more than 90% of the code needed for big scale backend services)
Stars: ✭ 71 (-6.58%)
Mutual labels:  tutorial
Radial Snake
A tutorial for creating a Tron-style game
Stars: ✭ 73 (-3.95%)
Mutual labels:  tutorial
Deep learning for biologists with keras
tutorials made for biologists to learn deep learning
Stars: ✭ 74 (-2.63%)
Mutual labels:  tutorial
Expo Three Demo
🍎👩‍🏫 Collection of Demos for THREE.js in Expo!
Stars: ✭ 76 (+0%)
Mutual labels:  tutorial

python-notes

Python Notes 學習筆記 📝

介紹

有時候想找一個東西(寫法),但當下卻忘記關鍵字,所以整理一篇學習筆記,要找資料的時候也比較方便。

有些是網路上找的範例,然後自己再修修改改,或是去參考一些 Python-Patterns , Python Anti-Patterns 。

範例程式會盡量遵守 PEP 8 -- Style Guide for Python Code

歡迎大家一起討論~

筆記會持續更新~

筆記

repr_tutorial.py - repr tutorial

assert_tutorial.py - assert tutorial

str_find_tutorial.py - str_find tutorial

attribute_obj.py - setattr() , getattr() , hasattr()

check_is_in_list.py - 檢查目標是否在 list 裡

datetime_tutorial.py - datetime , monthrange , timestamp

defaultdict_tutorial.py - defaultdict

counter_tutorial.py - counter

namedtuple_tutorial.py - namedtuple

dictionary_using_items.py - dictionary.items()

dictionary_get.py - dictionary get()

set_tutorial.py - set tutorial

dictionary_update.py - dictionary update()

tuple_tutorial.py - tuple

eafp.py - EAFP coding style

enumerate_tutorial.py - enumerate

filter.py - filter

format.py - format

function_default.py - function default value

isdigit.py - isdigit()

isinstance.py - check type

join.py - join

json_tutorial.py - json.loads()

kwargs.py - **kwargs , *arg - youtube tutorial - What is **kwargs *args

lambda.py - lambda

list_tutorial.py - list tutorial

loop_if_else_break.py - if not add break , will run more meaningless loop

map_tutorial.py - map tutorial

OrderedDict_tutorial.py - OrderedDict

MappingProxyType_tutorial.py - MappingProxyType

parse_dateutil.py - dateutil.parser

property_decorator.py - property_decorator

raise_an_exception_from_function_call.py - it is better to raise an exception that can be caught by the caller instead.

range.py - range

reduce.py - reduce

setdefault_tutorial.py - setdefault

sort.py - sort

sorted.py - sorted

iter_tutorial.py - iter tutorial

iter_another_trick_tutorial.py - iter another trick tutorial

__iter__tutorial - __iter__ tutorial

yield_tutorial.py- yield tutorial

yield_from_tutorial.py- yield from tutorial

Enum_tutorial.py- Enum tutorial

__str__tutorial.py - __str__ tutorial

strtobool_tutorial.py - strtobool

underscore_variable.py - underscore variable

use_unpacking.py - use unpacking

using_a_mutable_default_value_as_an_argument.py - Be careful with mutable default arguments ( lists or dictionaries ) - youtube tutorial

zip_tutorial.py - zip

staticmethod_tutorial.py - staticmethod tutorial

classmethod_tutorial.py - classmethod tutorial

decorator_tutorial.py - decorator 裝飾器

with_as_tutorial.py - with as tutorial

context_manager_tutorial.py - context manager

suppress_tutorial.py - context manager - suppress

configparser_tutorial - ConfigParser tutorial,可參考 https://docs.python.org/3/library/configparser.html

__len__tutorial.py - __len__ tutorial

decimal_tutorial.py - decimal tutorial

copy_tutorial.py - copy_tutorial

sum_tutorial.py -sum_tutorial

built-in-functions_tutorial.py - Built-in Functions tutorial

division_operators_tutorial.py - division operators tutorial

reduce_use_for_loop_tutorial_1.py - reduce_use_for_loop_tutorial_1

reduce_use_for_loop_tutorial_2.py - reduce_use_for_loop_tutorial_2

nested_loop_tutorial.py - nested_loop_tutorial

dict.fromkeys_tutorial.py - dict.fromkeys tutorial

escape_tutorial.py - html.parser ( escape ) tutorial

pickle_tutorial.py - pickle tutorial

zipfile_tutorial.py - zipfile tutorial

unicodedata_tutorial.py - unicodedata ( control character ) tutorial

translate_tutorial.py - translate tutorial

re_tutorial.py - re tutorial

is_integer_tutorial.py - float is_integer tutorial ( TestCase )

remove_trailing_zeros_tutorial.py - decimal remove trailing zeros tutorial ( TestCase )

itemgetter_tutorial.py - itemgetter tutorial

groupby_tutorial.py - itertools groupby tutorial

groupby_tutorial_find_consecutive numbers.py - find consecutive numbers in list by groupby tutorial

python-decouple-tutorial - python decouple tutorial

dj_database_url_tutorial - dj-database-url tutorial ( for django )

pandas_tutorial - pandas tutorial

random_tutorial.py - random tutorial

__call__tutorial.py - __call__ tutorial - youtube tutorial - What is the __call__ in python

queue_tutorial.py - queue tutorial

methodcaller_tutorial - methodcaller tutorial

str_startswith_tutorial.py - str.startswith() tutorial

logging_tutorial.py- logging tutorial

operator_add_tutorial.py - operator.add tutorial

operator_mul_tutorial.py - operator.mul tutorial

itertools_tutorial.py - itertools tutorial

itertools_islice_tutorial.py - itertools.islice tutorial

itertools_tee_tutorial.py - itertools.tee tutorial

bytesio_tutorial.py - bytesio tutorial

stringio_tutorial.py - stringio tutorial

functools_partial_tutorial.py - functools.partial tutorial

try_except_tutorial.py - try except tutorial

user_defined_exceptions_tutorial.py - User-defined Exceptions tutorial

weakref_tutorial.py - weakref tutorial

觀念

python_circular_import - youtube tutorial - What is Python Circular Imports

What happens when you type an URL in the browser and press enter - youtube tutorial - What happens when you type an URL in the browser and press enter

cap theorem - youtube tutorial - What is CAP theorem

what is the python decorator

what is the python property

what is the classmethod and staticmethod

what is the abstractmethod

what is the functools.lru_cache

what is the singledispatch

what is the if __name__ == '__main__' in python

what is private and protected attribute

what is the python interpreter

what is the f-string

what is the mixin

other

fibonacci numbers tutorial

data structure

linked list

如何使用

基本上,每個 python 檔案都可以直接執行。

python xxxx.py

範例

python defaultdict_tutorial.py

執行環境

  • Python 3.6.4

Reference

Donation

文章都是我自己研究內化後原創,如果有幫助到您,也想鼓勵我的話,歡迎請我喝一杯咖啡😆

綠界科技ECPAY ( 不需註冊會員 )

alt tag

贊助者付款

歐付寶 ( 需註冊會員 )

alt tag

贊助者付款

贊助名單

贊助名單

License

MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].