[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-573010-105":53,"doc-detail-573010-en":127},{"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":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","best-python-cheat-sheet-built-in-functions-reference","Best Python Cheat Sheet - Built-in Functions - Reference","","Best Python Cheat Sheet provides a compact, searchable reference of Python built-in keywords and standard built-in functions. It organizes core language elements such as built-ins, execution tools, list and set types, operators, regex, time utilities, and common utility categories across multiple sections. The sheet also includes concise one-line descriptions for each built-in, giving quick syntax and behavior guidance for everyday coding and debugging.",{"@graph":63,"@context":119},[64,80,102],{"@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":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/best-python-cheat-sheet-built-in-functions-reference/573010/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/best-python-cheat-sheet-built-in-functions-reference/573010.png","ImageObject",442,249,{"name":88,"@type":89},"lugxt","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-20","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What does this cheat sheet primarily cover?","Question",{"text":109,"@type":110},"It focuses on Python built-in keywords and built-in functions, grouped into practical categories for quick lookup.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How are built-in functions presented for learning or reference?",{"text":114,"@type":110},"Each function is listed with a short description of its purpose and key usage behavior.",{"name":116,"@type":107,"acceptedAnswer":117},"Does the sheet include language control keywords in addition to functions?",{"text":118,"@type":110},"Yes. It lists Python keywords such as as, assert, async, await, and other control- and syntax-related terms alongside built-ins.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},573010,1792085998,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":136,"language":137,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":61,"update_tm":141,"read_time":142},3985747862600,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","The * Best Python Cheat Sheet  \nJust what you need  \n\n| Built-in ( 1 ) | Execution (26) | List (9 ) | Set ( 10) |\n| --- | --- | --- | --- |\n| Bytes ( 11) | Flow control (4 ) | Number (22) | String ( 17) |\n| Class ( 12) | Function ( 11) | Operator (3 ) | Test (26) |\n| Debug (26) | Generator ( 17) | Regex (20) | Time (23) |\n| Decorator ( 14) | Iterator ( 16) | Resource (26) | Tuple (8 ) |\n| Dictionary (9 ) | Keyword ( 1 ) | Scope (6 ) | Types (26) |\n| Exception (24) | Library (26) | Sequence (7 ) |  |\n\nKeyword  \nand  \nas  \nassert  \nasync await  \nbreak  \n1  \ncase  \nclass  \ncontinue def  \ndel elif else except False  \nfinally  \nfor  \nfrom global if import in  \nis  \nlambda  \nmatch 1  \nNone  \nnonlocal  \nnot  \no r  \npass raise return  \nTrue  \ntry type 1 while with yield  \n1  \n_  \n1 Soft keywords  \nBuilt-in  \n Built-in functions   \n\n| abs ( number) | Absolute value of number |\n| --- | --- |\n| aiter (async_iterable) | Asynchronous iterator for anasynchronous iterable |\n| all ( iterable) | True if all elements of iterable are true (all ([]) is True) |\n| any ( iterable) | True if any element of iterable is true (any ([]) is False) |\n| ascii (object) | Return repr (object) with non-ASCII characters escaped |\n| bin ( number) | Convert number to binary string |\n| bool (object) | Boolean value of object , see   bool  |\n| breakpoint ( *args ,\u003Cbr>**kwds) | Drop into debugger\u003Cbr>by calling\u003Cbr>sys .breakpointhook ( *\u003Cbr>args , **kwds) |\n\nbytearray (…) New array of bytes  \nfrom byte-integers , string , bytes , or object with buffer API  \n\n| bytes (…) | New bytes object from byte-integers , string , or bytes |\n| --- | --- |\n| callable (object) | True if object is callable |\n| chr ( i ) | One character string for unicode ordinal i (0 \u003C= i \u003C= 0x10ffff) |\n| classmethod ( func) | Transform function into class method |\n| compile ( source , …) | Compile source into code or AST object |\n| complex ( real=0 , imag=0 ) | Complex number with the value real + imag*1j |\n| delattr (object , name) | Delete the named attribute , if object allows |\n| dict (…) | Create new\u003Cbr>dictionary |\n| dir ([object] ) | List of names in the local scope , or object .  dir  () or attributes |\n\ndivmod (x , y ) Return (quotient  \nx//y , remainder x%y)  \n13 Apr 2025  \nThe *Best Python Cheat Sheet  \nJust what you need  \n-  \n1 of 26  \n\n| enumerate ( iterable , start=0 ) | Enumerate object as ( n , item) pairs with n initialised to start value |\n| --- | --- |\n| eval ( source , globals=None , locals=None) | Execute Python expression string , or code object from compile () |\n| exec ( source , globals=None , locals=None) | Execute Python statements string , or code object from compile () |\n| filter ( func , iterable) | Iterator yielding items where bool ( func ( item) ) is True , or bool ( item) if func is None |\n| float (x=0 ) | Floating point number from number or string |\n| format (object , format_spec= ' ' ) | Formatted\u003Cbr>representation |\n| frozenset (…) | New frozenset object |\n| getattr (object , name [, default] ) | Get value of named attribute of object , else default or raise exception |\n| globals () | Dictionary of current module namespace |\n| hasattr (object , name) | True if object has named attribute |\n| hash (object) | Hash value of object , see object .  hash  () |\n| help (…) | Built-in help system |\n| hex ( number) | Convert number to lowercase hexadecimal string |\n| id (object) | Return unique integer identifier of object |\n|   import  ( name , …) | Invoked by the import statement |\n| input ( prompt= ' ' ) | Read string from sys .stdin , with optional prompt |\n| int (…) | Create integer from number or string |\n| isinstance (object , cls_or_tuple) | True if object is instance of given class (es) |\n\nissubclass ( cls , cls_or_tuple)  \nTrue if class is subclass of given class (es)  \n\n| iter (object , …) | Iterator for object |\n| --- | --- |\n| len (object) | Length of object |\n| list (…) | Create list |\n| locals () | Dictionary of current local symbol table |\n| map ( func ,* ","cbCaismeGy0zlWUI","https://ap.wps.com/l/cbCaismeGy0zlWUI","pdf",840873,26,"English","# Built-in Categories\n## Built-in Functions\n## Keywords\n## Common Built-ins (abs to vars)","[{\"question\":\"What does this cheat sheet primarily cover?\",\"answer\":\"It focuses on Python built-in keywords and built-in functions, grouped into practical categories for quick lookup.\"},{\"question\":\"How are built-in functions presented for learning or reference?\",\"answer\":\"Each function is listed with a short description of its purpose and key usage behavior.\"},{\"question\":\"Does the sheet include language control keywords in addition to functions?\",\"answer\":\"Yes. It lists Python keywords such as as, assert, async, await, and other control- and syntax-related terms alongside built-ins.\"}]","Best Python Cheat Sheet - Built-in Functions - Reference | PDF",1791930628,9]