Quantcast
Channel: python Feed
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

Guess the Number - Game in Python

Mini ProjectPractice Exercise in Python for Beginners.Create a Guess the Number game where in the computer One of the simplest two-player games is "Guess the number". The first player thinks of a...

View Article


Image may be NSFW.
Clik here to view.

A StopWatch Game in Python

ProjectBuild a simple digital stopwatch that keep track of the time in tenths of a second.  The stopwatch should contain"Start", "Stop" and "Reset" buttons.  To help guide you through this project, we...

View Article


[Errno 13] Permission denied: when installing CherryPy Python Framework

Common Issuemymac:CherryPy-3.2.2 mvohra$ python setup.py installrunning installerror: can't create or remove files in install directoryThe following error occurred while trying to add or remove files...

View Article

What are Micro Frameworks for Python Web Development?

What are Micro Frameworks? • Minimalist approach that helps to python websites • Examples – Bottle.py, Flask, Cherry Python, many others • Maps URL routes to Python function calls: –Request Routing...

View Article

How to check the version of MySQL database using Python?

#!/usr/bin/python# -*- coding: utf-8 -*- import MySQLdb as mdbimport sys con = None try:     con = mdb.connect('localhost','username',        'password','dbname');     cur = con.cursor()...

View Article


Image may be NSFW.
Clik here to view.

Game development in Python

The scripting language Python is easy to use, and thus very convenient to program simple games. And to make it even simpler, there one Python module which is dedicated to games creation: pygame. It...

View Article
Browsing latest articles
Browse All 6 View Live