Popular recipes tagged "chat"http://code.activestate.com/recipes/tags/chat/2017-02-23T22:47:16-08:00ActiveState Code Recipeschatbox megawidget for tkinter (Python) 2017-02-23T22:47:16-08:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580757-chatbox-megawidget-for-tkinter/ <p style="color: grey"> Python recipe 580757 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/chat/">chat</a>, <a href="/recipes/tags/chatbox/">chatbox</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 3. </p> <p>Chatbox megawidget.</p> <p>Arguments:</p> <ul> <li><p>my_nick</p> <p>Nick of user chatting</p></li> <li><p>command</p> <p>Callback to call when a message is sent</p></li> <li><p>logging_file</p> <p>File to log all the messages</p></li> <li><p>topic</p> <p>Topic for the chatbox</p></li> <li><p>maximum_lines</p> <p>Max lines to show</p></li> <li><p>entry_controls</p> <p>Builder of controls for the entry (optional)</p></li> <li><p>tags</p> <p>List of tag configurations for the Text widget</p></li> </ul> <p>Styling arguments:</p> <ul> <li><p>timestamp_template</p></li> <li><p>scrollbar_background</p></li> <li><p>scrollbar_troughcolor</p></li> <li><p>history_background</p></li> <li><p>history_font</p></li> <li><p>history_padx</p></li> <li><p>history_pady</p></li> <li><p>history_width</p></li> <li><p>entry_font</p></li> <li><p>entry_background</p></li> <li><p>entry_foreground</p></li> <li><p>label_template</p></li> <li><p>label_font</p></li> </ul> Send messages between computers (Python) 2014-01-01T22:11:30-08:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/578802-send-messages-between-computers/ <p style="color: grey"> Python recipe 578802 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/chat/">chat</a>, <a href="/recipes/tags/port/">port</a>, <a href="/recipes/tags/socket/">socket</a>). </p> <p>Simple scripts to chat between computers in the same network.</p> <p>Both computers must be running both of these scripts and target ip addresses must be set correctly.</p> <p>(IP address of a computer can be found using ipconfig command.)</p> Primitive Peer to Peer Chat (Python) 2013-07-07T02:09:57-07:00teddy_khttp://code.activestate.com/recipes/users/4187115/http://code.activestate.com/recipes/578591-primitive-peer-to-peer-chat/ <p style="color: grey"> Python recipe 578591 by <a href="/recipes/users/4187115/">teddy_k</a> (<a href="/recipes/tags/chat/">chat</a>, <a href="/recipes/tags/peer/">peer</a>, <a href="/recipes/tags/select/">select</a>, <a href="/recipes/tags/socket/">socket</a>, <a href="/recipes/tags/threading/">threading</a>). </p> <p>This took me longer than it should have. I am putting it here in the hopes that this post will spare others from having to Google things for extended periods of time.</p> <p>In short, you either listen for a connection (Chat_Server), or connect to a remote IP address (Chat_Client). From there, you can send text strings back and forth. </p> <p>This is a bit rough-hewn, obviously; I apologize in advance.</p> Skype chat to speech (Python) 2009-01-25T13:47:33-08:00nigel spinneyhttp://code.activestate.com/recipes/users/4113342/http://code.activestate.com/recipes/576626-skype-chat-to-speech/ <p style="color: grey"> Python recipe 576626 by <a href="/recipes/users/4113342/">nigel spinney</a> (<a href="/recipes/tags/chat/">chat</a>, <a href="/recipes/tags/espeak/">espeak</a>, <a href="/recipes/tags/skype/">skype</a>, <a href="/recipes/tags/text_to_speech/">text_to_speech</a>, <a href="/recipes/tags/ubuntu/">ubuntu</a>). </p> <p>Using espeak text to speech in Ubuntu, and the skype4py module, this will read out the contents of chat messages recieved-created to help me when away from my PC so if i have my hands full with the younger members of my family I can decide how urgent the chat is without having to go near the computer.</p>