I’m currently writing a python script to analyse web servers for connectivity. Due to various issues I have encountered whilst running this and other sites such as DDOS attacks and Mysql failing due to lack of memory. So far it probes a given site to see if it is active. If it detects connectivity it […]
Category: Code Projects
Connecting to Microsoft Access Database using Python
Source Code -> import pypyodbc # Create connection – make sure you change the file paths accordingly con = pypyodbc.connect(‘DRIVER={Microsoft Access Driver (*.mdb)};UID=admin;UserCommitSync=Yes;Threads=3;SafeTransactions=0;PageTimeout=5;MaxScanRows=8;MaxBufferSize=2048;FIL={MS Access};DriverId=25;DefaultDir=C:/Users/Rob/Documents/py_sql_tutorial;DBQ=C:/Users/Rob/Documents/py_sql_tutorial/Database1.mdb;’) cursor = con.cursor() cursor.execute(“SELECT customer_table.password FROM customer_table”) for row in cursor.fetchall(): print(row) con.close()
Website Tutorial 2
For those of you that are following my web development series, you can download the latest tutorial here : Website Tutorial 2 – HTML 5 Additionally here is a link to Notepad++ !
Android Application Development
I’ve just been digging around in some of my old projects and found my Hours Manager application. The purpose of the application is to provide me with a way of logging the hours that I do, given that my schedule is so busy, trying to remember when I did what can often be challenging. Unfortunately […]
Real Time Rendering Assignment
Real Time Rendering Techniques Modeling the castle First and foremost to begin the project a suitable scene was designed using Auto Cad and modeled using the 3DS Max software package. When modeling any scene it is essential that everything is to scale and each element is proportional to another. This was the reasoning behind using […]
Summer's Here!
Just handed in my last piece of coursework for my third year in University, what a momentous occasion! Update to follow detailing what I’ve been up to in my last term here in The University of South Wales. Now all I have left to do is complete exams in Concurrent & Parallel Programming and Artificial […]
Mounting File Share from Terminal
After three days of hacking together mount commands finally my NAS is connected so that it can be accessed from terminal. The script’s purpose is to mount a networked attached file store using terminal with the correct read and write attributes. 1: ################################################################ 2: # Author : Robert Lutken 3: # E-mail : [email protected] 4: # Date : […]