Browsing this Thread:
1 Anonymous Users
Is anyone familiar with Python? |
||
---|---|---|
Jedi Sentinel
![]() ![]() Joined:
2006/6/2 21:30 From Parachute, Colorado
Group:
Knight Apprentice Masters Registered Users Jedi Sentinel Webmasters Posts:
4657
![]() |
So I am writing a simple virtual assistant (J.A.R.V.I.S. like) and I am getting a syntax error but I cannot seem to find the errors origin, everything has been done to exact models as shown in a youtube video on the subject.
I do know that PyCharm is not installing pyaudio into the main setup for the program and I think that maybe the issue. So anyone familiar with these programs, if you can help me resolve this issue I would be glad to share the coding and any other things as payment for your help. I am using Python 3.7.0 Windows Vista os on a 32bit system Here is the part of the code that I am getting the error on. while true: voice_note: = read_voice_cmd() print('cmd :()'.format(voice_note)) if 'hello' in voice_note: speak_text_cmd('Hello Sir. How can I help you?') The syntaxerror is highlighted on the "()" at the end of the read_voice_cmd line which in my full coding is line 71 of 97 Can anyone help with this? Thank you *bows*
Posted on: 2018/9/28 0:19
|
|
_________________
![]() http://www.templeofthejediforce.org/m ... page/index.php?page_id=11 Apprentices Asandi Link |
||
![]() |
Re: Is anyone familiar with Python? |
||
---|---|---|
Master
![]() ![]() Joined:
2010/8/9 7:47 From Portland Oregon
Group:
Knight Apprentice Registered Users Masters Jedi Sentinel Message Board Moderator Webmasters Posts:
2883
![]() |
I'm rusty, but somewhat familiar with python. Email me the code,and I'll be glad to take a look to see if I can figure it out.
Lordacevenom@gmail.com
Posted on: 2018/10/2 1:56
|
|
_________________
About me:Click here |
||
![]() |
Re: Is anyone familiar with Python? |
||
---|---|---|
Jedi Sentinel
![]() ![]() Joined:
2006/6/2 21:30 From Parachute, Colorado
Group:
Knight Apprentice Masters Registered Users Jedi Sentinel Webmasters Posts:
4657
![]() |
Posted on: 2018/10/5 18:39
|
|
_________________
![]() http://www.templeofthejediforce.org/m ... page/index.php?page_id=11 Apprentices Asandi Link |
||
![]() |
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.