-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGroupMe_Chat_Data_Analysis.bat
28 lines (23 loc) · 1.08 KB
/
GroupMe_Chat_Data_Analysis.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
:: Batch script to run fetch and analyze scripts
@echo off
echo ==============================================================================
echo Activating python virtual environment...
echo ==============================================================================
:: Must use python 2
python -m pip install virtualenv
virtualenv -p python venv
call venv/Scripts/activate.bat
python -m pip install -r requirements.txt
echo ==============================================================================
echo Run fetch script...
echo ==============================================================================
python fetch.py
echo ==============================================================================
echo Run analyze script...
echo ==============================================================================
python analyze.py
echo ==============================================================================
echo Deactivating python virtual environment...
echo ==============================================================================
call venv/Scripts/deactivate.bat
cmd