Skip to content

Commit b0b0615

Browse files
Add files via upload
1 parent 067fecc commit b0b0615

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

setup.bat

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
@echo off
2+
3+
:: This is a setup script for the Python project
4+
5+
echo Setting up the Python environment...
6+
7+
:: Install dependencies
8+
if exist %SystemRoot%\System32\pip.exe (
9+
echo Installing Python dependencies...
10+
pip install -r requirements.txt
11+
) else (
12+
echo Error: pip not found. Please install Python and pip first.
13+
exit /b 1
14+
)
15+
16+
:: Run the main Python script
17+
echo Running main.py...
18+
python main.py
19+
20+
echo Setup complete! You're ready to start working on your Python project.

0 commit comments

Comments
 (0)