Skip to content

Commit 6bb518e

Browse files
updated
1 parent 768b44a commit 6bb518e

6 files changed

Lines changed: 73 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "Python Bro Code Learning Environment",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.11",
4+
"features": {
5+
"ghcr.io/devcontainers/features/python:1": {
6+
"version": "3.11"
7+
}
8+
},
9+
"customizations": {
10+
"vscode": {
11+
"extensions": [
12+
"ms-python.python",
13+
"ms-python.vscode-pylance",
14+
"ms-toolsai.jupyter"
15+
],
16+
"settings": {
17+
"python.defaultInterpreterPath": "/usr/local/bin/python",
18+
"python.linting.enabled": true,
19+
"python.linting.pylintEnabled": true,
20+
"python.formatting.provider": "black",
21+
"editor.formatOnSave": true
22+
}
23+
}
24+
},
25+
"postCreateCommand": "pip install --upgrade pip && pip install -r requirements.txt",
26+
"remoteUser": "vscode"
27+
}

.gitpod.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
image: gitpod/workspace-python
2+
3+
tasks:
4+
- name: Setup Python Environment
5+
init: |
6+
pip install --upgrade pip
7+
pip install -r requirements.txt
8+
command: |
9+
echo "🐍 Python Bro Code Learning Environment Ready!"
10+
echo "📂 Navigate to any folder (1-print/, 8-calculator/, etc.) and run the Python files"
11+
echo "💡 Tip: Run 'python <filename>.py' to execute any program"
12+
13+
vscode:
14+
extensions:
15+
- ms-python.python
16+
- ms-python.vscode-pylance
17+
- ms-toolsai.jupyter

.replit

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language = "python3"
2+
run = "echo '🐍 Python Bro Code Learning Environment' && echo 'Navigate to any folder and run: python main.py' && python 1-print/main.py"
3+
4+
[nix]
5+
channel = "stable-22_11"
6+
7+
[deployment]
8+
run = ["python3", "1-print/main.py"]

apt.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# System dependencies for Binder
2+
python3-pyqt5

requirements.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Core Python packages for learning
2+
jupyter
3+
notebook
4+
ipython
5+
6+
# Code quality
7+
black
8+
pylint
9+
autopep8
10+
11+
# Useful libraries covered in the course
12+
PyQt5
13+
requests
14+
15+
# Optional but helpful
16+
matplotlib
17+
numpy
18+
pandas

runtime.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-3.11

0 commit comments

Comments
 (0)