Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Python decorators example added (#2408) | Evan | 2017-02-09 | -0/+19 |
| | ||||
* | Merge pull request #2571 from Smosker/patch-1 | Adam Bard | 2017-02-01 | -0/+1 |
|\ | | | | | [python/en] Fix a bug | |||
| * | Fix a bug | Smosker | 2016-11-15 | -0/+1 |
| | | | | | | | | | | | | | | Should add return to double_numbers function, without it next expression wiil fall with "TypeError: 'NoneType' object is not iterable" error for value in double_numbers(range(1000000)): # `test_non_generator` print value if value > 5: break | |||
* | | Made the file `pep8` compliant (#2601) | David Haberthür | 2016-12-20 | -121/+140 |
| | | | | | | Actually nearly compliant, I ran `pep8 code.py --ignore=E402,E501,E712` | |||
* | | Fix comment in set comprehension example (#2580) | Christopher Lorton | 2016-11-21 | -1/+1 |
|/ | | | The result should be {'a', 'b', 'c'} (not {'d', 'e', 'f'}). | |||
* | [python/en] Set, dict, and generator comprehensions (#2298) | J. Ryan Rembert | 2016-07-03 | -18/+32 |
| | | | | | | | | * Add set and dict comprehensions for python 2 and 3 * Clean up formatting and generator explanation * Include documentation for generator comprehensions | |||
* | Generator explanation for python (#1870) | Prashant Khanduri | 2016-06-26 | -17/+34 |
| | | | More details and code on the same example as before. | |||
* | add dict.items() (#2290) | Devin Soni | 2016-06-26 | -0/+3 |
| | ||||
* | String length by @thesourabh | ven | 2016-06-16 | -0/+3 |
| | ||||
* | fixed whitespaces & content extending beyond 80 chars | Divay Prakash | 2016-03-18 | -15/+16 |
| | ||||
* | Merge pull request #1288 from DaKnOb/fixpymod | ven | 2016-03-10 | -0/+6 |
|\ | | | | | [python/en] Add note about Python Module Order of Import | |||
| * | Add note about Python Module Order of Import | DaKnOb | 2015-10-02 | -0/+6 |
| | | ||||
* | | removed merge stuff | sarthfrey | 2016-01-25 | -3/+0 |
| | | ||||
* | | Merge remote-tracking branch 'adambard/master' | sarthfrey | 2016-01-25 | -0/+4 |
|\ \ | | | | | | | | | | | | | # Conflicts: # python.html.markdown | |||
| * \ | Merge pull request #1790 from jxu093/master | Geoff Liu | 2015-12-18 | -0/+1 |
| |\ \ | | | | | | | | | Added Python Resource | |||
| | * | | Added Python Resource | jxu093 | 2015-10-25 | -0/+1 |
| | | | | ||||
* | | | | Added Python Resources | sarthfrey | 2015-12-16 | -0/+1 |
|/ / / | ||||
* | | | Merged and removed confusing comments in python | Aayush Ranaut | 2015-12-05 | -14/+102 |
|\ \ \ | ||||
| * | | | fixed unintended opposite meaning | EL | 2015-11-02 | -2/+2 |
| | | | | ||||
| * | | | Merge pull request #1847 from cnu/master | Spurlow | 2015-10-31 | -0/+1 |
| |\ \ \ | | | | | | | | | | | Add one more string formatting example | |||
| | * | | | Add one more string formatting example | Srinivasan R | 2015-10-28 | -0/+1 |
| | | | | | ||||
| * | | | | Merge pull request #1898 from yihongang/python_truthiness | Adam Bard | 2015-10-31 | -3/+11 |
| |\ \ \ \ | | | | | | | | | | | | | add more details on truthiness | |||
| | * | | | | add more details on truthiness | yihong | 2015-10-30 | -3/+11 |
| | | |/ / | | |/| | | ||||
| * | | | | Merge pull request #1927 from TheRakken/patch-1 | Adam Bard | 2015-10-31 | -1/+1 |
| |\ \ \ \ | | | | | | | | | | | | | [python] Minor correction | |||
| | * | | | | Minor correction | Elijah Karari | 2015-10-31 | -1/+1 |
| | | | | | | | | | | | | | | | | | | calling li.index(2) with li as [1, 2, 3, 4, 5, 6] will return 1 not 3 | |||
| * | | | | | Updated tuple examples for clarity | Elijah Karari | 2015-10-31 | -1/+2 |
| |/ / / / | ||||
| * | | | | Merge pull request #1676 from vipulroxx/patch-1 | Geoff Liu | 2015-10-29 | -2/+6 |
| |\ \ \ \ | | |_|/ / | |/| | | | Modified string format [python/en] | |||
| | * | | | 80 char and proper commenting | Vipul Sharma | 2015-10-29 | -1/+2 |
| | | | | | ||||
| | * | | | Modified string format [python/en] | Vipul Sharma | 2015-10-20 | -2/+5 |
| | |/ / | ||||
| * / / | [python/en] Fix typos | payet-s | 2015-10-22 | -2/+2 |
| |/ / | ||||
| * | | Updated official python docs to always use the latest version of python 2 | MDS | 2015-10-20 | -1/+1 |
| | | | ||||
| * | | Merge pull request #1560 from ankitaggarwal011/python27-ternary-operator-doc-add | Levi Bostian | 2015-10-18 | -0/+1 |
| |\ \ | | | | | | | | | [python/en] Adding documentation on ternary operator | |||
| | * | | Adding documentation on ternary operator | Ankit Aggarwal | 2015-10-16 | -0/+1 |
| | | | | ||||
| * | | | Merge pull request #1489 from evuez/patch-2 | Levi Bostian | 2015-10-18 | -4/+56 |
| |\ \ \ | | | | | | | | | | | [python/en] Add some stuff to lists, tuples, dicts, sets and classes | |||
| | * | | | Merge 'master' of github.com:adambard/learnxinyminutes-docs | evuez | 2015-10-16 | -1/+13 |
| | |\| | | ||||
| | * | | | Add some stuff to lists, sets and classes | evuez | 2015-10-14 | -4/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is meant to match Python 3 update. Lists: added remove, insert and index Sets: added ^, <=, >= operators Classes: added propery decorator (including getter, setter, deleter) | |||
| * | | | | [python/en]...Added some info on division | viv1 | 2015-10-16 | -0/+6 |
| | |/ / | |/| | | ||||
| * | | | Merge pull request #1471 from ankitaggarwal011/python27-input-operations-add | Levi Bostian | 2015-10-14 | -0/+6 |
| |\ \ \ | | | | | | | | | | | [python/en] Added instructions on how to perform input operations | |||
| | * | | | Updated the input() method usage and description | Ankit Aggarwal | 2015-10-14 | -3/+4 |
| | | | | | ||||
| | * | | | Added input operations in learn Python 2.7 doc | Ankit Aggarwal | 2015-10-11 | -0/+5 |
| | | | | | ||||
| * | | | | Update Python 2 vs Python 3 | Matthias Bussonnier | 2015-10-13 | -1/+7 |
| | |/ / | |/| | | | | | | | | | | Add fact that Python 2 is reaching end of life. And note that you can use `__future__` to add Python 2 and 3 compatible code. | |||
| * | | | Update python.html.markdown | Ananya W Cleetus | 2015-10-12 | -1/+1 |
| |/ / | ||||
| * | | Add examples of higher-order functions taking multiple arguments | Cadel Watson | 2015-10-07 | -0/+3 |
| | | | ||||
* | | | Removed confusing comments | Aayush Ranaut | 2015-10-31 | -2/+2 |
|/ / | ||||
* / | Removed random "r" | Jesse Huang | 2015-10-02 | -1/+1 |
|/ | ||||
* | map->dict | Adam Bard | 2015-09-30 | -1/+1 |
| | ||||
* | Update python.html.markdown | Denis Gladkikh | 2015-09-01 | -1/+1 |
| | ||||
* | Python: add finally and with statements | Denis Gladkikh | 2015-09-01 | -0/+6 |
| | | | https://docs.python.org/2/tutorial/errors.html | |||
* | Added links to the free book "Automate the Boring Stuff with Python" to the ↵ | Al Sweigart | 2015-07-23 | -0/+1 |
| | | | | "Free Online" section. | |||
* | Changed %s formatting to {n} style. | Mark Miller | 2015-07-16 | -4/+4 |
| | | | If line 117 is accurate, then {n} style string formatting is the preferred style, and it should be reflected in the examples. |