An API for Cleverbot in Python
Project description
Cleverbot.py - an API for Cleverbot in Python
=============================================
Comments/pull requests/feedback welcome!
Usage
-----
Taken from cleverbot/cleverbot.py:150-161
```
>>> if __name__ == "__main__":
cb1 = Cleverbot()
cb2 = Cleverbot()
resp1 = cb1.ask("Hello.")
print "Bob:", "Hello"
while True:
print "Alice:", resp1
resp2 = cb2.ask(resp1)
print "Bob:", resp2
resp1 = cb1.ask(resp2)
```
=============================================
Comments/pull requests/feedback welcome!
Usage
-----
Taken from cleverbot/cleverbot.py:150-161
```
>>> if __name__ == "__main__":
cb1 = Cleverbot()
cb2 = Cleverbot()
resp1 = cb1.ask("Hello.")
print "Bob:", "Hello"
while True:
print "Alice:", resp1
resp2 = cb2.ask(resp1)
print "Bob:", resp2
resp1 = cb1.ask(resp2)
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cleverbot2-0.0.4.tar.gz
(2.9 kB
view details)
File details
Details for the file cleverbot2-0.0.4.tar.gz
.
File metadata
- Download URL: cleverbot2-0.0.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351ab3377b71bb4d5e642649686e2eb34057a6d86b5a71ca6a8e3bc296851726 |
|
MD5 | 8e9668e662db9ee5e4ef622389113f12 |
|
BLAKE2b-256 | f8b08643f638fe172aed22964a94859ac8edad34ce43c4845433b4aa08881eeb |