Python Project

Post Thumbnail of Python Project
 Open Source, Programming, Python         4 comments   

Whilst picking up a new language – Python, I decided to whip up a basic paint like tool using PyGame. As you can see above it looks basic, You can click and drag to draw, and right click to remove. If a key is pressed, the image is stored in a text file with ‘pixels’ …

Coders Online Toolkit

Post Thumbnail of Coders Online Toolkit
 Google, Open Source, Programming, Social, Web         No comments   

The Internet is a valuable resource for everyone, being a programmer, I usually found my self either looking for a specific piece of code or trying to share a piece. I have made a list of my favourite websites orientated around code, some may seem obvious, others may not.

Python Resources

Post Thumbnail of Python Resources
 Programming, Python         No comments   

Recently I started learning python, I found there were many great resources out there so I thought I would share them with you all. In no particular order, my favorite Python resources.

Python Official Documentation
Possibly the best place to look …

PHP JSON Class Routines

Post Thumbnail of PHP JSON Class Routines
 PHP, Programming         No comments   

Recently whilst working on a project, I needed a method of returning JSON from a class based on it’s public variables.  The routines are not perfect and may need work but if used correctly issues shouldn’t occur.
Class To JSON

function class_to_json($input)
{
if($input)
{
$class_vars = get_object_vars($input);

EXULT designed by ZENVERSE  |  In conjunction with Reseller Hosting from the #1 Web Hosting Provider - HostNexus.