Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python 3.9 features

-Merge (|) and update (|=) operators have been added to the built-in dict class
-str.removeprefix(prefix) and str.removesuffix(suffix) have been added to easily remove an unneeded prefix or a suffix from a string
-The zoneinfo module brings support for the IANA time zone database to the standard library. It adds zoneinfo.ZoneInfo, a concrete datetime.tzinfo implementation backed by the system’s time zone data.
 
PREVIOUS NEXT
Tagged: #python #features
ADD COMMENT
Topic
Name
6+7 =