Git Product home page Git Product logo

Comments (6)

PaarthBatra avatar PaarthBatra commented on May 23, 2024

I have more questions ? is this correct way to ask you questions of do you want me to ask questions somewhere else on email maybe ?

from chatterbot.

gunthercox avatar gunthercox commented on May 23, 2024

There is two ways to end the chat with the bot, you can either terminate the program using crtl c or you can type exit() to end the terminal session.

Also, this is the correct place to ask questions. It helps because anyone who has the same questions might be able to find an answer in one of these. It is also helpful because it allows me to keep track of issues and make improvements to the software.

from chatterbot.

PaarthBatra avatar PaarthBatra commented on May 23, 2024

crtl c wont work as i am using pycharm IDE on pycharm crtl F2 is the command to terminate the program .

I noticed whenever we terminate the program it gives this error before being terminated

Traceback (most recent call last):
File "", line 1, in
File "C:\Python2.7.5\lib\site-packages\chatterbot__init
_.py", line 103, in b
egin
user_input = str(raw_input())
EOFError
_

I tried crtl c to terminate the program in python interpreter in my windows installation and got same error . Looks like a bug .

exit() works great 👍

ok i will ask my questions here . Thanks

from chatterbot.

kevin-brown avatar kevin-brown commented on May 23, 2024

I noticed whenever we terminate the program it gives this error before being terminated

This is because raw_input is very likely pulling from an input stream, and because the input stream is suddenly empty, it hits an EOF (end of file/stream). It should probably be handled anyway.

There is two ways to end the chat with the bot, you can either terminate the program using crtl c or you can type exit() to end the terminal session.

You should actually use CTRL + d to exit out of the Python interpreter, as CTRL + C will raise a KeyboardInterrupt which usually ends the program (because it is not handled). CTRL + D will send the exit signal, the same as executing exit().

from chatterbot.

PaarthBatra avatar PaarthBatra commented on May 23, 2024

CTRL + D does nothing .

from chatterbot.

lock avatar lock commented on May 23, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from chatterbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.