diff --git a/pywhatkit/__init__.py b/pywhatkit/__init__.py index b818ff4..3755618 100755 --- a/pywhatkit/__init__.py +++ b/pywhatkit/__init__.py @@ -10,22 +10,22 @@ from platform import system from pywhatkit.ascii_art import image_to_ascii_art +from pywhatkit.core.log import set_log_path from pywhatkit.handwriting import text_to_handwriting from pywhatkit.mail import send_hmail, send_mail from pywhatkit.misc import info, playonyt, search, show_history +from pywhatkit.playonyt_stream import playonyt_stream from pywhatkit.sc import cancel_shutdown, shutdown -from pywhatkit.core.log import set_log_path from pywhatkit.whats import ( open_web, + sendimg_or_video_immediately, + sendwhatdoc_immediately, sendwhatmsg, sendwhatmsg_instantly, sendwhatmsg_to_group, sendwhatmsg_to_group_instantly, sendwhats_image, - sendwhatdoc_immediately, - sendimg_or_video_immediately, ) -from pywhatkit.playonyt_stream import playonyt_stream _system = system().lower() if _system in ("darwin", "windows"): diff --git a/pywhatkit/whats.py b/pywhatkit/whats.py index 96a4d7c..d5ffda9 100755 --- a/pywhatkit/whats.py +++ b/pywhatkit/whats.py @@ -1,19 +1,21 @@ # Vidit -import subprocess -import win32gui import os +import subprocess import time import webbrowser as web from datetime import datetime from re import fullmatch +from typing import * from typing import List from urllib.parse import quote + +import keyboard import paperclip import pyautogui as pg import pyperclip -import keyboard +import win32gui + from pywhatkit.core import core, exceptions, log -from typing import * pg.FAILSAFE = False