Django Project in a Docker Container

Create Django Project first: https://docs.djangoproject.com/en/5.2/intro/tutorial01 References: https://code.visualstudio.com/docs/containers/quickstart-python Views: 16

Getting started with Django

https://docs.djangoproject.com/en/5.2/intro/install django-admin startproject myproject cd myproject python manage.py runserver python manage.py startapp testapp Add this to views.py file: Views: 22

Ubuntu WSL Troubleshooting Installing Python Versions

Python Install Version: 1. Update APT and install dependencies sudo apt updatesudo apt install software-properties-common -y 2. Add the deadsnakes PPA The deadsnakes repository contains newer Python versions: sudo add-apt-repository ppa:deadsnakes/ppasudo apt update 3. Install Python 3.11 sudo apt install python3.11 You can also install Python 3.10 similarly: sudo apt install python3.10 For Virtual env:sudo ... Read More

VENV virtual environment

python -m venv venv Windows PS: .\venv\Scripts\Activate.ps1Mac OS: source venv/bin/activateLinus: https://docs.python.org/3/library/venv.html Views: 15

The Windows Subsytem for Linux (WSL)

How to install Linux on Windows with WSL https://learn.microsoft.com/en-us/windows/wsl/install Open ubuntu from start menu; cd /mnt/ to access the windows folders. Views: 14

Conda Environment

conda create -n env python=version conda activate env conda deactivate Useful tools: Starting jupyter notebook (env) file_path > jupyter notebook Views: 20

Satellite matlab – Examples

Satellite Constellation Access to Ground Station https://au.mathworks.com/help/satcom/ug/satellite-constellation-access-to-groundstation.html This is summary note from above link reference: https://au.mathworks.com/help/satcom/ug/satellite-constellation-access-to-groundstation.html [Images are generated locally in Matlab] Objective:The scenario analyzes when a constellation of 40 low-Earth orbit satellites can photograph a specific geographical site located at 42.3001 degrees North and 71.3504 degrees West. Each satellite has an onboard conical sensor ... Read More

Using Google colab with specific python version

https://saturncloud.io/blog/how-to-change-python-version-in-google-colab/#:~:text=libraries%20or%20projects.-,Using%20a%20Custom%20Runtime,as%20the%20%E2%80%9CRuntime%20type%E2%80%9D. https://stackoverflow.com/questions/60775160/install-python-3-8-kernel-in-google-colaboratory/71511943#71511943 Views: 32
error: