fixed imports
This commit is contained in:
parent
c11968cd91
commit
44a2ddf936
@ -1,25 +1,14 @@
|
|||||||
import configparser
|
import configparser
|
||||||
import os
|
import os
|
||||||
import speech_recognition as sr
|
|
||||||
|
|
||||||
|
import speech_recognition as sr
|
||||||
from pygame import mixer
|
from pygame import mixer
|
||||||
|
|
||||||
from actions import search_engine_selector, speak, wishMe
|
from actions import search_engine_selector, speak, wishMe
|
||||||
|
from commands import (command_bye, command_hello, command_mail,
|
||||||
from commands import (
|
command_nothing, command_open, command_pauseMusic,
|
||||||
command_bye,
|
command_playMusic, command_search, command_stopMusic,
|
||||||
command_hello,
|
command_unpauseMusic, command_whatsup, command_wikipedia)
|
||||||
command_mail,
|
|
||||||
command_nothing,
|
|
||||||
command_pauseMusic,
|
|
||||||
command_playMusic,
|
|
||||||
command_stopMusic,
|
|
||||||
command_unpauseMusic,
|
|
||||||
command_whatsup,
|
|
||||||
command_wikipedia,
|
|
||||||
command_open,
|
|
||||||
command_search
|
|
||||||
)
|
|
||||||
|
|
||||||
mixer.init()
|
mixer.init()
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
import webbrowser
|
|
||||||
import requests
|
|
||||||
import datetime
|
import datetime
|
||||||
|
import webbrowser
|
||||||
|
|
||||||
import pyttsx3
|
import pyttsx3
|
||||||
|
import requests
|
||||||
|
|
||||||
engine = pyttsx3.init("sapi5")
|
engine = pyttsx3.init("sapi5")
|
||||||
voices = engine.getProperty("voices")
|
voices = engine.getProperty("voices")
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
import wikipedia
|
import configparser
|
||||||
|
import random
|
||||||
import smtplib
|
import smtplib
|
||||||
import sys
|
import sys
|
||||||
import random
|
|
||||||
import configparser
|
|
||||||
|
|
||||||
|
import wikipedia
|
||||||
from pygame import mixer
|
from pygame import mixer
|
||||||
|
|
||||||
from actions import open_url, search, speak
|
from actions import open_url, search, speak
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user