1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-09-28 16:11:42 +00:00

Compare commits

..

9 Commits

Author SHA1 Message Date
Carlos A. Iglesias
dc23b178d7
Delete python/plurals.py 2024-02-08 18:32:43 +01:00
Carlos A. Iglesias
5410d6115d
Delete python/catalog.py 2024-02-08 18:32:18 +01:00
Carlos A. Iglesias
6749aa5deb
Added files for modules 2024-02-08 18:26:08 +01:00
Carlos A. Iglesias
c31e6c1676
Update 1_2_Numbers_Strings.ipynb 2024-02-08 17:47:42 +01:00
Carlos A. Iglesias
1c7496c8ac
Update 1_2_Numbers_Strings.ipynb
Improved formatting.
2024-02-08 17:46:18 +01:00
Carlos A. Iglesias
35b1ae4ec8
Update 1_8_Classes.ipynb
Improved formatting.
2024-02-08 17:43:25 +01:00
Carlos A. Iglesias
58fc6f5e9c
Update 1_4_Sets.ipynb
Typo corrected.
2024-02-08 17:42:45 +01:00
Carlos A. Iglesias
91147becee
Update 1_3_Sequences.ipynb
Formatting improvement.
2024-02-08 17:41:15 +01:00
Carlos A. Iglesias
1530995243
Update 1_0_Intro_Python.ipynb
Updated links.
2024-02-08 17:36:46 +01:00
5 changed files with 4 additions and 5 deletions

View File

@ -74,7 +74,6 @@
"* [The Python tutorial](https://docs.python.org/3/tutorial/)\n", "* [The Python tutorial](https://docs.python.org/3/tutorial/)\n",
"* [Object-Oriented Programming in Python](http://python-textbok.readthedocs.org/en/latest/index.html)\n", "* [Object-Oriented Programming in Python](http://python-textbok.readthedocs.org/en/latest/index.html)\n",
"* [Python3 tutorial](http://www.python-course.eu/python3_course.php)\n", "* [Python3 tutorial](http://www.python-course.eu/python3_course.php)\n",
"* [Python for the Busy Java Developer, Deepak Sarda, 2014](http://antrix.net/static/pages/python-for-java/online/)\n",
"* [Style Guide for Python Code (PEP-0008)](https://www.python.org/dev/peps/pep-0008/)\n", "* [Style Guide for Python Code (PEP-0008)](https://www.python.org/dev/peps/pep-0008/)\n",
"* [Python Slides](http://tdc-www.harvard.edu/Python.pdf)\n", "* [Python Slides](http://tdc-www.harvard.edu/Python.pdf)\n",
"* [Python for Programmers - 1 day course](http://www.ucs.cam.ac.uk/docs/course-notes/unix-courses/archived/archived-python-courses/PythonProgIntro/files/notes.pdf)\n", "* [Python for Programmers - 1 day course](http://www.ucs.cam.ac.uk/docs/course-notes/unix-courses/archived/archived-python-courses/PythonProgIntro/files/notes.pdf)\n",

View File

@ -85,7 +85,7 @@
"In Python3, there are the following [numeric types](https://docs.python.org/3/library/stdtypes.html#typesnumeric):\n", "In Python3, there are the following [numeric types](https://docs.python.org/3/library/stdtypes.html#typesnumeric):\n",
"* integers (int): 1, -1, ...\n", "* integers (int): 1, -1, ...\n",
"* floating point numbers (float): 0.1, 1E2\n", "* floating point numbers (float): 0.1, 1E2\n",
"* complex numbers (complex): 2 + 3j\n", "* complex numbers (complex): 2 + 3j\n.",
"Let's play a bit" "Let's play a bit"
] ]
}, },

View File

@ -377,7 +377,7 @@
"\n", "\n",
"Tuples are faster than lists. Its main usage is when the collection is constant, or you do not want it can be changed (write protected). \n", "Tuples are faster than lists. Its main usage is when the collection is constant, or you do not want it can be changed (write protected). \n",
"\n", "\n",
"Tuples can be converted into lists and vice-versa, with the methods list() and tuple()." "Tuples can be converted into lists and vice-versa, with the methods *list()* and *tuple()*."
] ]
}, },
{ {

View File

@ -37,7 +37,7 @@
"\n", "\n",
"A set object is an unordered collection of distinct objects. There are two built-in set types: **set** (mutable) and **frozenset** (inmutable).\n", "A set object is an unordered collection of distinct objects. There are two built-in set types: **set** (mutable) and **frozenset** (inmutable).\n",
"\n", "\n",
"A mapping object maps hashable values to arbitrary objects. Mappings are mutable objects. There is only one bultin mapping type: **dictionary**." "A mapping object maps hashable values to arbitrary objects. Mappings are mutable objects. There is only one builtin mapping type: **dictionary**."
] ]
}, },
{ {

View File

@ -41,7 +41,7 @@
"The first argument of instance class method is self, that refers to the current instance of the class.\n", "The first argument of instance class method is self, that refers to the current instance of the class.\n",
"There is a special method, __init__ that initializes the object. It is like a constructor, but the object is already created when __init__ is called.\n", "There is a special method, __init__ that initializes the object. It is like a constructor, but the object is already created when __init__ is called.\n",
"\n", "\n",
"Instance attributes are define as self.variables. (self is the same than this in Java)." "Instance attributes are define as *self.variables*. (self is the same than this in Java)."
] ]
}, },
{ {