[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-573601-105":53,"doc-detail-573601-en":117},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":110,"head_meta":112,"extra_data":114,"updated_unix":116},105,"en","python-methods-cheat-sheet","python methods Cheat Sheet","","Python methods cheat sheet summarizing common built-in operations across core types. Provides concise one-line descriptions for list methods such as append, clear, copy, extend, index, insert, pop, remove, reverse, and sort, plus key string methods for casing, searching, formatting, encoding, and trimming. Includes dictionary methods for managing keys and values, along with tuple and set basics. Useful as a quick reference for everyday programming tasks.",{"@graph":63,"@context":109},[64,80,100],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/python-methods-cheat-sheet/573601/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":94,"encodingFormat":93,"isAccessibleForFree":95,"interactionStatistic":96},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/python-methods-cheat-sheet/573601.png","ImageObject",442,249,{"name":88,"@type":89},"Kurz","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-14",true,{"@type":97,"interactionType":98,"userInteractionCount":9},"InteractionCounter",{"@type":99},"ViewAction",{"@type":101,"mainEntity":102},"FAQPage",[103],{"name":104,"@type":105,"acceptedAnswer":106},"What dictionary methods does the sheet summarize?","Question",{"text":107,"@type":108},"It summarizes clear, copy, fromkeys, get, items, keys, pop, popitem, setdefault, update, and values, focusing on how to access, add, remove, and iterate dictionary data.","Answer","https://schema.org",{"og:url":78,"og:type":111,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":113,"canonical":78},"index,follow",{"doc_id":115,"site_id":56},573601,1792014485,{"code":4,"msg":5,"data":118},{"doc_id":115,"user_id":119,"nickname":88,"user_avatar":120,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":121,"file_id":122,"file_url":123,"file_type":124,"file_size":125,"view_count":9,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":73,"language":126,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":127,"faqs":128,"seo_title":129,"seo_description":61,"update_tm":130,"read_time":9},2336478945635,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","python methods Cheat Sheet  \n[by](by gloo13 via cheatography.com/185324/cs/38728/)[ gloo13](by gloo13 via cheatography.com/185324/cs/38728/)[ via](by gloo13 via cheatography.com/185324/cs/38728/)[ cheatography.com/185324/cs/38728/](by gloo13 via cheatography.com/185324/cs/38728/)  \nLists  \n\n| append() | Adds an element at the end of the list |\n| --- | --- |\n| clear() | Removes all the elements from the list |\n| copy() | Returns a copy of the list |\n| count() | Returns the number of elements\u003Cbr>with the specified value |\n| extend() | Add the elements of a list (or any iterable) , to the end of the current list |\n| index() | Returns the index of the first\u003Cbr>element with the specified value |\n| insert() | Adds an element at the\u003Cbr>specified position |\n| pop() | Removes the element at the\u003Cbr>specified position |\n| remove() | Removes the first item with the\u003Cbr>specified value |\n| reverse() | Reverses the order of the list |\n| \u003Cbr>sort()\u003Cbr>String | \u003Cbr>Sorts the list |\n| capita‐ | Converts the first character to |\n| lize() | upper case |\n| casefold() | Converts string into lower case |\n| center() | Returns a centered string |\n| count() | Returns the number of times a specified value occurs in a string |\n| encode() | Returns an encoded version of\u003Cbr>the string |\n| endswith() | Returns true if the string ends with the specified value |\n| expand‐ tabs() | Sets the tab size of the string |\n| find() | Searches the string for a specified value and returns the position of where it was found |\n| \u003Cbr>format() | \u003Cbr>Formats specified values in a string |\n\nBy gloo13  \n[cheatography.com/gloo13/](cheatography.com/gloo13/)  \nString (cont)  \n\n| format‐\u003Cbr>_map() | Formats specified values in a string |  |\n| --- | --- | --- |\n| index() | Searches the string for a specified value and returns the position of where it was found |  |\n| isalnum() | Returns True if all characters in\u003Cbr>the string are alphanumeric |  |\n| isalpha() | Returns True if all characters in\u003Cbr>the string are in the alphabet |  |\n| isascii() | Returns True if all characters in\u003Cbr>the string are ascii characters |  |\n| isdeci‐\u003Cbr>mal() | Returns True if all characters in\u003Cbr>the string are decimals |  |\n| isdigit() | Returns True if all characters in\u003Cbr>the string are digits |  |\n| isidentif‐\u003Cbr>ier() | Returns True if the string is an identifier |  |\n| islower() | Returns True if all characters in\u003Cbr>the string are lower case |  |\n| isnume‐\u003Cbr>ric() | Returns True if all characters in\u003Cbr>the string are numeric |  |\n| Dictionaries |  |  |\n| clear() |  | Removes all the elements\u003Cbr>from the dictionary |\n| copy() |  | Returns a copy of the dictionary |\n| fromkeys() |  | Returns a dictionary with the specified keys and value |\n| get() |  | Returns the value of the\u003Cbr>specified key |\n| items() |  | Returns a list containing a tuple for each key value pair |\n| keys() |  | Returns a list containing the dictionary's keys |\n| \u003Cbr>pop() |  | \u003Cbr>Removes the element with the\u003Cbr>specified key |\n\nNot published yet.  \nLast updated 16th May , 2023. Page 1 of 2.  \nDictionaries (cont)  \n\n| popitem() | Removes the last inserted keyvalue pair |\n| --- | --- |\n| setdef‐\u003Cbr>ault() | Returns the value of the specified key. If the key does not exist: insert the key , with the specified value |\n| update() | Updates the dictionary with the specified key-value pairs |\n| values() | Returns a list of all the values in\u003Cbr>the dictionary |\n| String |  |\n| \u003Cbr>isprin‐ table() isspace() | \u003Cbr>Returns True if all characters in\u003Cbr>the string are printable\u003Cbr>Returns True if all characters in\u003Cbr>the string are whitespaces |\n| istitle() | Returns True if the string follows the rules of a title |\n| isupper() | Returns True if all characters in\u003Cbr>the string are upper case |\n| join() | Converts the elements of an\u003Cbr>iterable into a string |\n| ljust() | Returns a left justified version of the string |\n| lower() | Converts a string into lowercase |\n| lstrip() | Returns a left trim version of the\u003Cbr>string |\n| maketr‐ | ","cbCailGoVjUSWAwN","https://ap.wps.com/l/cbCailGoVjUSWAwN","pdf",41980,"English","# Lists\n# Strings\n## String (cont)\n# Dictionaries\n## Dictionaries (cont)\n# Tuple\n# Set","[{\"question\":\"What dictionary methods does the sheet summarize?\",\"answer\":\"It summarizes clear, copy, fromkeys, get, items, keys, pop, popitem, setdefault, update, and values, focusing on how to access, add, remove, and iterate dictionary data.\"}]","python methods Cheat Sheet | PDF",1791943278]