Python Forum
Virtual Assistant code is looping back in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Virtual Assistant code is looping back in python
#2
I would try taking the speak(what can I help you with?) out of your take_command function and move it right after the while loop using your speak() and put your take command function right after it
Reply


Messages In This Thread
RE: Virtual Assistant code is looping back in python - by Nickd12 - Oct-13-2020, 08:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best practice on using virtual environments in Python bytecrunch 6 1,197 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Virtual Env changing mysql connection string in python Fredesetes 0 453 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Installing python packages in a virtual environment Led_Zeppelin 1 885 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Can anyone tell me why this code isn't looping properly? SuchUmami 2 1,042 Jun-17-2023, 11:37 AM
Last Post: SuchUmami
Question Virtual Environment (using VS Code) Ashcora 4 17,003 Feb-15-2023, 07:17 PM
Last Post: snippsat
  Virtual Environments - Organization (VS Code) JaysonWonder 11 2,063 Jan-26-2023, 11:34 PM
Last Post: Larz60+
  Code won't break While loop or go back to the input? MrKnd94 2 1,092 Oct-26-2022, 10:10 AM
Last Post: Larz60+
  front-end js and back-end python 3lnyn0 0 1,060 Jun-03-2022, 08:51 PM
Last Post: 3lnyn0
  How do I link the virtual environment of that project to the 3.9.2 version of python? Bryant11 1 1,457 Feb-26-2022, 11:15 AM
Last Post: Larz60+
  "while" loop is looping back too early mangurian 1 1,366 Jan-28-2022, 09:15 AM
Last Post: ibreeden

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020