[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-692234-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-692234-en":130,"doc-similar-692234":158},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","python-quick-guide-beginner-start-here","PYTHON-QUICK GUIDE - Beginner - Start Here","","PYTHON-QUICK GUIDE summarizes core fundamentals of Python programming, starting from an overview of the language’s characteristics and purpose. It explains how to get Python and how to run the interpreter in interactive mode, including a first program example using print. The guide then covers Python identifiers and naming rules, reserved keywords, and practical syntax essentials such as indentation, multi-line statements, quoting, comments, blank lines, and using semicolons for multiple statements.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/python-quick-guide-beginner-start-here/692234/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/python-quick-guide-beginner-start-here/692234.png","ImageObject",300,407,{"name":42,"@type":43},"moss~","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-19","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What are Python’s main characteristics described in this guide?","Question",{"text":63,"@type":64},"Python is presented as a high-level, interpreted, interactive, and object-oriented scripting language. It also highlights features such as being easy to learn, easy to read, portable, and extendable.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do you start Python in interactive mode and run the first program?",{"text":68,"@type":64},"Invoke the interpreter without passing a script file to get a prompt, then type a print statement and press Enter. The example provided outputs “Hello, Python!”.",{"name":70,"@type":61,"acceptedAnswer":71},"What rules govern Python identifiers and reserved words?",{"text":72,"@type":64},"Identifiers must start with a letter (A–Z or a–z) or an underscore and may contain letters, underscores, and digits. Reserved words shown in the guide cannot be used as identifiers.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},692234,1794186385,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":30,"preview_urls":145},962090895452,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","PYTHON-QUICK GUIDE  \n\n| [http://www.tutorialspoint.com/python/python_quick_g uide .htm](http://www.tutorialspoint.com/python/python_quick_g uide .htm) Copyright © [tutorials point.com](tutorials point.com)\u003Cbr>PYTHON OVERVIEW: |\n| --- |\n| Python is a high-level, interpreted, interactive and object oriented-scripting language .\u003Cbr> Python is Interpreted\u003Cbr> Python is Interactive\u003Cbr> Python is Object-Oriented\u003Cbr> Python is Beginner' s Language\u003Cbr>Python was developed by Guido van Rossum in the late eighties and early nineties atthe National Research Institute for Mathematics and Computer Science in the Netherlands .\u003Cbr>Python's feature highlights include :\u003Cbr> Easy-to-learn\u003Cbr> Easy-to-read\u003Cbr> Easy-to-maintain\u003Cbr> A broad standard library\u003Cbr> Interactive Mode\u003Cbr> Portable\u003Cbr> Extendable\u003Cbr> Databases\u003Cbr> GUI Programming\u003Cbr> Scalable\u003Cbr>GETTING PYTHON: |\n| The most up-to-date and current source code , binaries , documentation, news , etc . is available atthe official website of Python:\u003Cbr>Python Official Website : [http://www.python.org /](http://www.python.org /)\u003Cbr>You can download the Python documentation from the following site . The documentation is available in HTML, PDF, and PostScript formats .\u003Cbr>[Python Documentation Website :](Python Documentation Website : www.python.org /doc/)[ ](Python Documentation Website : www.python.org /doc/)[www.python.org /doc/](Python Documentation Website : www.python.org /doc/)[ ](Python Documentation Website : www.python.org /doc/)FIRST PYTHON PROGRAM: |\n\nInteractive Mode Programming :  \nInvoking the interpreter without passing a script file as a parameter brings up the following prompt:  \nroot\\# python  \nPython 2 .5 (r25 : 51908, Nov 6 2007, 16 : 54 : 01)  \n[GCC 4 .1 .2 20070925 (Red Hat 4 .1 .2-27)] on linux2  \nType \"help \" , \"copyright \" , \"credits \" or \"license \" for more info .>>>  \nType the following text to the right of the Python prompt and press the Enter key:  \n>>> print \"Hello, Python! \" ;  \nThis will produce following result:  \nHello, Python !  \nPYTHON IDENTIFIERS:  \nA Python identifier is a name used to identify a variable , function, class , module , or other object. An identifier starts with a letter Ato Z or a to z or an underscore (_ ) followed by zero or more letters , underscores , and digits (0 to 9).  \nPython does not allow punctuation characters such as @, $, and % within identifiers . Python is a case sensitive programming language . Thus Manpower and manpower are two different identifiers in Python.  \nHere are following identifier naming convention for Python:  \n Class names start with an uppercase letter and all other identifiers with a lowercase letter.  \n Starting an identifier with a single leading underscore indicates by convention that the identifier is meant tobe private .  \n Starting an identifier with two leading underscores indicates a strongly private identifier.  \n If the identifier also ends with two trailing underscores , the identifier is a language-defined special name .  \nRESERVED WORDS:  \nThe following list shows the re served words in Python. These reserved words may not be used as constant or variable or any other identifier names .  \n\n| and | exec | not |\n| --- | --- | --- |\n| assert | finally | or |\n| break | for | pass |\n| class | from | print |\n| continue | global | raise |\n| def | if | return |\n| del | import | try |\n| elif | in | while |\n| else | is | with |\n| except | lambda | yield |\n\nLINES AND INDENTATION:  \nOne of the first caveats programmers encounter when learning Python is the fact that there are no braces to indicate blocks of code for class and function definitions or flow control. Blocks of code are denoted by line indentation, which is rigidly enforced.  \nThe number of spaces in the indentation is variable , but all statements within the block must be indented the same  \namount. Both blocks in this example are fine :  \nif True:  \nprint \"True \"else:  \nprint \"False \"  \nHowever, the second block in this example will generate an er","cbCaicjLk44OI27M","https://ap.wps.com/l/cbCaicjLk44OI27M","pdf",197820,26,"English","# Python Overview\n# Getting Python\n# First Python Program\n# Python Identifiers\n# Reserved Words\n# Lines and Indentation\n# Multi-line Statements\n# Quotation in Python\n# Comments in Python\n# Using Blank Lines\n# Multiple Statements on a Single Line","[{\"question\":\"What are Python’s main characteristics described in this guide?\",\"answer\":\"Python is presented as a high-level, interpreted, interactive, and object-oriented scripting language. It also highlights features such as being easy to learn, easy to read, portable, and extendable.\"},{\"question\":\"How do you start Python in interactive mode and run the first program?\",\"answer\":\"Invoke the interpreter without passing a script file to get a prompt, then type a print statement and press Enter. The example provided outputs “Hello, Python!”.\"},{\"question\":\"What rules govern Python identifiers and reserved words?\",\"answer\":\"Identifiers must start with a letter (A–Z or a–z) or an underscore and may contain letters, underscores, and digits. Reserved words shown in the guide cannot be used as identifiers.\"}]","PYTHON-QUICK GUIDE - Beginner - Start Here | PDF",66,[146,150,154],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5e9a78bcd1f754980a4db61e09948d47.webp",983,1391,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/373c24332921fd41a337293d166e3a6f.webp",982,1389,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/77ba476050675f8b00f51741f9233b2d.webp",981,1388,{"list":159,"token":11},[160,166,172,178,185,191,197,203,209,216],{"doc_id":161,"doc_title":162,"file_type":137,"home_preview_img_url":163,"slug":164,"view_count":106,"category_name":29,"create_tm":165},692314,"CS 116 Course Specific Style Guide - Document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003205286/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=B0a2Ou4oo%2Frmv2%2Bw8ryFg0lH4g4%3D","cs-116-course-specific-style-guide-document",1794193120,{"doc_id":167,"doc_title":168,"file_type":137,"home_preview_img_url":169,"slug":170,"view_count":33,"category_name":29,"create_tm":171},682217,"A Python Style Guide - Draft","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998448576/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=sG4aD%2B%2BBWjP9u5fmjmTxilKTd1A%3D","a-python-style-guide-draft",1793963006,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":33,"category_name":29,"create_tm":177},701213,"Modern C++ for Computer Vision - Lecture 2 - C++ Basic Syntax","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012053964/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=AFW3sOj8jRShagyunxxrYACPUls%3D","modern-c-for-computer-vision-lecture-2-c-basic-syntax",1794524180,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":29,"create_tm":184},417792,"Python glossary of terms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495520/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=HRO7hRiZm%2F2l8xW2saXx7YiC3t4%3D","python-glossary-of-terms",15,1790610644,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":97,"category_name":29,"create_tm":190},670915,"Python Cheat Sheet - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988353347/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=WBoUrBu%2FVloPjpyi8%2Fxy%2FU1ZMdY%3D","python-cheat-sheet-quick-reference-670915",1793572692,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":102,"category_name":29,"create_tm":196},682223,"Python PEP8 style guide - Cheat Sheet - Naming conventions - Maximum Line Length and Line Breaking - Indentation - Comments - Code Layout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999427735/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=NI2aZOpibg4%2FOekvCyB9s9Ds3hk%3D","python-pep8-style-guide-cheat-sheet-naming-conventions-maximum-line-length-and-line-breaking-indentation-comments-code-layout",1793963021,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":106,"category_name":29,"create_tm":202},721619,"JavaScript: The Definitive Guide - Seventh Edition - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024688711/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=U7rhcxPfI8CZDfWhtPzCzFtnMFg%3D","javascript-the-definitive-guide-seventh-edition-table-of-contents",1795060954,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":102,"category_name":29,"create_tm":208},682220,"Style Guide for CS 231 and CS 234 - Python Style Requirements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998448640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=QJ5559gUYim8PS3K6UiBxvS5Wsc%3D","style-guide-for-cs-231-and-cs-234-python-style-requirements",1793963013,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":29,"create_tm":215},417795,"python-cheatsheet - Python Quick Reference - Command Line, Syntax, Data Types, Strings, Numbers, and Control Flow","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495533/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=PGmzH895Neu2SAZsd2vXkzoQgLI%3D","python-cheatsheet-python-quick-reference-command-line-syntax-data-types-strings-numbers-and-control-flow",21,1790610650,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":102,"category_name":29,"create_tm":221},682219,"Python Style Rules - Docstring Conventions - Coding Style","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998448620/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=6sGi1EtofcvQyuk58Z%2FbnAcYh78%3D","python-style-rules-docstring-conventions-coding-style",1793963012]