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 a75416b commit de92782Copy full SHA for de92782
run.ps1
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..."
stup.ps1
@@ -0,0 +1,6 @@
+# Create a Python virtual environment
+python -m venv psdenv
+& ".\psdenv\Scripts\Activate.ps1"
0 commit comments