summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
Commit message (Collapse)AuthorAgeLines
...
* Update python.html.markdownShashwat9862014-08-05-4/+6
| | | range() is not a generator in python 2.x
* Update python.html.markdownShashwat9862014-08-02-0/+4
| | | Added more details to try/except section.
* [python/en] added int div, modulo, and scopingSteven Basart2014-07-13-1/+1
| | | Added integer or truncation division, the modulo operator which were missing from operators section. Added function scoping in the functions section.
* [python/en] added int div, modulo, and scopingSteven Basart2014-07-13-0/+23
| | | Added integer or truncation division, the modulo operator which were missing from operators section. Added function scoping in the functions section.
* Python: clearer add lists note.Juan David Pastas2014-05-01-1/+1
|
* Remove references to hash and hashtag in favor of number symbolSam Dodrill2014-04-14-1/+1
|
* Modify python to be pep8 compliantGuillermo Garza2014-03-21-101/+108
| | | | This mostly adds spaces.
* Better explanation of list slicesMark Whiting2014-02-17-0/+4
| | | | | Step size and list slice syntax was not quite clear. Upon seeing li[::-1] as it was previously, I was not sure what this really meant so I looked it up and found that this section of the guide may benefit from more explanation.
* fix section numbercharalambosp2014-02-16-1/+1
|
* generators & decoratorscharalambosp2014-02-16-0/+48
|
* [python] == doesn't coerce types; use bool() to demonstrate truthiness ↵Adam Brenecki2013-11-26-2/+2
| | | | instead. Closes #418.
* added an online intro into Python for scientistsPiotr Migdał2013-11-19-0/+1
|
* reverting a list using slicesAmin Bandali2013-11-11-0/+3
|
* [python] Change to print function, as per #119Adam Brenecki2013-09-20-16/+18
|
* [python] Fix typo in comment, as per #265Adam Brenecki2013-09-20-1/+1
|
* [python] Clarify setdefault, as per #234Adam Brenecki2013-09-20-4/+4
|
* regular quotes instead of `.Haydar Kulekci2013-08-23-15/+15
|
* some python keywords, which are in comments, enclosed in quotation marks to ↵Haydar Kulekci2013-08-23-14/+14
| | | | become clear (understandable)
* Added an apostrophe to Itsmichaelstewart2013-08-08-1/+1
|
* Fix tiny typos.cssmagic2013-08-07-4/+4
|
* Expand on References. Add Books.Louie Dinh2013-08-05-2/+9
|
* Fix typoldinh2013-08-05-1/+1
|
* Authors -> ContributorsAdam2013-07-03-2/+2
|
* Merge pull request #99 from adelq/masterAdam Bard2013-07-03-1/+1
|\ | | | | Fix minor grammatical error on python page
| * Fix grammatical errorsAdel Qalieh2013-07-03-1/+1
| |
* | Small fix in pythonAdam2013-07-03-1/+2
| |
* | Added dir() functionYaser Alraddadi2013-07-03-0/+5
| | | | | | Added dir() function
* | Fix typoLouie Dinh2013-07-01-1/+1
| |
* | Tighten up py doc a bitLouie Dinh2013-07-01-14/+3
| |
* | Incorporated feedback, and pulled in changes from the master trunk.Michael Lee2013-07-01-1/+10
|\ \
| * | Added a few lines about truthiness, how lists can contain arbitrary data ↵Michael Lee2013-06-29-2/+63
| | | | | | | | | | | | types, how you can unpack both tuples and lists, using ange, assigning lambdas to variables, dictionary comprehensions, modules, and links to more info about the standard library.
* | | Incorporated feedback from lodin/adambard/othersMichael Lee2013-07-01-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - Added a few lines on using "is" to compare object identity. - Removed example about lists containing arbitrary values. - Removed example about assigning lambdas to variables. - Removed example about dictionary comprehensions. - Removed the additional explanation about 'self' - Added a clarification on modules.
* | | Added a few lines about truthiness, how lists can contain arbitrary data ↵Michael Lee2013-07-01-2/+64
| | | | | | | | | | | | types, how you can unpack both tuples and lists, using ange, assigning lambdas to variables, dictionary comprehensions, modules, and links to more info about the standard library.
* | | Merge pull request #22 from NickPresta/patch-1lodin2013-06-30-6/+0
|\ \ \ | | | | | | | | Python: Removing the bit about commas and exceptions.
| * | | Removing the bit about commas and exceptions.Nick Presta2013-06-28-6/+0
| | | |
* | | | Add hitchhiker's guide to python.lodin2013-06-30-0/+1
| | | |
* | | | Fix typo.lodin2013-06-30-3/+3
| | | |
* | | | Change formattingldinh2013-06-30-5/+3
| | | |
* | | | Add line breaksldinh2013-06-30-0/+2
| | | |
* | | | Add to Python reference materialldinh2013-06-30-1/+4
| | | |
* | | | Fix some inconsistencies so that the doc can be read top to bottomldinh2013-06-30-29/+18
| | | |
* | | | Fix whitespaceAdam2013-06-29-5/+8
| |/ / |/| |
* | | Added filename parameterAdam2013-06-29-0/+1
| | |
* | | tiny typo fix in pythonLeah Hanson2013-06-29-1/+1
| | | | | | | | | we -> be
* | | python set literals should be separated by commaJuraj Bubniak2013-06-29-1/+1
| |/ |/|
* | Fixes #16: Added new-style string formattingAdam2013-06-28-0/+7
| |
* | Fixes #26: triple-quoted strings are identified as such, not as commentsAdam2013-06-28-2/+3
| |
* | Fixes #15: Set literalsAdam2013-06-28-6/+11
| |
* | Fixes #14: Clarified if-as-expression wording in python tutAdam2013-06-28-1/+1
| |
* | Merge pull request #23 from brianr/patch-1Adam Bard2013-06-28-2/+2
|\ \ | | | | | | Use consistent example for demonstrating integer vs. float division