[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-687539-105":3,"doc-detail-687539-en":80,"detail-sidebar-cat-0-en-105":118,"doc-similar-687539":165},{"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":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","python-and-pycharm-introduction-to-python-why-python-virtual-environment-basic-packages-managing-anaconda-python-ide-miniconda-pycharm-new-project","PYTHON AND PYCHARM - Introduction to Python - Why Python? - Virtual Environment - Basic Packages Managing - Anaconda - Python IDE + Miniconda = PyCharm - New Project","","Course notes introducing Python and the PyCharm workflow, starting with the motivations behind Python’s adoption: simple, readable syntax, high-level design, open-source availability, portability, extensibility in C/C++, ease of learning, and a mature community with extensive libraries. It then explains virtual environments for per-project dependency control, including creation, activation, and deactivation. The notes cover package management with pip, snapshotting dependencies via requirements.txt, and installing from that file. Finally, it outlines Anaconda/conda concepts, connects PyCharm with Miniconda support, and gives installation and new project steps.",{"@graph":14,"@context":72},[15,34,55],{"@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-and-pycharm-introduction-to-python-why-python-virtual-environment-basic-packages-managing-anaconda-python-ide-miniconda-pycharm-new-project/687539/",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-and-pycharm-introduction-to-python-why-python-virtual-environment-basic-packages-managing-anaconda-python-ide-miniconda-pycharm-new-project/687539.png","ImageObject",300,407,{"name":42,"@type":43},"Aria Callaghan","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-11","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"Why is Python considered a good choice according to these notes?","Question",{"text":62,"@type":63},"The notes list Python’s high-level nature, open-source status, portability (“write once run everywhere”), extensibility with C/C++, ease of learning, and support from a mature community with many libraries and frameworks.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What is a virtual environment and why is it used?",{"text":67,"@type":63},"A virtual environment is a self-contained directory tree containing a specific Python installation and additional packages. It helps store and manage project-wide dependencies with matching package versions.",{"name":69,"@type":60,"acceptedAnswer":70},"How do you manage Python packages and reproduce dependencies?",{"text":71,"@type":63},"Use pip to install or uninstall packages. To reproduce dependencies, snapshot the installed set with pip freeze > requirements.txt, then install them later using pip install -r requirements.txt.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},687539,1794084032,{"code":4,"msg":81,"data":82},"success",{"doc_id":78,"user_id":83,"nickname":42,"user_avatar":84,"doc_module":4,"category_id":85,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":86,"file_id":87,"file_url":88,"file_type":89,"file_size":90,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":91,"language":92,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":93,"faqs":94,"seo_title":95,"seo_description":12,"update_tm":79,"read_time":96,"preview_page_count":97,"preview_urls":98},962084926284,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",6,"PYTHON AND PYCHARM  \nAntonio Luca Alfeo  \nINTRODUCTION TO PYTHON  \nBased on previous lecture by F. Galatolo  \nWHY PYTHON?  \nCreated by Guido van Rossum in the 1980s, to be a general-purpose language with a simple and readable syntax. Today is more and more required since it is:  \n• High level  \n• Open source  \n• Portable: write once run everywhere  \n• Extendible in C/C++  \n• Easy to learn  \n• With a mature and supportive community  \n• With hundreds of thousands of libraries, packages and frameworks, supported by big players (Google, Facebook, Amazon) and non-profit organizations  \nVIRTUAL ENVIRONMENT  \n•In each project, a number of Python packages are imported and used. Each of them may requires a given version of other packages and Python as well.  \n•A virtual environment is a self-contained directory tree that contains a Python installation for a particular version of Python, plus a number of additional packages  \n•In this way, the project-wide dependencies are stored, easily snapshotted and retrieved  \n•Create a Virtual Environment with Python X.Y in folder env  \nvirtualenv--python=pythonX.Y env  \n•Activate the Virtual Environment  \nsource ./env/bin/activate  \n. ./env/bin/activate  \n•Deactivate the Virtual Environment  \ndeactivate  \nBASIC PACKAGES MANAGING  \n•Install package  \npip install package  \n•Uninstall package  \npip uninstall package  \n•Snapshot installed packages in requirements.txt  \npip freeze > requirements.txt  \n•Install all packages snapshotted in requirements.txt  \npip install-r requirements.txt  \n•Now you can import and use this packages in your project  \nANACONDA  \nAnaconda is a distribution of Python that aims to simplify package management and deployment, suitable for Windows, Linux, and macOS.  \nPackage versions in Anaconda are managed by conda, an open source, crossplatform, language-agnostic package manager and environment management system  \nConda analyses the current environment including everything currently installed, works out how to install/run/update a compatible set of dependencies  \nPYTHON IDE + MINICONDA = PYCHARM  \nPycharm offers configurable python interpreter and virtual environment support.  \nBased on previous lecture by A. L. Alfeo  \nINSTALLATION 1/2  \n1. Install PyCharm using this links:  \n􀂏 Linux  \n􀂏 Windows  \n􀂏 MacOs  \n2. During PyCharm installation enable “open folder as project”  \nINSTALLATION 2/2  \nAccept the JetBrains Privacy Policy Choose the UI theme you prefer Do not install any featured plugin Install  Miniconda: includes the conda environment manager,  \nPython, the packages they depend on, and a small number of other useful packages (e.g. pip).  \nRemember, Miniconda can be installed at any time from Tools-> Install Miniconda3  \nStart using PyCharm  \nNEW PROJECT  \nCreate a new project. Name it “first_project”. If needed set the conda executable path.","cbCaiu6ZgN3IAyob","https://ap.wps.com/l/cbCaiu6ZgN3IAyob","pdf",2291349,41,"English","# Introduction to Python\n## Why Python?\n## Virtual Environment\n## Basic Packages Managing\n## Anaconda\n## Python IDE + Miniconda = PyCharm\n## Installation 1/2\n## Installation 2/2\n## New Project","[{\"question\":\"Why is Python considered a good choice according to these notes?\",\"answer\":\"The notes list Python’s high-level nature, open-source status, portability (“write once run everywhere”), extensibility with C/C++, ease of learning, and support from a mature community with many libraries and frameworks.\"},{\"question\":\"What is a virtual environment and why is it used?\",\"answer\":\"A virtual environment is a self-contained directory tree containing a specific Python installation and additional packages. It helps store and manage project-wide dependencies with matching package versions.\"},{\"question\":\"How do you manage Python packages and reproduce dependencies?\",\"answer\":\"Use pip to install or uninstall packages. To reproduce dependencies, snapshot the installed set with pip freeze \\u003e requirements.txt, then install them later using pip install -r requirements.txt.\"}]","PYTHON AND PYCHARM - Introduction to Python - Why Python? - Virtual Environment - Basic Packages Managing - Anaconda - Python IDE + Miniconda = PyCharm - New Project | PDF",103,5,[99,103,107,111,115],{"page_no":22,"url":100,"width":101,"height":102},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/6dba36c1306bde9b5137f9f239f5d38e.webp",983,737,{"page_no":26,"url":104,"width":105,"height":106},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a47fb5fd6fcbfa204db2f263ebd43528.webp",982,736,{"page_no":30,"url":108,"width":109,"height":110},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b428ad2de956ca4b68c853316fce6646.webp",981,735,{"page_no":33,"url":112,"width":113,"height":114},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/311f70e3967bf6457b9c1343858b33be.webp",980,734,{"page_no":97,"url":116,"width":117,"height":114},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a350de8afcdc9363d67b191e1eff6ef6.webp",979,{"code":4,"msg":81,"data":119},[120,124,128,132,136,139,144,149,154,157,161],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":122,"slug":123},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":126,"slug":127},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":130,"slug":131},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":133,"show_sort_weight":134,"slug":135},"Comic",60,"comic",{"id":85,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":137,"slug":138},50,"technology",{"id":140,"doc_module":4,"doc_module_name":25,"category_name":141,"show_sort_weight":142,"slug":143},7,"Healthcare",40,"healthcare",{"id":145,"doc_module":4,"doc_module_name":25,"category_name":146,"show_sort_weight":147,"slug":148},8,"Research & Report",30,"research-report",{"id":150,"doc_module":4,"doc_module_name":25,"category_name":151,"show_sort_weight":152,"slug":153},9,"Religion & Spirituality",20,"religion-spirituality",{"id":152,"doc_module":4,"doc_module_name":25,"category_name":155,"show_sort_weight":152,"slug":156},"World Cup","world-cup",{"id":158,"doc_module":4,"doc_module_name":25,"category_name":159,"show_sort_weight":158,"slug":160},10,"Lifestyle","lifestyle",{"id":162,"doc_module":4,"doc_module_name":25,"category_name":163,"show_sort_weight":97,"slug":164},19,"General","general",{"list":166,"token":11},[167,173,179,185,191,197,203,210,216,222],{"doc_id":168,"doc_title":169,"file_type":89,"home_preview_img_url":170,"slug":171,"view_count":30,"category_name":29,"create_tm":172},699578,"New Computer Fan Data-Science Set-up - Python (Anaconda), R (Rstudio), Matlab and Latex (Texlive)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011320290/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=n5Ok%2BilkKAEpwhO7bVNkPflRkcc%3D","new-computer-fan-data-science-set-up-python-anaconda-r-rstudio-matlab-and-latex-texlive",1794479724,{"doc_id":174,"doc_title":175,"file_type":89,"home_preview_img_url":176,"slug":177,"view_count":85,"category_name":29,"create_tm":178},682643,"Treading on Python Series Illustrated Guide to Python 3 - A Complete Walkthrough of Beginning Python with Unique Illustrations Showing how Python Really Works","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999674940/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=kdFXOTJLfVegsVZMaOGIBt18uaY%3D","treading-on-python-series-illustrated-guide-to-python-3-a-complete-walkthrough-of-beginning-python-with-unique-illustrations-showing-how-python-really-works",1793977303,{"doc_id":180,"doc_title":181,"file_type":89,"home_preview_img_url":182,"slug":183,"view_count":97,"category_name":29,"create_tm":184},657581,"Material for MkDocs - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975586677/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=D7PMy%2FecG9YQdTBSVwDJSQG%2B%2F8M%3D","material-for-mkdocs-getting-started",1792983754,{"doc_id":186,"doc_title":187,"file_type":89,"home_preview_img_url":188,"slug":189,"view_count":145,"category_name":29,"create_tm":190},655686,"Component Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287783/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=RmnRhWiv0%2Bcf1Uoej25%2BuA0T4oM%3D","component-diagrams",1792963286,{"doc_id":192,"doc_title":193,"file_type":89,"home_preview_img_url":194,"slug":195,"view_count":30,"category_name":29,"create_tm":196},697909,"Programming Languages - Principles and Practice - Third Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010130355/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=OOWk2DYoRvdmJom9h0hpErplSxI%3D","programming-languages-principles-and-practice-third-edition",1794445799,{"doc_id":198,"doc_title":199,"file_type":89,"home_preview_img_url":200,"slug":201,"view_count":145,"category_name":29,"create_tm":202},655687,"Component Diagram in UML 2.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287788/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=O1f9VuniY9JeSf3pi4fNdWCMmX4%3D","component-diagram-in-uml-20",1792963289,{"doc_id":204,"doc_title":205,"file_type":89,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":29,"create_tm":209},657267,"Microsoft Project Tutorial (II) - Critical Path - Learn critical tasks and slack","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975401253/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=5YBxeKfMrcdY8PMIXEIxr7iQys4%3D","microsoft-project-tutorial-ii-critical-path-learn-critical-tasks-and-slack",16,1792976478,{"doc_id":211,"doc_title":212,"file_type":89,"home_preview_img_url":213,"slug":214,"view_count":30,"category_name":29,"create_tm":215},681164,"SWT2_03_Ruby on Rails - Introduction to Ruby on Rails","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229997883762/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=v9m48Jw%2FPDzEVfek5YMqgC41DM8%3D","swt2_03_ruby-on-rails-introduction-to-ruby-on-rails",1793940553,{"doc_id":217,"doc_title":218,"file_type":89,"home_preview_img_url":219,"slug":220,"view_count":150,"category_name":29,"create_tm":221},697948,"Data Structures Using Python - R20A0503 - Lecture Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010141008/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=OdcJZ1sJTC9S3xFEewFSJcDGh6A%3D","data-structures-using-python-r20a0503-lecture-notes",1794446274,{"doc_id":223,"doc_title":224,"file_type":89,"home_preview_img_url":225,"slug":226,"view_count":97,"category_name":29,"create_tm":227},657602,"Sterrenstelsels Computer Project - Colour-magnitude diagrams and star formation histories","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975610870/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=k6Uh4OMB%2FeuflL3HIs8OD%2BzFfKU%3D","sterrenstelsels-computer-project-colour-magnitude-diagrams-and-star-formation-histories",1792984593]