Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Oceano2python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
US191
Oceano2python
Commits
243dc935
Commit
243dc935
authored
2 years ago
by
Jacques Grelet
Browse files
Options
Downloads
Patches
Plain Diff
add tutorialspoint url
parent
e182b318
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/Readme-Python.txt
+10
-3
10 additions, 3 deletions
docs/Readme-Python.txt
with
10 additions
and
3 deletions
docs/Readme-Python.txt
+
10
−
3
View file @
243dc935
...
...
@@ -2,6 +2,10 @@ Aide mémoire Python
-------------------
J Grelet June 2011 - March 2019 - Avril 2021
Docs en ligne:
--------------
https://www.tutorialspoint.com/python/index.htm
Conda:
-------
Installer miniconda
...
...
@@ -106,7 +110,8 @@ dict_values([1, 2])
>>> key not in d Equivalent to not key in d.
>>> iter(d) Return an iterator over the keys of the dictionary. This is a shortcut for iter(d.keys()).
>>> iter(d) Return an iterator over the keys of the dictionary.
This is a shortcut for iter(d.keys()).
>>> d.clear() Remove all items from the dictionary.
...
...
@@ -348,9 +353,11 @@ self.s[key].value
Decorator:
-----------
A function returning another function, usually applied as a function transformation using the @wrapper syntax.
A function returning another function, usually applied as a function transformation
using the @wrapper syntax.
Common examples for decorators are classmethod() and staticmethod().
The decorator syntax is merely syntactic sugar, the following two function definitions are semantically equivalent:
The decorator syntax is merely syntactic sugar, the following two function
definitions are semantically equivalent:
def f(...):
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment