Example : How do I upgrade the installed Python version in PyCharm IDE?
Step1: Download the upgraded version of Python from their original site.
Step2: Install the downloaded upgrade version successfully without removing previous version.

-------------  OR  --------------

Step1: Open PyCharm now.
Step2: File menu - Settings option - choose 'Project: pythonProject' from left pane window - click 'Python Interpreter' - choose the upgraded version of python from the 'Python Interpreter dropdown list' in the right pane window - ok.
Example : Full Software Requirements to develop/build a Web-based Management Application in Python using PyCharm IDE 2023.1.3?
(i) Backend Language Tools : Python 
(ii) Framework Tools : Django or Flask 
(iii) IDE Tools : PyCharm
(iv) Frontend Software Tools : HTML, CSS, JavaScript (Bootstrap/Tailwind for styling, React, or Vue.js)
(v) Backend Database Tools : PostgreSQL, MySQL, or SQLite
(vi) REST API Tools : Django Rest Framework or Flask-RESTful
(vii) Authentication Tools : Django Authentication, Flask-Login, OAuth, 
(viii) Security & Optimisation Tools : use JWT authentication for API security, to encrypt passwords using Django’s authentication system,	use caching (Redis, Memcached) for faster performance, Deploy with Nginx/Gunicorn for production
(ix) Deployment Tools : Deploy on Docker(for containerization), AWS, Heroku, DigitalOcean, Use CI/CD (GitHub Actions, Jenkins) for automation.
(x) Background Tasks Tools : Celery (e.g., sending emails, notifications)
Example : A typical Project Structure (such as School Management System [school_mgmt]) using Django and Python.
school_mgmt/
│── school/            # Main Django app
│   ├── models.py      # Database models
│   ├── views.py       # Business logic/Interface design
│   ├── urls.py        # URL Routing
│   ├── templates/     # HTML page creation/templates
│── static/            # CSS, JS, images, audios, videos files
│── db.sqlite3         # Database file (or use PostgreSQL)
│── manage.py          # Django management script
│── requirements.txt   # Project dependencies
Example : How do you prepare Development Setup, for Web Applications in Python using the PyCharm IDE 2023.1.3 and Django?
Step1 : Download and Install Python and set up a virtual environment first.
Step2 : Download and Install Pycharm IDE for easy working.
Step3 : Install Django/Flask using Pycharm Terminal by opening it (As Tab, at the bottom of PyCharm window) or using MS-DOS command prompt(Win key + r - type 'cmd' - choose 'Admin mode' then):-

(i) Type 'pip install django' (press enter) at Pycharm terminal/DOS command prompt.
  
(ii) Type 'pip install flask' (press enter) at Pycharm terminal/DOS command prompt.
Example: How do you prepare a Development Setup for a Web Application, Data Science, or machine Learning in Python using the PyCharm IDE 2023.1.3 and Streamlit?
Step1 : Download and Install Python and set up a virtual environment first.
Step2 : Download and Install Pycharm IDE for easy working.
Step3 : Install Streamlit using Pycharm Terminal by opening it (As Tab, at the bottom of PyCharm window) or using MS-DOS command prompt(Win key + r - type 'cmd' - choose 'Admin mode' then):-

(i) Type 'pip install streamlit' (press enter) at Pycharm terminal/DOS command prompt.
Example : How do you check/confirm the Python/other requirements installation successfully?
(i) To check 'Python' installation  - type ‘python --version’ at command prompt/PyCharm terminal.(if version no. appears, means successfully installed)

(ii) To check 'Django' installation - Type ‘django-admin --version’ at Command Prompt/PyCharm terminal.(if version no. appears, means successfully installed)

(iii) To install/uninstall streamlit - Type 'pip install streamlit'/ 'pip uninstall streamlit' at command prompt/terminal.

(iv) To check 'Streamlit' installation - Type 'pip show streamlit'  at Command Prompt/PyCharm terminal.(if version no. appears, means successfully installed)

(v) To Upgrade Streamlit version - Type 'pip install --upgrade streamlit' at Command Prompt/PyCharm terminal.(if new version no. appears, means successfully upgraded)

(vi) To Run Streamlit in PyCharm – Type 'streamlit run filename.py' or with Python 'python -m streamlit run filename.py' at Command Prompt/PyCharm terminal (press enter).

(vii) To Run Streamlit in PyCharm/Command Prompt on another Port (default 8501) - 'streamlit run main.py --server.port 8502' (press enter)

(viii) To Clear Streamlit Cache - 'streamlit cache clear' (press enter)

(ix) To Update Streamlit - 'pip install --upgrade streamlit' (press enter)

(x) To Forcibly Stop Streamlit Server - Press 'Ctrl+C' in the terminal.
Example : How do you change the font and font size of the PyCharm IDE 2023.1.3?
Open PyCharm menu - File menu – settings – editor – font – set the font name and size – ok.
Example : How do you change the PyCharm IDE 2023.1.3 Theme/color?
(i) Open PyCharm menu - File menu – settings – appearance & behaviour -  appearance – choose the theme. – ok.
(ii) Open PyCharm menu - File menu - settings – editor – color schemes – choose the ‘scheme’ – ok.

Loading


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.