Slide 1

Slide 1 text

Python; Solving Real World Problems AbdulKabir Sulaiman Operations Executive, TechQuest

Slide 2

Slide 2 text

Executioner Community Builder Fullstack Developer Blockchain Enthusiast Taekwondo Athlete Youtuber Ijebu Boy [email protected] @justcabyr

Slide 3

Slide 3 text

Why are you learning programming?? Or as it applies, Python? and the questions?

Slide 4

Slide 4 text

Objectives – Python – Application – Automation – Problems – Define problem – Propose solution – Design solution – Develop solution

Slide 5

Slide 5 text

Python Fibonacci series up to n >>> def fib(n): >>> a, b = 0, 1 >>> while a < n: >>> print(a, end=' ') >>> a, b = b, a+b >>> print() >>> fib(1000) 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 -Python is a programming language that lets you work quickly and integrate systems more effectively.

Slide 6

Slide 6 text

Applications GUI Development – tkInter – PyGObject – PyQt – PySide – Kivy – wxPython System Administration – Ansible – Salt – OpenStack Web Development – Django – Pyramid – Bottle – Tornado – Flask – web2py Scientific and Numeric – SciPy – Pandas – IPython Software Development – Buildbot – Trac – Roundup *I don’t know all these items too, Google them.

Slide 7

Slide 7 text

Automations – Pattern Matching with Regular Expressions – Reading and Writing Files – Organizing Files – Web Scraping – Working with Excel Spreadsheets – Working with PDF and Word Documents – Working with CSV Files and JSON Data – Keeping Time, Scheduling Tasks, and Launching Programs – Sending Email and Text Messages – Manipulating Images *Automate the Boring Stuff with Python

Slide 8

Slide 8 text

More automation – Computer Vision (Facilities like face-detection and color-detection) – Machine Learning – Robotics – Scripting – Artificial Intelligence – Data Analysis – Games and 3D Graphics – Early Cancer Detection

Slide 9

Slide 9 text

Real life Problem; Fowolero:

Slide 10

Slide 10 text

– For example, my dip into writing Python from scratch (I didn't stay long) was to create a program to display the weather forecast. That meant finding free weather information (I chose OpenWeatherMap), signing up, learning how to make web requests, and learning how to display the information. It's not the most sophisticated program, of course, but it was useful enough that I used it long enough to find and fix bugs. – Let's assume that you're a soccer fan. Why don't you create a script that will scrap information about you favorite player or team from few different sites, and present it to you in some fancy GUI or make it send you an email report after each game of your favorite team with detailed results of the game. Instead of soccer informations, you can pick everything here - aggregate news about science, programming, cats, pick whatever you want here! – Use python and opencv to extract information from video or image.for eg: I have made a software that can count the number of vehicle and also classify them under car,hcv,lcv, two wheelers and also find speed of each vehicle. *https://www.quora.com/What-is-Python-mainly-used-for-in-the-real-world-today-Is-it-beneficial-to-use-Python-for-desktop-apps

Slide 11

Slide 11 text

Problem Definition The difference between you and that programmer that “blew” is creativity. Look for a problem, a real life problem, preferably that affects not only you, that can be solved using automation or can be improved.

Slide 12

Slide 12 text

Propose Solution – Analyze the problem – Check if it can be solved – How can you solve or improve it? – Any alternative? – What resources do you have? – Now propose a solution to the problem – You can propose two or three solutions

Slide 13

Slide 13 text

Design Solution – Do a project breakdown – Do you need a database? – Would you be using a microcontroller or any other integrations – Structure your menu, interface, processes etc. – Build required items like; database, webpages, UI, forms etc.

Slide 14

Slide 14 text

Write your algorithm. This is key

Slide 15

Slide 15 text

Develop Solution – Setup your IDE – Install Django or any other package required – Build your system – Make adjustment as necessary. – Do final testing until desired result is gotten. *This is not a Python or Django class

Slide 16

Slide 16 text

PYTHON CAN BE USED TO DEVELOP SOFTWARE TO SOLVE REAL LIFE PROBLEMS. CONCLUSION

Slide 17

Slide 17 text

Thank you. Any questions?