Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix tiny typos | krotera | 2021-01-15 | -2/+2 |
| | ||||
* | Update links | 谭九鼎 | 2020-10-20 | -7/+7 |
| | ||||
* | [python/en] some clean up, add a Modulo example | 谭九鼎 | 2020-10-20 | -9/+9 |
| | ||||
* | [python/en] Update class example on invoking static methods from class instance. | Angeo Rohit | 2020-10-01 | -3/+2 |
| | ||||
* | improved demo of `if` expression | kevinnls | 2020-08-05 | -1/+1 |
| | ||||
* | Merge pull request #3953 from sumanstats/master | Max Schumacher | 2020-07-07 | -8/+8 |
|\ | | | | | [language/raku-code] Perl6 to Raku and many more | |||
| * | Reflect perl6 to raku rename | sumanstats | 2020-06-15 | -8/+8 |
| | | | | | | | | | | | | | | + As mentioned here: https://github.com/Raku/problem-solving/blob/master/solutions/language/Path-to-Raku.md perl6 is renamed to raku + change references of perl6 to raku + change extension from .p6 to .raku + fix the link of raku advent calendar | |||
* | | Change string access example for clarity | Kuv | 2020-06-04 | -1/+1 |
|/ | | | 'T' was apparently mistaken by someone for True, so this is a minor edit to use a different example to make sure that doesn't happen again. | |||
* | Update python.html.markdown | amigos-maker | 2020-05-26 | -0/+2 |
| | | | added useful links | |||
* | fix en python again | Adam Bard | 2020-02-13 | -1/+1 |
| | ||||
* | fix en python language | Adam Bard | 2020-02-13 | -1/+1 |
| | ||||
* | Python 3: Use 'filename: learnpython*.py' (no '3') | Simon Shine | 2020-02-12 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Before renaming, Python 3 filenames were 'learnpython3*.py'. This commit removes the '3' part from the filename. To verify that the filenames were named consistently across translations prior to this commit, and to change this: ``` ack -H 'filename:' python.html.markdown find . -name "python-*.markdown" -exec ack -H 'filename:' {} \; sed -i 's/^filename: learnpython3/filename: learnpython/' \ python.html.markdown find . -name "python-*.markdown" -exec \ sed -i 's/^filename: learnpython3/filename: learnpython/' {} \; ``` | |||
* | Switch links: 'python3 <-> python' and 'python <-> pythonlegacy' | Simon Shine | 2020-02-12 | -1/+1 |
| | | | | The list of references is exhausted by running 'ack docs/python'. | |||
* | Rename Python 3 markdown files into 'python' | Simon Shine | 2020-02-12 | -0/+1042 |
| | | | | | | | | ``` for f in $(find . -iname "*python3*" | grep -vE 'git'); do fnew=$(echo "$f" | sed 's/python3/python/') git mv "$f" "$fnew" done | |||
* | Rename Python 2 markdown files into 'pythonlegacy' | Simon Shine | 2020-02-12 | -827/+0 |
| | | | | | | | | | ``` for f in $(find . -iname "*python*" | grep -vE 'python3|git|statcomp'); do flegacy=$(echo "$f" | sed 's/python/pythonlegacy/') git mv "$f" "$flegacy" done ``` | |||
* | [python/py3] Updating set info (#3473) | Streppel | 2019-02-16 | -1/+2 |
| | | | Updating set info to be more descriptive and informative | |||
* | Type correction for the output of math.sqrt() | Anindya Srivastava | 2019-02-01 | -1/+1 |
| | | | Both in Python 2.7.10 and Python 3.6.5, math.sqrt() returns a float and not int. It seems like a tiny thing but sometimes may lead up to bigger confusions. For example: https://stackoverflow.com/questions/54474037/why-are-the-following-codes-giving-me-different-output-square-root-big-numbers/54475501#54475501 | |||
* | [python/en]: fix typo | Rommel Martinez | 2018-02-03 | -3/+4 |
| | ||||
* | Add data type checking examples | Meisyarah Dwiastuti | 2017-10-31 | -0/+6 |
| | ||||
* | [python/en] filled_dict | Ian Bertolacci | 2017-09-07 | -1/+1 |
| | | | Address #2841 | |||
* | Update my site's address (#2712) | Amin Bandali | 2017-04-27 | -1/+1 |
| | ||||
* | 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 |
| | |/ / |