Tue Jul 10 2018
What you can do with the help of Python?
Python is one of the most in-demanding programming languages sought after by employers for its usefulness. And every coder knows, the best way to learn a language is to apply it in a project. So, here are some mini programming projects that get you started on learning Python and help you to gather more experiences over Python.
So, let's take look what can do with the help of Python?
Data analysis
Use python for scientific data analysis. It has really great tools for all the data mangling without a problematic speed sacrifice - and if you do hit speed problems, stuff like python is remarkably easy to start using. One can create all sorts of data reports by getting data from various sources. Usually, in the industry setting, SQL becomes an important part, but Python lets one run SQL very easily.
Make android applications
Make android applications with kivy. It's an open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. It's a really impressive project that lets you make fully fledged apps without touching java at all, which is really nice. Actually, to be clear, kivy is a cross-platform graphical framework (Linux, osx, windows, as well as android, ios, maybe others) with some associated tools that make deployment on android very easy.
Use Numda
Try Numba, it's easier. Numba has broader ambitions for supporting more of Python in the long-term, Parakeet will always be limited to a few data types (arrays, scalars, tuples). You're translating dynamic-typed Python code to a compiled function with static-typed arguments. The @autojit decorator infers the data types from the first function call, so if you have functions that take data of different types, you have to be a bit careful to handle type dispatching before you enter a compiled function, otherwise, you get a type error.
Machine learning
Machine learning in itself is a vast field, but using Python’s pre-existing packages such as Scikit learn, one can become a machine learning engineer in very little time. At least you can easily begin working with datasets on Kaggle and derive value out of it. Cool stuff like finding fingerprint identifications, predicting stocks, and spam detection can all be achieved with ML. Coders can set this up by taking advantage of Python modules like Tensorflow, and Theano to support it.
iPython notebooks
One can then use iPython notebooks, that look very pretty for presenting lots of data, plots, and so on, and things can be automated to run on a daily basis.
PyAutoGUI
One can use PyAutoGUI module to automate a large number of screen tasks.
This is extremely simple to use, and one can learn this in just 3 to 4 hours and can build substantial automation in their work. To learn this, Google Automate boring stuff with Python.
Web development
Python is great for Web Development. One can create and maintain websites for which they would have to learn Django and other frameworks, but the basics remain the same. This is an elaborate field and would take some time to be good at it, but there is just no limit to what you cannot do. You would be amazed when seeing the websites that people have designed using Python. It’s worth to add that such popular web applications as Google, Instagram, YouTube and even Quora use Python!
Dice Rolling
This project involves writing a program that simulates rolling dice. When the program runs, it will randomly choose a number between 1 and 6. The program will print what that number is. It should then ask you if you’d like to roll again. For this project, you’ll need to set the min and max number that your dice can produce. For the average die, that means a minimum of 1 and a maximum of 6. You’ll also want a function that randomly grabs a number within that range and prints it.
Web scraping and API usage
Download S&P 500, Nasdaq, volatility, interest rates, and so on - data from federal reserve bank, Yahoo or Google Finance, and derive value and conclusions out of it. Python will crack this in no time. There are APIs available for this and some already existing packages that you only have to import to start doing this. To develop a program that can plot S&P 500, and every possible index from the Federal reserve bank website, it took merely 2 to 3 hours.
Robotics
One can control robotics using Raspberry Pi, and Python programming. This science is also quite elaborate, but once you know how to use a Raspberry Pi, it is not hard to get understand.
Game development
A lot of programmers use Python for game development. Python is quick enough, and fast to code for such purposes.
Text-based Adventure Game
A complete text game, the program will let users move through rooms based on user input and get descriptions of each room. To create this, you’ll need to establish the directions in which the user can move, a way to track how far the user has moved (and therefore which room he/she is in), and to print out a description. You’ll also need to set limits for how far the user can move. In other words, create walls around the rooms that tell the user, You can’t move further in this direction.
AI type of solutions
You can use Python libraries to talk to the computer and get some enhancements from some of the other already existing software that does this task. The backend can then be built in Python.
Image processing
Image processing and some scientific computing such as calculating Fourier transforms, and deriving conclusions out of them can be done by Python programming easily enough compared to some other programming languages. Probably some people who have used MATLAB would be delighted to know that Python can crack this problem easily enough.
Automating emails and reports
One can set up automatic reports to send you information on one or the other thing. Imagine this - what are the prices of 100 stocks at the open - send emails to you on this on a daily basis - Python will achieve this very easily. Download reports from your organizations SQL server, process everything according to a particular sequence and logic and send you a report every morning - Python will achieve it a day or less.
Function Decorators
Function decorators are quite neat in Python as they allow you to enhance the functionality of existing functions. So this can be translated into both web development and data analytics.
Use Tkinter
By using Tkinter you can write user applications that use graphics rather than just text to interact with the user. You can write games with graphics using Tkinter or the Pygame or Kivy libraries. The games in this book are text only.
Use the OpenCV
Using the OpenCV library, you can experiment with computer vision. People who are into robotics use it to help their robots see and grab things and to avoid obstacles when moving.
Browser Automation
You can also use Python to do cool things like automating your browser to do social media posts. This can be done by using Selenium with Python.
You can extend other programs like Blender (a 3D modeling program), GIMP (a 2D photo-retouching program), and LibreOffice (office programs), among many others by writing custom scripts.
Where can be use Python?
Python is used just about everywhere. It will apply to whatever you’re interested in, no matter what it is. Just take a look at the following list -
In space
The International Space Station’s Robonaut 2 robot uses Python for its central command system. Python is planned for use in a European mission to Mars in 2020 to collect soil samples.
In particle physics laboratories
Python helps to understand the data analysis from some atom-smashing experiments at the CERN Large Hadron Collider.
In astronomy
The MeerKat Radio telescope array (the largest radio telescope in the Southern Hemisphere) uses Python for its control and monitoring systems.
In movie studios
Industrial Light and Magic (Star Wars geniuses) use Python to automate its movie production processes. Side Effects Software’s computer-generated imagery program Houdini uses Python for its programming interface and to script the engine.
In games
Activision uses Python for building games, testing, and analyzing stuff. They even use Python to find people cheating by boosting each other.
In the music industry
Spotify music streaming service uses Python to send you music.
In the video industry
Netflix uses Python to make sure movies play (stream) without stopping. Python is used a lot for YouTube.
In Internet search
Google used Python all over in its early development phase.
In medicine
The Nodality company uses Python to handle information that they use to search for a cure for cancer.
In OS
Operating systems like Linux and Mac OS X use Python for some of their administrative functions.
In doorbell
Rupa Dachere and Akkana Peck say that you can automate your home with Python, hooking up sensors to your house. With it you can, for example, open and close the curtains or automatically turn on lights when you come into the room.