kieranholland / best-python-cheat-sheet Goto Github PK
View Code? Open in Web Editor NEWThe *Best Python Cheat Sheet - A dense Python cheat sheet with just what you need.
Home Page: https://kieranholland.com/best-python-cheat-sheet/
The *Best Python Cheat Sheet - A dense Python cheat sheet with just what you need.
Home Page: https://kieranholland.com/best-python-cheat-sheet/
For instance under Set
, methods like discard
and pop
do not apply to the immutable (frozenset
) version. I'm not sure how best to distinguish this, but it could be helpful to delineate their differences.
I felt that your project is wonderful. I created this issue because I thought I could contribute even a little.
Python's regex can implements meta characters, but we have to use carefully when using \d, because it includes all of Unicode characters which are in category Nd.
regex - Regular Expression
List of Unicode Characters included group Nd
ascii mode => [0-9]
non ascii mode => all of characters which in category Nd
For Unicode (str) patterns:
Matches any Unicode decimal digit (that is, any character in Unicode character category [Nd]). This includes [0-9], and also many other digit characters.
Matches [0-9] if the ASCII flag is used.
I think people who is not accustomed to regex can think it only includes [0-9] by default. However we have to set ascii flag. This is significant when creating validation for user id or password.
\d Decimal digit
\d Matches any characters in Unicode Number, decimal digit category. This include not only [0-9].
On macOS, Courier New is razor thin and hard to read.
You could link the Google WebFont version of Roboto Mono by adding
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">
or
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap')
</style>
to the <head>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.