[Tutor] Python and Web

2013-08-11 Thread Engineering
Dear All After a lot of struggling for weeks , I can read the serial port readings in my web page. Below is the code #!c:\Python27\Python.exe import cgi, cgitb; import sys, serial ,time cgitb.enable() ser = serial.Serial('COM27', 9600) numOfLines = 0 print "Content-type:text/html\n\n"

[Tutor] Python and web design

2012-06-21 Thread Tamar Osher
Could someone please be my mentor or career counselor, and share with me some of your experiences, and answer my wonderment questions? As a web designer, how did you push away and bypass the masses of people shouting "WORDPRESS, WORDPRESS", and "DREAMWEAVER, DREAMWEAVER"? How did you get drawn

Re: [Tutor] Python and Web Pages?

2005-04-23 Thread Jay Loden
I use both Python and PHP on my website to do a variety of tasks. Some things PHP can do much easier than Python, but if you're doing simple things like form handling, Python will do nicely. If you're comfortable with Python, use it. I find Python much easier to work with than PHP for a lot

Re: [Tutor] Python and Web Pages?

2005-04-23 Thread Kent Johnson
Paul Tader wrote: I have a couple programs/scripts that I want to write that need to be web-based. Can Python (and a little HTML) accomplish this? Or are other languages like PHP, or Perl better suited? Yes, Python can do this nicely. You can write CGI programs in Python or use one of the many

[Tutor] Python and Web Pages?

2005-04-23 Thread Paul Tader
I have a couple programs/scripts that I want to write that need to be web-based. Can Python (and a little HTML) accomplish this? Or are other languages like PHP, or Perl better suited? A little more detail: One project is to make a web page that users login to with a name and password, choose