Python Variables

Python Project – Online Quiz Management

I am going to be implementing some Python projects with a browser front end (obviously since that’s what this domain is called), I am going to be focusing on the core functionality, not really the aesthetics. You can always use some stylesheets (CSS) to make it look pretty. I am just concerned with the fact […]

Continue Reading

How To Simply Connect Python To MySQL On Your Site

Nearly all the visitors to this website are interested in how to integrate the python programming language into their website. We are going through a website I originally build in PHP and MySQL, and reconstruct the site using python and MySQL. Interesting. This will give some good insight into python concepts. In this post, I […]

Continue Reading

Simple Python Variables Examples

In this post I am going to show you 2 simple ways of using variables in your python html files. The 1st way is using a text, string, variable #!/usr/bin/python msg=’Python Text Variable.’ print “Content-type: text/html\n\n”; print “<html><head>”; print “<title>Simple Python Text Variable</title>”; print “</head><body>”; print “<p>” + msg + “</p>”; print “</body></html>”; Here is […]

Continue Reading