156 Commits

Author SHA1 Message Date
Glafs
b4685900e0 Added a constructor description with an example to constructor article (#26488)
* Added a constructor description with an example

* Changed text layout in Python constructor article

I learned how to make the text look nicer, so I changed the looks a bit :)

* Added clarification in python constructor guide

I added a short explanation about function overloading in python, why we only use one __init__ in a class.

* Grammatical, formatting and typo fixes
2019-01-06 12:12:29 -05:00
JawnsenTrain
d2c9a45f21 Added more info about the append method (#26478)
* Added more info about the append method

Added the detail that the method adds the argument to the end specifically.

* Removed redundant point
2019-01-05 16:25:27 -05:00
Adam Sałek
828375d462 Added more tools for virtual env (#31415)
* Added more tools for virtual env

Based on Python official documentation

* typo in 'h1'

Correct value: Environments

* another typo

Correct value: together
2019-01-02 17:02:22 -07:00
Chris Birster
24f8f9ad11 Added pyenv notes to virtual environments (#29135) 2019-01-02 08:11:47 -07:00
Max Ong Zong Bao
65d2d13cd7 Updated the coding example with comments, added a new python package manager called "pipenv". Lastly added a code example on the order of imports with comments. (#23897) 2018-12-31 17:50:01 +09:00
chris13888
095c15afa9 Created a description for pickle in Python (#23883) 2018-12-25 17:37:09 +09:00
txxin
b63e59a070 I changed the heading size of the article. The first heading went from 2 to 1. The other subheadings went from Heading 5 to 3. (#25694) 2018-12-22 14:17:32 -05:00
Kyle Cheng
90cb63c37b Some typos, made doc readable (#33136) 2018-12-20 16:44:58 -08:00
kingtheoden
bd5aa22faf More concise language and an example code. (#25421)
Erase an unnecessary word from the initial description.

Add an example function call above where the parameters are explained for a more visual learning experience.
2018-12-20 06:07:33 -05:00
ankesh292
e929a31bc0 Update index.md (#33467) 2018-12-19 18:23:10 -08:00
Taiyue Tan
726b1da739 changes to grammar and punctuation (#28353) 2018-12-19 18:21:54 -08:00
Naida Agić
0a03967faa Added an example for iterating over a string (#25806) 2018-12-19 18:00:36 -08:00
Blake Lambert
5bd2e24820 Update index.md (#25637)
Grammatical and spelling changes to improve readability.
2018-12-19 18:00:02 -08:00
Mukesh Jha
663b293904 Added info that For loop is faster than while loop. (#25416) 2018-12-19 17:46:28 -08:00
Max Ong Zong Bao
a62a30ce63 Rephrasing the guide on how a dictionary works in Python for a layman. (#23949)
* Rephrasing on how a dictionary works in Python 

Rephrased the guide to make it easier to understand for a layman. Besides that added headers to break it down further to explain certain aspects of the python dictionary.

* Update guide/english/python/data-structures/dictionaries/index.md

Co-Authored-By: steelwolf180 <steelwolf180@gmail.com>

* Update guide/english/python/data-structures/dictionaries/index.md

Co-Authored-By: steelwolf180 <steelwolf180@gmail.com>

* Update guide/english/python/data-structures/dictionaries/index.md

Co-Authored-By: steelwolf180 <steelwolf180@gmail.com>

* Update guide/english/python/data-structures/dictionaries/index.md

Co-Authored-By: steelwolf180 <steelwolf180@gmail.com>

* Redo my previous delete

Undo my deleting of **has_key()** method
2018-12-19 15:39:01 -05:00
chris13888
fe2d44a6ad Create overview for Python's enumerate function (#23852)
* Rename guide/english/python/index.md to guide/english/python/enumerate/index.md

* Created More Info section
2018-12-19 01:38:27 -05:00
Mukesh Jha
d7918dbc00 Added the way to modify immutable string. (#25334)
* Added the way to modify immutable string.

* Formatting changes
2018-12-18 22:24:09 -05:00
qme1519
932fc1d56b Content and language check (#25253)
New instructions added, language checked
2018-12-18 22:07:28 -05:00
DanSLuong
0afe892563 fix(guide): Edited the formatting for readability (#32574) 2018-12-18 15:50:19 +05:30
Utkarsh Raghav
e84bd33ca9 Added string formatting (#26695)
Included the String formatting function/method to the above list.
2018-12-17 15:12:56 +05:30
AAKANKSHACHOUHAN
199ebeaef6 Add the text "software" , "operating through" (#25212)
Add the text "system" , "since it is also an environment manager"
2018-12-16 01:36:48 -05:00
Amoghmule
26c407b7cd added set function example (#25103)
* added set function example

added one example that how we can convert list to set by set function

* Added formatting and code output
2018-12-15 22:15:52 -05:00
girraj jangid
15d1acc82e Add the changes text to file (#24968)
* Add the changes text to file

* add changes to this article
2018-12-14 22:35:45 -05:00
Bradley
960e725f91 Added the cheat sheet (#24899)
* Added the cheat sheet

Added the Anaconda cheat sheet for easy access to important information about Conda.

* Moved change to "more information"
2018-12-14 22:16:37 -05:00
himanshu07070
9d1c82225a Update index.md (#30140)
changes in the output
2018-12-13 14:49:57 -08:00
shilpi03
b918547c24 keywords (reserve words ) in python (#25949) 2018-12-13 14:49:23 -08:00
Corey Abma
723fa03609 update: added additional note fields (#29551)
* fix: corrected placement of notes

Some "note" fields were preemptive in their placement; I corrected their placement to be in more appropriate locations.

* update: added additional note fields

Added some additional "note" fields to assist those who are reading through the PHP documentation.

* fix: formatting of escape sequence examples

The formatting was a bit jumbled, so I cleaned up the formatting of the escape sequence.

* update: improved examples

I added a new example to demonstrate the use of a "break" statement in a while loop, as well as numbered each example.

* update: add clarifying statement

I added a note at the end of the description, with the goal of being a bit more explicit in terms of what the "continue" statement does.
2018-12-13 00:51:39 -08:00
none2serious
9d41ca47f1 Add Python 3.x print example (#24624) 2018-12-12 10:25:59 -05:00
Sherrie L. Fuqua
7342084a3a Edited for grammar, readability and markdown (#33026)
Grammar and readability edits, converted HTML links to markdown, made headings consistent, added some material.
2018-12-11 15:15:42 -07:00
raviram
31bc19174f Added example of absolute value of complex number (#23638) 2018-12-11 14:43:20 -05:00
Angelisa
59799e3cb6 Adjust punctuation & sentence structure (#31638) 2018-12-11 11:03:50 -07:00
OhSnapitsMikel
c1ac8b2eb7 Added Resource pypi (#31549) 2018-12-11 10:33:10 -07:00
brinkstock
d0552904cf Rewording some sentences (#31395)
Increasing the clarity of some of the sentences and removing some grammatical errors.
2018-12-11 10:09:05 -07:00
Maulik Rathod
2234afb55e Add some information in Things you can do with python (#31145)
Add some information in "Things you can do with python"
2018-12-11 09:51:24 -07:00
Vembar Varun
67127904cd Cleanup 'additional references' (#29622)
Existing links were either not free(LPTHW), classes to computer science(edx,udacity).
2018-12-11 09:46:16 -07:00
codestin
386b993f24 Update index.md with grammatical improvements (#28853) 2018-12-11 09:14:43 -07:00
Smit1701
bb78b3dd13 Update in Pros. (#28414) 2018-12-11 08:51:25 -07:00
Anatoly Makeyev
9443360a31 Added a quote from a great Python book author, Michael Dawson, on Why… (#28188)
* Added a quote from a great Python book author, Michael Dawson, on Why to choose Python

* fix: formatting/spelling
2018-12-11 08:20:35 -07:00
Andrew
150cbab8ed updated python install for Mac (#27861) 2018-12-10 20:41:18 -07:00
Sophia
51c6d8c0ec Add "pro, 4 and con, 3" (#27244)
4. Python is great for people new in coding. The mechanics of it is basic enough to understand yet complex enough to use on multi platforms.

3. White space can confuse beginners as spaces change depending on the program.
2018-12-10 19:57:38 -07:00
hdquemada
446f2de382 Corrected grammar and typographical errors (#24530) 2018-12-10 19:42:23 -07:00
Ananay Sharma
22da9b9715 Adding more info about Python3 (#24129)
Updated Installation to add a link for Python3.x installation on Linux.
2018-12-10 19:19:21 -07:00
Carlos Arcenas
1ce0aba184 Improve language in python/commenting-code (#24421) 2018-12-10 18:38:53 -05:00
Carlos Arcenas
c8ddc22d57 Improve language in python-2-vs-python-3 (#24425) 2018-12-10 18:30:09 -05:00
Boopathiking
a6ab0714e4 Wrongly mentioned, so interchanged the comments (#24370) 2018-12-08 21:53:21 -05:00
Karol Gasparik
5d5a29649f update: lambda expression example for python sort (#26044)
Added example that use lambda expression as key during sorting list.
2018-12-08 12:33:36 -07:00
Sean Riley
ca96fd91a6 Minor grammar and syntax corrections. (#23177) 2018-12-08 09:04:04 +07:00
Kaunaj Banerjee
88f400af91 Correct some typos (#30981)
- 'index' should be 'indexed'
- 'contain' should be 'contains'
- 'heterogenuous' should be 'heterogeneous'
2018-12-07 04:28:06 -05:00
girraj jangid
c0c3c4c624 Add 'changes' to this article (#25019)
* Add 'changes' to this article

* add changes to this file
2018-12-07 04:04:54 -05:00
Kyle Cheng
2791586935 Update index.md (#34120) 2018-12-05 14:14:46 -08:00