Advantages and Disadvantages of Tkinter and wxpython HelloWorld by mayuri takle - March 4, 2019June 20, 20240 #Tkinter: Pros: part of python, nothing extra to download. Very simple syntax. The text widget is remarkably powerful and very easy to work with. The canvas widget is also very easy and powerful. No other toolkit provides the same mix of ease and power than those two widgets in my experience. Uses native widgets on the mac and windows. Tk is rock solid with few cross-platform idiosyncrasies. I think Tkinter's binding mechanism is far superior to wxPython's; it's more flexible and consistent. I think Tkinter's three geometry managers - pack, place and grid - are much more powerful and easy to use than the wxPython sizers. Mature, stable. Widely ported. Simple API is easy to learn. Cons: Sometimes hard to debug in that Tkinter
Python’s role in developing real time embedded systems HelloWorld by mayuri takle - February 27, 2019February 27, 20190 Python isn't only the most-popular language for introductory CS programs, it's also the fastest-growing language for embedded computing. Maybe that sounds silly when you scan the numbers again and realize it's the fastest-growing language of the remaining 5% of embedded systems code that aren't C/C+ +, but Python will start eating into C/C++'s monopoly even more over the next few years. Python might be at its strongest when used as a communication middleman between the user and the embedded system they're working with. Sending messages through Python to or from an embedded system allows the user to automate testing. Python scripts can put the system into different states, set configurations, and test all sorts of real-world use cases.
Python Socket Programming – Server, Client Example HelloWorld by mayuri takle - February 26, 2019April 11, 20190 Socket is the endpoint of a bidirectional communications channel between server and client. Sockets may communicate within a process, between processes on the same machine, or between processes on different machines. For any communication with a remote program, we have to connect through a socket port. steps: Python socket server program executes at first and wait for any requestPython socket client program will initiate the conversation at first.Then server program will response accordingly to client requests.Client program will terminate if user enters “bye” message. Server program will also terminate when client program terminates, this is optional and we can keep server program running indefinitely or terminate with some specific command in client request. We can obtain host address by using socket.gethostname() function. It