-
Notifications
You must be signed in to change notification settings - Fork 0
/
python.sh
27 lines (24 loc) · 869 Bytes
/
python.sh
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
python2.7() {
sudo apt-get install python-setuptools
sudo apt-get install python-pip
sudo apt-get install python-redis
sudo pip install pyTelegramBotAPI
sudo pip install pyTelegramBotAPI —upgrade
sudo apt-get update
sudo apt-get install python2.7
sudo pip install pytelegrambotapi py==1.4.29 pytest==2.7.2 requests==2.7.0 six==1.9.0 wheel==0.24.0
}
if [ "$1" = "python2.7" ]; then
python2.7
fi
echo -e "\033[38;5;208m"
echo -e " > Developed by [Electrovirus] "
sleep 1
echo -e " _______ __ _____ "
echo -e " | ____\ \ / / |_ _|__ __ _ _ __ ___ "
echo -e " | _| \ \ / / | |/ _ \/ _ _ _ \ "
echo -e " | |___ \ V / | | __/ (_| | | | | | |"
echo -e " |_____| \_/ |_|\___|\__,_|_| |_| |_|"
echo -e " \033[0;00m"
echo -e "\e[36m"
fi