RIP
Tutorial
Tags
Topics
Examples
eBooks
Topics
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
Examples
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
Topics
Getting started with Regular Expressions
Parsing Command Line arguments
Useful Regex Showcase
Alternatives to switch statement from other languages
List destructuring (aka packing and unpacking)
When you should NOT use Regular Expressions
Examples
Basic example with docopt
Setting mutually exclusive arguments with argparse
Using command line arguments with argv
Custom parser error message with argparse
Match an email address
Use what the language offers: the if/else construct.
Use a dict of functions
Use class introspection
Using a context manager
Destructuring assignment
Packing function arguments
Unpacking function arguments
Advanced example with docopt and docopt_dispatch
Matching pairs (like parenthesis, brackets…)
Simple string operations
zmo
StackOverflow Profile
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website