I am trying to run my program by clicking the .py file. I am able to do that in the simple program but not the one I am working on. In my program, I have many imports statements, is it because of that? when I click on the main.py file, the cmd black screen appears for a few seconds and closes itself.
My program uses the following libs
import time
import mysql.connector
from configparser import ConfigParser
from mysql.connector import Error
import os
import os.path as path
import datetime
import pandas as pd
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from selenium.common.exceptions import TimeoutException
from selenium.common.exceptions import TimeoutException