How abedmallahsc-ui/project-python works
This small Python repository contains two independent chat experiences: a Tkinter window that echoes a fixed acknowledgement, and a terminal bot that selects canned replies by keyword. The GUI does not call the bot module, so they are shown as separate workflows. The README is empty; relationships below are supported by the sampled source excerpts.
Main entry points: app.py Chat window · ai_bot.py Terminal chat loop
Components 6
Desktop chat
- Chat window
app.py - Send handler
app.py - Chat transcript
app.py
Offline bot
- Terminal chat loop
ai_bot.py - Keyword replies
ai_bot.py
Other components
- User
Connections 5
- User → Chat window: enters messages
app.py - Chat window → Send handler: registers callback
app.py - Send handler → Chat transcript: writes messages
app.py - User → Terminal chat loop: enters messages
ai_bot.py - Terminal chat loop → Keyword replies: gets reply
ai_bot.py