We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c08c81 commit c4a2fd0Copy full SHA for c4a2fd0
run.sh
@@ -0,0 +1,16 @@
1
+#!/bin/bash
2
+
3
+VENV_DIR="psdenv"
4
5
+# Check if the virtual environment directory exists
6
+if [ ! -d "$VENV_DIR" ]; then
7
+ # Create the virtual environment
8
+ python -m venv "$VENV_DIR"
9
+fi
10
11
+# Activate the virtual environment and run the Python script
12
+source "$VENV_DIR/bin/activate"
13
+python main.py
14
15
+# Pause for user input before closing (optional)
16
+read -p "Press Enter to continue..."
0 commit comments