₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,347,105 members, 8,526,684 topics. Date: Sunday, 29 November 2026 at 06:50 AM

Toggle theme

Umaryusuf's Posts

Nairaland Forum › Umaryusuf's Profile › Umaryusuf's Posts

1 2 3 4 5 6 7 8 9 10 (of 10 pages)

Programming › Re: Learn How To Build A Desktop Software Using PYTHON – Tutorial On Nairaland by umaryusuf(op):
^^^^^ Thank u all for contributing. Any good TextEditor/IDE one is comfortable with is just fine to work this tutorial.

@NPComplete, to add to the reply given to u by basbone, the major advantage .exe file has is in terms of distribution. Any computer without python installation can run python scripts that has been compiled to .exe with lots of dependency files (such as .dll etc) based on the complexity of the app in question, so generally speaking .py is faster than .exe
Programming › Re: Learn How To Build A Desktop Software Using PYTHON – Tutorial On Nairaland by umaryusuf(op):
[size=20pt]Introduction[/size]

This tutorial will show you how to design and build a fully-functional desktop Graphical User Interface (GUI) application for maths Expression Evaluation using a combination of Python 2.x, wxPython, wxFormBuilder, Py2exe and InnoSetup Compiler. The app we will build is going to be a mini calculator that can perform valid Mathematical Expression Operations of addition, subtraction, multiplication, and division.

First of all, I will use python syntax (leveraging on the eval() python function) to make a Console/CLI (Command Line Interface) program, then convert it into a Graphical User Interface (GUI) app so that users have much more control of it.
I will use the CLI program to explain some python basic syntax for those who may be struggling with understanding of the python basics.

If you feel you need to learn/refresh your python knowledge, then I recommend reading this book “A Bytes of Python” by Swaroop C H.

By the way, some popular software vendors using what we are about to learn to power there software include;- Taskcoach.org, Bittorrent.com, Editra.org, and dropbox.com (Source: www.wikipedia.org/wiki/WxPython)

Basic requirements for this class are:-
~ Basic knowledge of Python programming – I will do my best to simplify the process of this tutorial as much as possible, so everyone will be able to follow along.
~ A Windows Operating System (OS) machine (other OS users can follow along as well) - I am using 32-bit OS computer using the Windows-7 operating system.
~ Python2 interpreter, Text editor, wxPython library, wxFormBuilder, Py2Exe, and Inno Setup Compiler – I will show you how to get and install all of these software soon.

Before we start installing and configuring the software we will be using, let me quickly explain what each of them will be used for and where to get/download them;-

Python 2.x interpreter
Python is an easy to learn, dynamic and powerful modern programming language. Two similar but incompatible versions of Python are in widespread use (Python2.x and Python3.x). Pls note that we will use Python2.x for this class, download the version for your OS below.
Download link: www.python.org/downloads/windows/

wxPython
wxPython is a free GUI toolkit which can be used to build Python GUIs. It is a wrapper for the cross-platform C++ GUI API wxWidgets. Some other GUI library/toolkits for Python include; Tkinter, PySide/PyQt, Kivy and PyGTK
Download link: www.wxpython.org/download.php

Py2exe
Py2Exe is a Python Distutils extension which converts python scripts into executable windows programs, able to run without requiring a python installation. Some other Python extension/library which converts python scripts into executable programs are; PyInstaller, Py2app, cx_Freeze, bbFreeze, and vendorID
Download link: www.py2exe.org or http://www.lfd.uci.edu/~gohlke/pythonlibs/#py2exe

wxFormBuilder
wxFormBuilder is a free Python GUI constructor toolkit for wxWidgets GUI design which can be used to build Python GUIs. Similar python GUI constructor toolkits are wxGlade, Boa Constructor, PythonCard and wxDesigner
Download link: www.sourceforge.net/projects/wxformbuilder/

InnoSetup Compiler
Inno Setup is used to create installer for Windows programs. Similar programs are NSIS and WiX
Download link: www.innosetup.com

For sure, you also need a text editor if you don’t have one already, you can get NotePad++ at: www.notepad-plus-plus.org

If for any reason, any one of the links I provided is broken, use Google to search and get the correct link. Also be free to drop you questions/comments.

Hope you enjoyed this class? See you next time!
Programming › Re: Visitors/customers Data App With Python by umaryusuf(op):
Am sharing the procedure of building similar apps through a tutorial at:
https://www.nairaland.com/2008698/learn-how-build-desktop-software

See you there!

Programming › Re: I Want To Learn Programming. Which Language Should I Start With? by umaryusuf(m): 6:54pm On Nov 21, 2014
Desktop application development tutorial using Python programming language for beginners is taking place on Naira land at:
https://www.nairaland.com/2008698/learn-how-build-desktop-software

See you there!
Programming › Learn How To Build A Desktop Software Using PYTHON – Tutorial On Nairaland by umaryusuf(op):
Following request by some NL users few months back, I create this thread to share the little I know about making desktop applications using PYTHON programming language with its graphical users interface (GUI) library called wxPython.
This tutorial will cover the same procedure I have used to create some open source desktop apps for some guys here such as this:
https://www.nairaland.com/1790669/visitors-customers-data-app-python
http://www.4shared.com/zip/XmLNVQnKba/NLTempCalc_Setup.html
http://www.4shared.com/zip/EShYucoDce/ttp_setup.html
http://www.4shared.com/zip/e1EvFyD_ba/gpa_calc.html

The content will include;-
~Introduction
~Installation Requirements
~Testing our installations
~Developing the console program
~Sketching the App's GUI (Graphical User Interface)
~Creating the GUI
~Binding Events to Methods
~Compiling & Packaging our completed App
Before we start, I want to be sure if someone out there is interested in this?

Programming › Re: Visitors/customers Data App With Python by umaryusuf(op): 12:30pm On Nov 21, 2014
@ Djangocode, For some time now, I hv been trying to upload the file on datafilehost.com but no way to get the url as it keeps me on hold for long..... “Upload in progress. Please Wait...”
May be is the problem is from my PC browsers or so...
Sorry about that!

Programming › Re: Help An Aspiring Programmer by umaryusuf(m): 5:29pm On Nov 20, 2014
^^ you're most welcome.
Since ur interest is desktop and web apps, here are some recommended libraries, any one u go with 1st is just fine:~

Desktop: TkInter, PyQt/PySide, wxPython, Kivy, and PyGTK

Web: Web2py, Bottle, Django, Flask and Pyramid.
Programming › Re: Why Is Nobody Talking About Javafx .. by umaryusuf(m): 11:32am On Nov 20, 2014
because GUI or desktop apps hv low traffic here. Trust me if was a mobile or web library hmmm......
Programming › Re: Help An Aspiring Programmer by umaryusuf(m): 5:18pm On Nov 19, 2014
coolestbiodun:
Hello nairalanders!
I'm a young Nigerian looking forward to a career in the I.T industry as a computer programmer. I will be resuming as a fresher in the university of ibadan 2014/2015, department of mathematics
I have been able to learn the basics of python programming language by myself using "byte of python" and a few other sources.
I feel the need to build my strength in python before taking on another programming language. I want you guys to give me advice and (free)materials on how to improve my skill in python and that other aspirants like myself would learn from.
I am earnestly waiting for you response... Thanks in advance *wink*
Keep up the spirit dude.

What you need next is to take your py basic to the next level by learning more of its libraries that will enable u specialize and solve real world problems in any of these areas:
1) Console applications
2) Desktop apps
3) Web apps
4) Embedded Systems
5) Mobile apps

Good luck.
Islam › Re: Advice To Muslim Singles by umaryusuf(m): 4:35pm On Nov 07, 2014
orion777:
Pls guys kindly help me I need a product key and activation key for a trial version of a RepliGo pdf reader..my pin is 23754ae8
What are u posting here? Check this thread share ==> https://www.nairaland.com/1565663/blackberry-repligo-pdf-reader-product
Webmasters › Re: by umaryusuf(m): 9:16am On Nov 05, 2014
youngcee:
You can not snatch the log in details because It is my email I use to register not yours,so any changes on the account will be display on my email
You hv to be careful with this! Udemy allow users to change their account email, if the account email is changed that is the end.....

The videos can be downloaded even if the instructor didn't enable that. Just like on YouTube, there several ways to download streaming videos online.
Jokes Etc › Re: The Confused Fella by umaryusuf(m): 6:26am On Nov 01, 2014
Lol..

grin
Webmasters › Re: Problem Validating Contact Form In Frontpage! by umaryusuf(m): 8:31am On Oct 28, 2014
Is like d form is sent to a processing script saved in a .HTML file? Change ur file extension to .PHP or what ever dynamic language u used.
Phones › Re: My Experience With Techno And Its Service Agent, Carlcare. by umaryusuf(m): 4:57pm On Oct 24, 2014
The fault is its low RAM! Am facing same challenge with mine.
Islam › Re: Happy Islamic New Year 1436 AH To All Muslims by umaryusuf(m): 11:22am On Oct 24, 2014
Happy new to all.
Sports › UEFA Champions League Results - NOT On NL Front Page by umaryusuf(op): 7:26am On Oct 22, 2014
I was surprised, yesterday Tuesday 21/10/14 interesting nite of champions league wasn't on NairaLand (at least the FP). What could have happens?

I usually run here for quick live scores etc simply because NL loads faster than most of the live score websites.

Hope to nite mods will be up to the task?

Celebrities › Re: Ini Edo Acquires Brand New G Wagon Worth #38m-Photo by umaryusuf(m): 3:30pm On Oct 20, 2014
O boy!
Programming › Re: Visitors/customers Data App With Python by umaryusuf(op): 1:54pm On Oct 20, 2014
^^ I will upload there soon.
Programming › Re: Visitors/customers Data App With Python by umaryusuf(op): 5:47pm On Oct 17, 2014
nikdel:
Pls am highly interested in building something like this here is my email agboolaadenike88@gmail.com
OK. I may create a thread to teach something like this b4 d yr runs out, just that I don't want to start it and take longtime to finish cos of my daily activities.
Programming › Re: How To Develop Android Apps From Scratch Without Coding. by umaryusuf(m): 9:24pm On Oct 15, 2014
jobakademy:
what do you mean by taking advantage?
What I mean is that, hardly would you see apps by naija guys developed by some of these easy to use tools. Most are wrongly guided the hard way.
Sports › Re: Keshi Makes Changes As Aluko, Lawal, Oshaniwa Start Against Sudan by umaryusuf(m): 5:17pm On Oct 15, 2014
OK, let's see the magic.
Programming › Re: How To Develop Android Apps From Scratch Without Coding. by umaryusuf(m): 3:11pm On Oct 15, 2014
[quote author=jobakademy post=27123279][/quote]Amend your thread tiltle to read "...withOUT coding" instead of "with coding"

Programming › Re: How To Develop Android Apps From Scratch Without Coding. by umaryusuf(m): 2:55pm On Oct 15, 2014
I have plans to created similar thread, but my daily schedules is not helping.
I wonder sometimes that Nigerians are not taking advantages of these services that allows nontechnical people develop great android apps (for Free) with little or no programming skills.

I have seen great apps developed with App Inventor (www.appinventor.mit.edu) and its like as listed below;

1) appery.io
2) mobileroadie.com
3) theappbuilder.com
4) goodbarber.com
5) appypie.com
6) appmachine.com
7) appinventor.mit.edu
8 ) gamesalad.com
9) biznessapps.com
10) appmakr.com
11) shoutem.com
12) jqueryui.com
13) phonegap.com
14) ibuildapp.com
15) sencha.com
16) e.t.c

OP Keep on with the tutorial.
Programming › Re: Would You Have Prefered Python with Braces to python with Indentation? by umaryusuf(m): 7:34pm On Oct 13, 2014
If u are coming from braces background you will not like python's indentation.

But personally, I love to see programming codes being indented/spaced out as much as possible python or not.
Celebrities › Re: A Nairalander And His Lovely Mother by umaryusuf(m): 5:36pm On Oct 12, 2014
And u and her made it to FP! Congrats.
Sports › Re: Nigeria Vs Sudan - AFCON Qualifier (0 - 1) ON 11th October 2014 by umaryusuf(m): 8:12pm On Oct 11, 2014
Let me go sleep
Programming › Re: Python Code Obfuscation[help] by umaryusuf(m): 7:05am On Oct 05, 2014
Politics › Re: Goodluck Jonathan Rejects PDP Sole Candidacy, Says He's Not Contesting In 2015 by umaryusuf(m): 8:36am On Oct 03, 2014
Mod, move to jokers section!
Politics › Re: Must See: Old And New Shakau: A Body Check by umaryusuf(m): 8:30pm On Oct 02, 2014
Aysuperstories: The leader of the Boko Haram sect, Abubakar Shekau (or his clone), who is said to have been killed by Nigerian (or Cameroonian) troops last month is alive.
And he wants the world to know.
A new video released through the regular channels has shown his face, and he is vocally debunking the stories of his death, and he has added that he is still in the business of making a Caliphate out of Nigeria.
The AFP says the video is 36-minutes long.
“Here I am, alive. I will only die the day Allah takes my breath,” Shekau cackled, adding that his administration was still “running…a Caliphate” and administering the punishments as prescribed by Sharia law.
There had been previous skepticism (by observers of the Northern insurgency) over the death of the man known as Shekau when it was reported last month.
In the new video, Shekau wore combat fatigues and black rubber boots, and he was standing on the back of a pickup truck, shooting into the air with his anti-aircraft gun.
It is unclear where the video was shot. He spoke for 16 minutes in two languages: Arabia and Hausa.
The heavily bearded man, who looks not unlike the previous Shekaus in older videos has rubbished the military’s claim that he had been killed, calling it propaganda.
“Nothing will kill me until my days are over… I’m still alive. Some people asked you if Shekau has two souls. No, I have one soul, by Allah,” he said, apparently reading from a script.
“It is propaganda that is prevalent. I have one soul. I’m an Islamic student.
“I’m the Islamic student whose seminary you burnt… I’m not dead,” he added, apparently referring to the destruction of the group’s mosque in the Borno state capital, Maiduguri, in 2009.
“We are running our caliphate, our Islamic caliphate. We follow the Koran… We now practice the injunctions of the Koran in the land of Allah,” he said.
The group also claimed to have shot down a Nigerian air force jet that went missing nearly three weeks ago.
An air force spokesman said the jet was missing.
“For any group to claim they shot it down is mere propaganda and rubbish,” Air Commodore Dele Alonge told AFP
watch the comparison video below

https://www.youtube.com/watch?v=Px-7Pw4KRwE
what do you think? sad
more here http://aysuperstories..it/2014/10/full-video-breaking-im-not-dead-shekau.html
I just wanted my mb watching ur video
Programming › Re: Smart Phones Programming by umaryusuf(m): 7:24pm On Sep 23, 2014
ficko: Hello Programmers out there please if i want to start coding android apps or games what are the required software i would need please your opinions count. Thanks and god bless
Try jquerymobile.com or phonegap.com

The following services hv drag and drop tools to build android apps;
1) appery.io
2) mobileroadie.com
3) theappbuilder.com
4) goodbarber.com
5) appypie.com
6) appmachine.com
7) appinventor.mit.edu
8 ) gamesalad.com
9) biznessapps.com
10) appmakr.com
11) shoutem.com
12) jqueryui.com
13) phonegap.com
14) ibuildapp.com
15) sencha.

Enjoy
Islam › Re: Virtues Of The First Ten Days Of Dhul Hijjah by umaryusuf(m): 6:17pm On Sep 23, 2014
Mashallah! Thank you for this post. Point of note: Some ulamas distinguished btw days and nites here.

The best days are these first 10days of Dulhijjah while the best nites are the last 10nites of Ramadan (especially the lailatul qadr).

1 2 3 4 5 6 7 8 9 10 (of 10 pages)