Hey Wassup Python Programmer. Here i have share you the code of 2D snake game using python.So Before Running this program make sure that u have install requried module requried Module :- pygame , 

 Install The Module using this command below 
 > pip install pygame 
 Rest All all module come pre installed in python.. Hits the above command in your Window command prompt or terminal to install the Requried Module Copy The code correctly Make Sure that you havent make any indentation or syntax error



credits :- # ----------------------------------------------------------------------------- # # Snake - 2D # Language - Python # Modules - pygame, sys, random, copy, time # # Controls - Arrow Keys # # By - Jatin Kumar Mandav # # Website - https://jatinmandav.wordpress.com # # YouTube Channel - https://www.youtube.com/channel/UCdpf6Lz3V357cIZomPwjuFQ # Twitter - @jatinmandav # # -----------------------------------------------------------------------------
Hey My dear fellow python programmer . so in todays post im gonna share you the source code of snake and ladder game made py the python programm..

Source Code File click Here to Download

After downloading the file Extract it.

Before running this game make sure that you have installed the requried module..

requried module - pygame

>   pip install pygame ( enter this line in ur window cmd or terminal)

after installation of pygame module run the Snake N Ladder Game.py file..




credits : Belong to its respective owners
Hey My dear fellow python programmer . so in todays post im gonna share you the source code of space shooter game made py the python programm..

Source Code File click Here to Download

After downloading the file Extract it.

Before running this game make sure that you have installed the requried module..

requried module - pygame

>   pip install pygame ( enter this line in ur window cmd or terminal)

after installation of pygame module run the SpaceShooter.py file..


credits : https://github.com/tasdikrahman/spaceShooter

Hey Python programmer in this post i have shared you the code of space invades game using python..
first of all download the code zip file. click here to download.

After downloading the zip file extract it. and to run the game just simply open the spaceinvaders.py and run it.


Before running the game make sure u have installed the required module

requried module : pygame

pip install pygame (just type this in window cmd or terminal and hit enter to install pygame module )

credits : https://github.com/leerob/Space_Invaders



Hey Python programmer. Hope so your enjoying my instagram handle @codehub.py ..

in this blog i have shared you the pac man game project created using python pygame module..

click here  to download the code file (zip file).

After downloading code file extract it and run the Game14.py file to start the game

Before running this game make sure you have installed pygame module 

pip install pygame
(To install pygame just hit this command on your cmd or terminal)

credit : https://github.com/CharlesPikachu/Games/tree/master/Game14


python paint app using tkinter and python
 before running this module make sure you have installed the requried module,,

Requried module -  pygame

install it using your window cmd or terminal

>  pip install pygame





Age calculator Using python ..

Before running this program make sure that you have install requried module.

Requried module - tkinter

install it using your window cmd or terminal

pip install tkinter

Helicopter Game Using Python
Helicopter Game Using Python
Python Coders In post I have given u the code and Explained you how you can setup and run the Helicopter Game.

First Of All U have to download the resources Click Here  (Make Sure U have logged in your google account Other Wise U will get error )

Before Running the game Make Sure ypu have installed the requried File

Requried Module - pygame
install It using command  pip install pygame   in your window command promt or terminal

After Downloading The File Extract It and Run The Helicopter_Game.py File
Click Here For Github Code

Credit : hackanons Github

Python Coders In post I have given u the code and Explained you how you can setup and run the Car racing Game.

First Of All U have to download the resources Click Here  (Make Sure U have logged in your google account Other Wise U will get error )

Before Running the game Make Sure ypu have installed the requried File

Requried Module - pygame
install It using command  pip install pygame   in your window command promt or terminal

After Downloading The File Extract It and Run The game.py File




Hey python programmer in this today post i goona tell you that how you can covert your python programm into exe

So To Convert Your File Into Exe You have to install a module called pyinstaller . You can install using your window command prompt using command

> pip install pyinstaller

After the completion of installation pyinstaller. Just go to your python program folder or directory
and Press Shit + Right Click On Mouse. A Window Will Appear Like This..


After that click on open command window here..It will open cmd prompt on your current directory
and type the command..
> pyinstaller notepad.py     (replace notepad.py with your py programm)


Im converting My notepad.py to .exe like that type "pyinstaller and your python program" and hit enter.It will take couple of minute to covert depending on your program size. After the completion of process of converting.You will see that there will be new folders are created..

To see your Exe file just open the "dist' folder ..

And Your will be seen  yourProgram.exe file..

Just Double click on the file to run the program and You guys can also share your program to other computer and it will not requried installation of python on others pc to run the program
Hey Python Programmer In this Post I will Show you How can automate Excel Work Using openpyxl ..

openpyxl ?

openpyxl is a python module used to work on excel using python.

Installation

> pip install openpyxl

Hit this command in your window Command Prompt or terminal

Now Come to the next step that is usage of the openpyxl

Write a workbook

from openpyxl import Workbook
from openpyxl.utils import get_column_letter

wb = Workbook()

dest_filename = 'empty_book.xlsx'

ws1 = wb.active
ws1.title = "range names"

for row in range(1, 40):
ws1.append(range(600))

ws2 = wb.create_sheet(title="Pi")

ws2['F5'] = 3.14

ws3 = wb.create_sheet(title="Data")
for row in range(10, 20):
for col in range(27, 54):
ws3.cell(column=col, row=row, value="{0}".format(get_column_letter(col)))
print(ws3['AA10'].value)

wb.save(filename = dest_filename)


output 



Read an existing workbook

from openpyxl import load_workbook
wb = load_workbook(filename = 'empty_book.xlsx')
sheet_ranges = wb['range names']
print(sheet_ranges['D18'].value)

output 
>>> 3

Using formulae

from openpyxl import Workbook
wb = Workbook()
ws = wb.active
# add a simple formula
ws["A1"] = "=SUM(5, 4)"
wb.save("formula.xlsx")

output 

Following Are The tutorial on openpyxl For more you can check out Official openpyxl documentation 

Typing Speed Checker Using Python


Hey Wassup Python Programmer. Here i have share you the code of Typing Speed Test Using python.So Before Running this program make sure that u have install requried module 

requried Module :- pygame and other module which come preinstalled in Python.

Install The Module using this command below


>            pip install pygame

Rest All all module come pre installed in python..

Hits the above command in your Window command prompt or terminal to install the Requried Module

Copy The code correctly Make Sure that you havent make any indenation or syntax error

Download Source Code and resources Download Link


Python Tutorial for Beginners


Website blocker using Python

Hey Wassup Python Programmer. Here i have share you the code of website Blocker using python.

What we are going to do:

We are going to develop python application which will block a certain website (whatever website you want- facebook, youtube etc.) during certain hours of the day(9:00 to 18:00 hours), consider office hours of the day, we want to blocks all social networking sites. We are going to use the python built-in libraries, so no need to install any third party packages.

How do we do it?

Every operating system has a hosts file. Location of the host file may be different for the different operating system. This host file is map hostname to IP address of the machine. In this host file, we going to list websites which we want to block.
Our host file will look something like,


Rest All all module come pre installed in python..

Hits the above command in your Window command prompt or terminal to install the Requried Module

Copy The code correctly Make Sure that you havent make any indenation or syntax error




Hey Wassup Python Programmer. Here i have share you the code of snake game using python.So Before Running this program make sure that u have install requried module 

requried Module :- pygame , random , maths , tkinter

Install The Module using this command below


>            pip install tkinter

>            pip install pygame

Rest All all module come pre installed in python..

Hits the above command in your Window command prompt or terminal to install the Requried Module

Copy The code correctly Make Sure that you havent make any indenation or syntax error




Hey Wassup Python Programmer. Here i have share you the code to covert Pdf To audio file .So Before Running this program make sure that u have install requried module 

requried Module :- PyPDF2 and pyttsx3

pip install PyPDF2 , pyttsx3 

Hits the above command in your Window command prompt or terminal to install the Requried Module

Copy The code correctly Make Sure that you havent make any indenation or syntax error



OS Module Tutorial in Python


The OS module in python provides functions for interacting with the operating system. OS, comes under Python’s standard utility modules. This module provides a portable way of using operating system dependent functionality. The *os* and *os.path* modules include many functions to interact with the file system.
Following are some functions in OS module:


Hey Wassup Python Programmer. Here i have share you the code to pygame.So Before Running this program make sure that u have install requried module 

requried Module :- pygame

pip install pygame

Hits the above command in your Window command prompt or terminal to install the Requried Module

Copy The code correctly Make Sure that you havent make any indenation or syntax error
Hey Wassup Python Programmer. Here i have share you the code of colorGame.So Before Running this program Make sure you Have install tkinter and pyautogui module Using Command..

requried Module :- tkinter 

pip install tkinter 

Hits the above command in your Window command prompt or terminal to install the Requried Module

Copy The code correctly Make Sure that you havent make any indenation or syntax error
python programm
Hey Wassup Python Programmer. Here i have share you the code to takeScreenShot.So Before Running this program Make sure you Have install tkinter and pyautogui module Using Command..

requried Module :- tkinter and pyautogui

pip install tkinter, PyAutoGUI

Hits the above command in your Window command prompt or terminal to install the Requried Module

Copy The code correctly Make Sure that you havent make any indenation or syntax error


TicTacToe Game Using Python Tkinter Module.

Before Running this program make sure that you have install Tkinte. Install tkinter in using command  "pip install tkinter" in your window cmd or if you are using IDE like Pycharma then in pycharm terminal type "pip install tkinter" to install tkinter..


Hey Wassup Python Programmer. Here i have share you the code of Notepad.So Before Running this program Make sure you Have install tkinter module Using Command


Copy The code correctly Make Sure that you havent make any indenation or syntax error