Python memorandum (personal bookmark)

Maybe garbage posts ...: sweat: Updated sequentially.

Memorandum

Merchandise and remainder

-Get division quotient and remainder at the same time with Python divmod | note.nkmk.me

q = 10 // 3    #quotient
mod = 10 % 3   #remainder
q, mod = divmod(10, 3)    #Merchandise and remainder at the same time

swap

-Swap (swap / sort) variables and list values in Python | note.nkmk.me

a, b = b, a

I don't need tmp anymore ...

Euclidean algorithm Python version

-Extended Euclidean algorithm ~ How to solve the linear indefinite equation ax + by = c ~ --Qiita

def gcd(a, n):
    if n == 0:
        return  a
    else:
        return gcd(n, a % n)

Or there is a standard library etc.

-math.gcd (a, b) — math --- math functions — Python 3.8.3 documentation * Added in version 3.5

Trouble with Windows

-Frequently Asked Questions about Using Python on Windows | Microsoft Docs

To disable the shortcut without installing Python, go to Start, open Manage app execution aliases, find the "App Installer" Python entry, and turn it off. Switch to ".

Python official etc.

Anaconda related

Python virtual environment

--venv --- Creating a Virtual Environment — Python 3.8.3 Documentation

Science and Technology Calculation / Statistics

official

Commentary in Japanese

GIS

Machine learning

Morphological analysis

Web framework

Extra edition

Database connection

Visualization

Image processing

OCR

-Let's do character recognition using Python and Tesseract OCR! --GIS Struggle -How to execute OCR with Python | Gammasoft Co., Ltd.

Excel operation

Game

-[Introduction to Pygame] Game Programming [Python] | Nishizumi Kobo

Other

-Dive Into Python 3 Japanese version -[Remember in 1 hour? Python: Introspection (question / survey function for objects)](http://bacspot.dip.jp/virtual_link/www/si.musashi-tech.ac.jp/new_www/ Python_1HourStudy / index_class_introsection.html)

Recommended Posts

Python memorandum (personal bookmark)
Python memorandum
Python Memorandum 2
Python memorandum
python memorandum
python memorandum
Python memorandum
python memorandum
Python memorandum
Git & Github & python & VScode Personal memorandum
Python basics memorandum
Python pathlib memorandum
Python memorandum (algorithm)
Python memorandum [links]
Python personal Q.A
python personal notes
Python memorandum numbering variables
Machine learning starting with Python Personal memorandum Part2
missingintegers python personal notes
python memorandum (sequential update)
Machine learning starting with Python Personal memorandum Part1
[Personal notes] Python, Django
Python basic memorandum part 2
[Python] Iterative processing_Personal memorandum
Memorandum @ Python OR Seminar
python memorandum super basic
Effective Python Learning Memorandum Day 15 [15/100]
Python3 programming functions personal summary
Effective Python Learning Memorandum Day 6 [6/100]
Effective Python Learning Memorandum Day 12 [12/100]
Effective Python Learning Memorandum Day 9 [9/100]
Effective Python Learning Memorandum Day 8 [8/100]
About python beginner's memorandum function
Memorandum @ Python OR Seminar: matplotlib
[Python] SQLAlchemy error avoidance memorandum
[Python] Decision Tree Personal Tutorial
A memorandum about correlation [Python]
Effective Python Learning Memorandum Day 14 [14/100]
Effective Python Learning Memorandum Day 1 [1/100]
Memorandum @ Python OR Seminar: Pulp
Effective Python Learning Memorandum Day 13 [13/100]
A memorandum about Python mock
Effective Python Learning Memorandum Day 3 [3/100]
Effective Python Learning Memorandum Day 5 [5/100]
Memorandum @ Python OR Seminar: Pandas
[AtCoder] ABC165C Personal Note [Python]
[python] Random number generation memorandum
Effective Python Learning Memorandum Day 4 [4/100]
Memorandum @ Python OR Seminar: scikit-learn
Effective Python Learning Memorandum Day 7 [7/100]
Effective Python Learning Memorandum Day 2 [2/100]
python parallel / asynchronous execution memorandum
A memorandum of stumbling on my personal HEROKU & Python (Flask)
ABC memorandum [ABC159 C --Maximum Volume] (Python)
Python pywin32 (win32com) Excel operation memorandum
Python
[Personal memo] Python virtual environment command memo
[Python] A memorandum of beautiful soup4
python dict object memorandum (mysterious document)
Personal notes for python image processing
Python package management tool personal summary