File size: 510 Bytes
f115bda
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22c5782
f115bda
22c5782
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import zipfile
import os
import subprocess

def unzip_file(zip_filepath, dest_dir):
    with zipfile.ZipFile(zip_filepath, 'r') as zip_ref:
        zip_ref.extractall(dest_dir)

def run_fetch():
    subprocess.run(['python', 'fetch.py'])

if __name__ == '__main__':
    run_fetch()
    print('code fetched')
    unzip_file('code.zip', '.')  # The '.' specifies the current directory
    unzip_file('code2.zip', '.')
    print('code unzipped')
    subprocess.run(['python', 'tashkeel_app_dec2024_text_only.py'])