Commit Graph

240 Commits (2ad2c3378dd716d22028d92eb1de43c389f27848)

Author SHA1 Message Date
Taiyue Tan 5d0cea176f changes to grammar/punctuation (#28356) 2019-03-21 23:11:33 +05:30
Kristen Kinnear-Ohlmann 7d1f321717 Clarified first 2 sentences (#27490)
Updated word order and added comma in the first sentence to clarify meaning.

Standardized the order and look of if/elif/else to match main article on the topic.
2019-03-21 19:09:18 +05:30
Taiyue Tan eeae761325 Changes to grammar, content, styling, etc (#28364) 2019-03-19 20:03:43 -07:00
Val B 6a7243ddd8 Minor grammar changes (#29174) 2019-03-19 19:19:39 -07:00
Shruti Grover 6f1830f7ba Adding resource for Python (#30018)
https://www.py4e.com (Python for Everybody) added as tutorials for python
2019-03-18 15:56:46 +05:30
Robin Ferguson 797a425665 Added code highlighting for while loop (#31676) 2019-03-04 16:26:31 -08:00
tachoni ee0b83d876 Fixed typo on line 12 (#31800)
Added colon before a list of description
2019-03-04 16:20:35 -08:00
mail-liam dcb7e22b08 Minor changes and fixes. (#28463)
Some minor changes to sentence structure and grammar fixes.
2019-03-04 15:36:05 -08:00
Michael G 1594728815 Added some Sample Code for a demonstration in article commenting-code (#28451)
Implemented some Sample Code for the reader so they can see how comments are used in a basic function.
2019-03-04 15:04:25 -08:00
ishan-sriv 218bcfe75d Add lines 109-118(reading files) (#27795)
* Add lines 109-118(reading files)

* Update index.md
2019-03-03 10:11:21 -08:00
Anaconda 76fd0ce297 Added method to delete objects (#33474) 2019-03-03 07:55:52 -08:00
Blake Lambert dd9ce2bc2a Added information on inheritance in Python (#26572)
* Added information on inheritance in Python

* Formatting changes
2019-02-22 03:33:16 -05:00
Tanmay Arora aaba4c0987 Explanation.md (#30081)
Explained and simplified a few core concepts
2019-02-20 18:50:29 -05:00
Kaunaj Banerjee e580fa594c Add an example of infinite loop (#28627)
* Add an example of infinite loop

* Update index.md
2019-02-20 18:31:40 -05:00
Adi f5ab32315f Update index.md to add the get method (#27185)
* Update index.md

Adding the Get method to the dictionary

* Grammar fix
2019-02-17 20:56:31 -05:00
Lipis 86b8cee810 Replace Github with GitHub (#34971) 2019-02-12 00:46:34 -08:00
JawnsenTrain 444fcbd578 Created a file for the insert method (#26496)
* Created a file for the insert method

I tried to adopt your style of making these files in order to retain consistency.

* Rename list-insert-method to list-insert-method.md

* Rename guide/english/python/lists/list-insert-method.md to guide/english/python/lists/list-insert-method/index.md

* Added code formatting, changed more info link
2019-02-11 16:39:33 -05:00
Terho 8debdfd2bc Added basic random examples (#32568)
* Added basic random examples

Python random library examples

* Rename guide/english/python/Random/index.md to guide/english/python/random/index.md
2019-02-10 19:23:42 -08:00
Mayur Garg 83ef9029fb Added "I/O types" and "equality of range objects" (#27417)
* Added "I/O types" and "equality of range objects"

Added information about the types of input and output arguments in Python 2 and 3. Added the concept of equality of range objects wrt to == operator in Python 3

* Minor formatting changes

* Minor changes

* removed extra backticks and correct front matter
2019-02-07 15:19:40 -07:00
Mayur Garg 82a58dc1b8 Added "Variations of Import statements" (#27356)
* Added "Variations of Import statements"

Added detailed list of simple variations of import statements which can be used in python.

* Fixed spelling
2019-02-02 14:25:14 -05:00
Moon4Light a2bf343c82 Python: Completed article Creating GUI's in Python 3 (#29633)
* Python: Completed article Creating GUI's in Python 3

In this file I've completed the stub article which is about Creating GUI's in Python 3.

* Update index.md
2019-01-30 14:06:03 -08:00
Utkarsh Raghav dc27b9a4cc created data type conversions (#27645)
* Created Data Type convertions

Converting different data types to required types.

* Rename Data-type-Convertions to data-type-conversions

* Change file to .md

* Rename guide/english/python/data-structures/data-type-conversions.md to guide/english/python/data-structures/data-type-conversions/index.md
2019-01-30 13:31:01 -08:00
John 63aa2e2882 Adding code styling guidelines (#23710)
Adding code styling guidelines for Python indentation
2019-01-24 14:39:25 -05:00
himanshu07070 308d5db586 changes in the output (#30099)
['I', 'love', 'Python', 'very much']
instead of double quotes , it should be single quote.
2019-01-18 19:02:24 -06:00
tachoni 42b7306f76 Fixed typo on line 6 (#31809)
The text "the" was repeated and is now deleted.
2019-01-18 18:59:12 -06:00
Dominic Fung cb0cd87d7d Python mutability guide - fix formatting of code blocks and minor updates (#31696) 2019-01-18 18:57:52 -06:00
van-tienhoang 1a279432fe Fix the code python code format (#30449)
Fix the code python code format
2019-01-18 18:55:09 -06:00
Adi 9c3aa51ee4 adding text to correct the sentence (#33972)
Ord() and Chr() exists in both python 2.7 as well as python 3. The sentence was incorrect to state its only available in Python 3
2019-01-18 18:54:13 -06:00
Val B 56f37dbe12 Apply grammar changes (#30064) 2019-01-18 18:53:15 -06:00
Hawkings296 1c1ccf75d0 Minor text fix (#27074)
Lines 32 and 48
2019-01-17 00:22:55 -05:00
Hamza Muric 2e9f341251 Add lambda as function parameter (#26371)
Added lambda passing as an argument to function,
2019-01-15 17:08:27 -05:00
Kaunaj Banerjee 3189751ae7 Add content in Mutable section of Lists (#25476)
* Add content in Mutable section of Lists

* Fixed code typo and formatting
2019-01-15 16:08:26 -05:00
Val B 02b99a72da Fix typo (#30046) 2019-01-13 13:18:09 -07:00
Mukesh Jha 17943e5102 Difference in module installation in python 2 & 3 (#25407) 2019-01-13 12:57:22 -07:00
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
Aman Ranjan Verma f6bc110216 Added explantion on using mathematical expression (#23380)
Updated the article with concepts and examples on using mathematical expressions as an argument to Abs.
2018-12-03 15:07:56 -07:00
Akash Kumar 9e9944b81a Add deprecation note for easy_install (#22909)
* Add deprecation note for easy_install

Add the text "easy_install has been deprecated" to the article.

* fix(guide): update link to easy_install
2018-12-03 16:42:00 +00:00
chris13888 7f00161e60 Update index.md (#23905) 2018-12-01 21:55:20 -05:00
Jack Kang 841fa65d08 changed wording (#23793)
changed confusing wording
2018-11-30 21:24:29 -05:00
raviram 8d1f5af8ad Added example on 2d lists and changed format (#23665)
updated the code format along with an example of 2d list.
2018-11-29 05:07:01 -05:00
raviram 9b76a135e4 Added example code with duplicates in list (#23629)
* Added example code with duplicates in list

* Reworded sentence to introduce duplicates
2018-11-28 19:51:55 -05:00
Susheela92 973b5d9fd7 Network Testing (#22867)
Added another heading. Network Testing.
2018-11-27 11:50:19 -07:00
Bernard Yeo 7ef9295fae formatting changes (#23803) 2018-11-26 22:01:42 -05:00
JawnsenTrain 417f485da7 Added a comma after class (#23613) 2018-11-26 05:55:51 -05:00
Aman Ranjan Verma 3d3d1ed068 Added explanation and examples (#25859)
Updated the article with examples and difference table for clear understanding.
2018-11-25 00:22:20 -08:00
JawnsenTrain 8024f9ffc6 Deleted the repeated word "using" (#23581)
The Integer Objects sentence had "using" twice, so I deleted one.
2018-11-25 00:34:23 -05:00
raviram b48151239d Added link to Data Analysis using python. (#23579) 2018-11-25 00:33:36 -05:00
Naida Agić de7f340182 Updated index.md to further explain functions (#22779) 2018-11-23 17:52:27 +07:00
pythonprogrammer18 a6354030a4 Incorrect punctuation on "eg" (#22961)
Fixed periods on "eg" on line 24
(my first pull LOL).
2018-11-22 23:09:01 -05:00
Ashmita03 ff0ab6e4f6 Update index.md (#22846) 2018-11-22 23:08:20 -05:00
Alishaan Ali 8ca6a28a9b Commenting Code Minor Grammatical Changes (#21175) 2018-11-21 08:58:10 -05:00