This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*============================================================================= | |
| Program Name: Server-Client Chatting System on same computer(UNIX-based) | |
| | |
| Description: Server-side code | |
| | |
+----------------------------------------------------------------------------- | |
| Author: Himanshu Mishra | |
| Email : [email protected] | |
*===========================================================================*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
shows out a single button GUI in this way as a class | |
''' | |
from tkinter import * | |
from tkinter.messagebox import showinfo | |
class MyGUI(Frame): | |
def __init__(self, parent=None): | |
Frame.__init__(self, parent) | |
button = Button(self, text='press', command=self.reply) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2013 Himanshu Mishra <[email protected]> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
/** | |
TODO: | |
- ${1:Enter your todo item} | |
- ${2:Second todo item} | |
**/ |
NewerOlder