- #ACCOUNTING SOFTWARE SOURCE CODE IN VB6 FREE HOW TO#
- #ACCOUNTING SOFTWARE SOURCE CODE IN VB6 FREE MAC#
Here I have called the Method (function ) process, so after pressing the button program goes and knocks the door of the function process in simpler terms.Īnd get here means get the value the user has entered. Lets see.ī=Button(top, text ="Submit",command= processing).grid(row=5,column=1) We need to give to give the command to the button to call a method that is what is designed. just after entering 2 numbers and specifying the operation in between them, the answer has to be printed or displayed in the answer entry. L4 = Label(top, text="Operator",).grid(row=3,column=0) Top = Tkinter.Tk() L1 = Label(top, text="My calculator",).grid(row=0,column=1) Don't panic by the length of the code.! haha Thus simple copy paste of every label, entry and button we created of the previous step.
Here I am going to use only one button and 4-row entry for easy understanding. There can be n number of ways of creating the code, here I only illustrate the code which is easier for meīefore going to the code we can create a GUI for our calculator application. Now we have seen a simple GUI with the buttons, So why to wait, lets start building a simple calculator with buttons. finally main loop keeps everything visible until you close the GUI Pack is key to package everything it the layout. Label is the method(function as in other languages) to print a text in,īutton is to create button, As simple as that. Tkinter module we are saving initializing to top, The simple thing in python is that you can import other python files to your, same way you need to import the Tkinter python, as similar to #include in C. Here in this Instructables, I am going to use the Tkinter.
#ACCOUNTING SOFTWARE SOURCE CODE IN VB6 FREE MAC#
Also, you may also try PyQT, Kivy(best for cross-platform ie same code in python can be used to create apk, exe or MAC software) Tkinter is the built-in GUI for the python, It comes installed with your python software. There are many modules in the python which you can import and code your GUI. But to make your code interacting with the user you need an Interface to communicate.Ĭreating GUI with python is very easy.
That is you might have run the program on the command line and got the output in the same. Nothing but a Graphical User Interface for all your codes. you may refer youtube or udemy to learn Python course.įirst, we need to begin a GUI.
#ACCOUNTING SOFTWARE SOURCE CODE IN VB6 FREE HOW TO#
Here in this instructable I am only going to share how to make a simple GUI with python also how to make it into a Software with "exe" and not much with python coding. OK without wasting much time we can move on to the subject. If you are a beginner at programming, start with python makes a fast curve to learn and as the output is very fast you get very excited to learn. Moreover as a Electrical at first I was afraid of Coding. Even me at the beginning had a no Idea of python. With simple interest to make things you can move on to start your program. LOL Nothing like that, "There is nothing difficult in this world if you try" Prerequisite: Should have basic knowledge of Python. but do know to implement or interested in creating new things then it is for you. Here I am going to tell how to make your own software.