summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
Commit message (Collapse)AuthorAgeLines
* [python3/en] Add empty tuple to "False if evaluated" list (#2587)kakakaya2016-11-30-2/+2
|
* [python3/en] Edit python3 division (#2560)Foo Chuan Wei2016-11-09-7/+1
| | | | | | | | The result of division is always a float. e.g. 35/5 = 7.0 10 / 3 = 3.3333333333333335 10.0 / 3 = 3.3333333333333335 10 / 3.0 = 3.3333333333333335
* Add python3 class notes (#2479)Harry Moreno2016-10-20-0/+5
| | | | | * explain that you can place the human and bat classes into seperate files * explain how to import specific functions from other files
* [python3] updated docs on division for python3 (#2473)Srinivas Gorur-Shandilya2016-10-20-3/+7
| | | | | | | | | | * updated docs on division for python3 prev. docs were confusing, did not show how to actually divide. * modified language about python division * fixed grammar
* Update python3.html.markdownven2016-10-04-6/+0
|
* Update python3.html.markdown (#2381)Subhrajyoti Sen2016-09-21-0/+1
|
* [Eng/Python3] add new book: "Learn Python 3.0 VISUALLY" (#2360)Patrick Callahan2016-09-06-0/+1
| | | | | | * add new book * sanitized link
* correction for the set comprehension in py3 (#2358)PhoenixYip2016-09-06-1/+1
|
* [python3/en] Adding "Dive Into Python 3" (#2353)Patrick Callahan2016-09-01-0/+2
| | | | The previous version of this file had the original Dive Into Python, which was written with Python 2 in mind. It has come to my attention that the author of the original has published an updated version designed for Python 3, so I added this version back in.
* Remove Python 2 resources from Python 3 page (#2350)Patrick Callahan2016-09-01-5/+0
| | | There were several resources here that teach Python 2, but not Python 3. I removed them so that a reader will only see resources that apply to Python 3.
* [python/en] Set, dict, and generator comprehensions (#2298)J. Ryan Rembert2016-07-03-14/+24
| | | | | | | | * Add set and dict comprehensions for python 2 and 3 * Clean up formatting and generator explanation * Include documentation for generator comprehensions
* Python3/en: multiple inheritance (#2217)Alexandre Constantino2016-06-26-50/+147
| | | | | | | | | | | | | | | | | | | | * Add __name__ check to make testing easier * Update say to call print. Add more usage examples * Move Modules section before Classes Makes more sense for when explaining inheritance * Add multiple inheritance example * Add examples for multiple inheritance * Add instance check examples * Fix multiple inheritance example * Add note on the __name__ variable
* String length by #1742ven2016-06-16-0/+3
|
* Update python3.html.markdownAdam Bard2016-03-30-1/+0
| | | Remove TODO
* Update python3.html.markdownAlfredo Canziani2016-03-30-1/+1
| | | | | | | | | The same happens for `filter`. ```pythob filter(lambda x: x > 5, [3, 4, 5, 6, 7]) <filter at 0x110567320> list(filter(lambda x: x > 5, [3, 4, 5, 6, 7])) [6, 7] ```
* Update python3.html.markdownAlfredo Canziani2016-03-30-2/+2
| | | `map` requires `list` in order to convert the mapping to its list. E.g. `<map at 0x11057ce48>` to `[11, 12, 13]`.
* Merge pull request #1288 from DaKnOb/fixpymodven2016-03-10-0/+5
|\ | | | | [python/en] Add note about Python Module Order of Import
| * Add Python Order Of Module Import for Python 3DaKnOb2015-10-09-0/+5
| |
* | Merge pull request #1643 from ↵Adam Bard2016-02-14-0/+4
|\ \ | | | | | | | | | | | | ankitaggarwal011/python3-ternary-operator-documentation-add [python3/en] Adding documentation on ternary operator
| * | Adding documentation on ternary operatorAnkit Aggarwal2015-10-19-0/+4
| | |
* | | Merge remote-tracking branch 'adambard/master'sarthfrey2016-01-25-2/+2
|\ \ \ | | | | | | | | | | | | | | | | # Conflicts: # python.html.markdown
| * | | Changed a to b in comment about list assignment, and pluralized 'variable'.SWalls2016-01-10-2/+2
| | | |
* | | | Added Python Resourcessarthfrey2015-12-16-0/+1
|/ / /
* | | Fixed erroneous output and added a little clarity on the matterLouis Christopher2015-11-21-2/+2
| | | | | | | | | | | | | | | list.index(argument) would return the index of the item in the list that first matched the argument It will not return the value stored at the index of the argument as it was prior. Added some more clarity to the subject as well.
* | | Fixed erroneous output stated in a commentLouis Christopher2015-11-21-1/+0
| | | | | | | | | | | | range( start = lower limit, End is < Upper limit , Step) The upper limit is never printed. Fixed the error.
* | | Correct math.sqrt(16)Leslie Zhang2015-11-07-1/+1
|/ / | | | | math.sqrt(16) returns 4.0 instead of 4
* | Merge 'master' of github.com:adambard/learnxinyminutes-docsevuez2015-10-16-110/+117
|\ \
| * | Added instructions for input operations in Python3Ankit Aggarwal2015-10-14-0/+4
| | |
| * | Merge pull request #1504 from dillonjbyrne/patch-1Levi Bostian2015-10-14-119/+119
| |\ \ | | | | | | | | [python3/en] Cleaned up formatting and clarified output
| | * | Cleaned up formatting and clarified outputDillon J Byrne2015-10-13-119/+119
| | | | | | | | | | | | Unified the formatting throughout the document, clarified the output of a few lines, and tried to make it easier to visually separate comments from code when reading.
| * | | Add PEP8 to "Free Online"evuez2015-10-13-0/+1
| | | |
| * | | Add resources to the "Free Online" sectionevuez2015-10-13-0/+2
| |/ / | | | | | | | | | These have been valuable resources to me, but I'm not sure whether it fits this section or not.
* | | Add property to Classesevuez2015-10-13-5/+36
| | | | | | | | | | | | This adds the property decorator (getter, setter, deleter) to the class example. Also update scopes functions to fit PEP8.
* | | Update contributorsevuez2015-10-13-0/+1
| | |
* | | Add some stuff to lists, tuples, dicts and setsevuez2015-10-13-20/+47
|/ / | | | | | | | | | | Lists: added `remove`, `insert` and `index` Tuples: added extended unpacking Dictionaries: added new unpacking from Python 3.5 Sets: added ^, <=, >= operators
* | Merge pull request #1478 from aayushranaut/masterLevi Bostian2015-10-12-2/+0
|\ \ | | | | | | Range is not a generator
| * | Range is not a generatorAayush Ranaut2015-10-09-6/+4
| | |
* | | Changed way of creating classesGnomino2015-10-11-2/+2
| | |
* | | Merge pull request #1305 from kdelwat/masterLevi Bostian2015-10-09-0/+3
|\ \ \ | | | | | | | | [python3/en] Added examples of multiple parameters to higher order functions
| * | | Add examples of higher-order functions taking multiple argumentsCadel Watson2015-10-07-0/+3
| |/ /
* / / removing whitespace all overGabriel Halley2015-10-07-4/+4
|/ /
* | Merge pull request #1306 from zfergus2/masterLevi Bostian2015-10-05-3/+47
|\ \ | | | | | | [python3/en] edits and additions
| * | Fixed whitespacesZachary Ferguson2015-10-04-6/+5
| | | | | | | | | | | | Fixed the spacing to conform with standards.
| * | Changed [python3/en]Zachary Ferguson2015-10-02-3/+48
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Compared is and ==. Noted that tuples of length 1 require an ending comma. Discussed that keys of dictionaries have to be immutable. Added that elements of a set have to be immutable. Included an explanation of returning multiple values with tuple assignments. Added some clarifying remarks to comments.
* / Add step parameter to range functionVeerpalB2015-10-04-0/+12
|/ | | A description of the step parameter of the range function is added. An example of its use in a for loop is also given.
* Update python3.html.markdownFoo Chuan Wei2015-09-05-2/+2
|
* Corrected Python3 print() functionFoo Chuan Wei2015-09-05-2/+2
|
* Python3: add finally and with statementsDenis Gladkikh2015-09-01-0/+7
|
* [python3/en] Use `next()` instead of `__next__()`Genki Marshall2015-07-24-6/+6
| | | | | | | | | Fixes issue #1148. The reasoning is well explained by the issue. One can also refer to the docs [0], showing it is more idiomatic to use `next()`. [0]: https://www.python.org/dev/peps/pep-3114/ #double-underscore-methods-and-built-in-functions
* Added links to the free book "Automate the Boring Stuff with Python" to the ↵Al Sweigart2015-07-23-0/+1
| | | | "Free Online" section.