This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! python 3 | |
import re | |
import pyperclip | |
# Create regex for phone numbers | |
phone_num_regex = re.compile(r''' | |
# 415-555-0000, 555-0000, (415) 555-0000, 555-0000 ext 12345, ext. 12345, x12345 | |
( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
from pip._vendor.colorama import Fore, Style, init | |
import subprocess | |
import time | |
init() | |
src_dir = os.getcwd() | |
servicesList = ['2018Server', 'TTC_AppService', 'TTC_ClockHost', 'TTDBSyncServer', 'TTNotify'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
from pip._vendor.colorama import Fore, Style, init | |
import subprocess | |
import time | |
init() | |
src_dir = os.getcwd() | |
# Windows Service Stopper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Importing the modules | |
import os | |
import shutil | |
from pip._vendor.colorama import Fore, Style, init | |
import subprocess | |
import time | |
init() | |
# Services Shutdown |