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.
Socket programming in Python HelloWorld by nikita - February 26, 2019February 26, 20190 Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while other socket reaches out to the other to form a connection. Server forms the listener socket while client reaches out to the server. Server Socket Methods 1 s.bind() This method binds address (host name, port number pair) to socket. 2 s.listen() This method sets up and start TCP listener. 3 s.accept() This passively accept TCP client connection, waiting until connection arrives . Client Socket Methods s.connect() This method actively initiates TCP server connection. General Socket Methods 1 s.recv() This method receives TCP message 2 s.send() This method transmits TCP message 3 s.recvfrom() This method receives UDP message 4 s.sendto() This
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
Android Architecture HelloWorld by Manasi Dharne - February 26, 2019February 26, 20190 Android architecture is the structure of how android actually works in low level. There are several layers that shows how processes works on Android. Android architecture includes Android Run-time Applications, Native C and C++ libraries that were used to build Android. Some other frameworks on the Top of Linux kernel which connects hardware to the software. Architecture Linux kernel At the bottom of the layers is Linux.This provides a level of abstraction between the device hardware and it contains all the essential hardware drivers like camera, keypad, display etc. Also, the kernel handles all the things that Linux is really good at such as networking and a vast array of device drivers. For example, the Android Run-time (ART) relies on the Linux
Working With Android Studio HelloWorld by Manasi Dharne - February 25, 2019February 25, 20190 Android Studio is the official integrated development environment (IDE) for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development.It is available for download on Windows, macOS and Linux based operating systems. Android Studio Android App Module It Provides a container for your app's source code, resource files, and app level settings such as the module-level build file and Android Manifest file. When you create a new project, the default module name is "app".In the Create New Module window, Android Studio offers the following types of app modules: Phone & Tablet ModuleWear OS ModuleAndroid TV ModuleGlass Module AppModule Project Files: Within each Android app module, files are shown in the following groups: manifests:Contains the AndroidManifest.xml file.java:Contains the Java source code files, separated by package names, including JUnit
Python for Beginners HelloWorld by neudeep - February 25, 2019February 25, 20190 Python is a programming language.Python can be used on a server to create web applications. "Hello, World!" Program: print("Hello, World!"); output:Hello world In this program, we have used the built-in print() function to print Hello, world! string. Variables and Literals: Unlike other programming languages, Python has no command for declaring a variable. A variable is created the moment you first assign a value to it. a = 5 print("a =", 5) output:a = 5 Operators: Operators are used to perform operations on variables and values. Python divides the operators in the following groups: Arithmetic operatorsAssignment operatorsComparison operatorsLogical operatorsIdentity operatorsMembership operatorsBitwise operators x = 20 y = 30 print('addition=', x+y) Output: addition= 18 in above program instead of + operator we also use *,,/,% etc. Get Input from User: In Python, you can use input() function to take input
App Components HelloWorld by Manasi Dharne - February 25, 2019February 25, 20190 App components are an entry point through which the system or a user can enter into your app. Components There are four different types of app components: ActivitiesServicesBroadcast receiversContent providers 1.Activities Android Activity is Front end view of an app.It represents a single screen with a user interface. For example, an whatsapp app might have one activity that shows a list of all contacts, another activity to show all chats, and another activity to update status. Although the activities work together to form a cohesive user experience in the whatsapp app, each one is independent of the others. Intent: An Intent is a simple message object that is used to communicate between android components such as activities, content providers, broadcast receivers and services. Intents are also
Elevator HelloWorld by snehal - February 7, 2019February 11, 20190 An elevator is a platform that is used for lifting people up and down in the buildings. Elevators are part of almost all commercial and residential buildings.It is a vertical transport vehicle that efficiently moves people or goods between floor of a building. Elevators are generally power by electric motors that drive traction cables and counter weight with the help of motors.The overall control is done by control system. Key parts of elevator are: .One or more cars(metal boxes) that raise up and down. .Counter weight that balance the car. .An electric motor that hoist the car up and down,including a braking system. .A system of strong metal cable and pulley running between the car and the motor.
Elevators HelloWorld by neudeep - February 7, 2019February 12, 20191 From several 100 years back , elevators were created that are for water driven mechanism.In 18's new invented elevators were created that for lifting high weight materials. Depending upon applications now modifications are happening in elevators. Elevators are convenient way for vertical Transportation in safer mode.Also it saves time and energy efficiently. It has capacity to bare high weight materials.shortly it acts as carrier for transportation. In world-wide there are several manufactures for elevators.Depending upon applications they are manipulating features included it. Top manufacturers of Elevators from Pune 1.Orbitech Elevators.2.Tower Elevators.3.Force Technologies.4.Avicon Elevators pvt ltd.5.Idea elevators company.6.Escon elevators.7.OTIS Elevators co ltd.8.Escon Elevators. Types of Elevator Roped hydraulic elevator.Prematic vaccum elevator.Counterweight chain drive elevator.Traction drive elevator. Working of elevator Basic structure of elevator 1)Counterweight: By exerting opposite force it provides balance