[Tutor] Python, CGI and CSS

2008-04-10 Thread Alex Krycek
Hi, I've looked all over the internet but have not found an answer to my question. How do I apply an external stylesheet to the XHTML in a Python script? I tried to include the standard """ in with the rest of the printed XHTML. But that didn't work. I changed the href attribute to "/style1.css",

Re: [Tutor] Python, CGI and CSS

2008-04-10 Thread Alex Krycek
ic Walstad <[EMAIL PROTECTED]> wrote: > > Hi Alex, > > On Thu, Apr 10, 2008 at 1:22 PM, Alex Krycek <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > I've looked all over the internet but have not found an answer to my > > question. How do I apply

Re: [Tutor] Python, CGI and CSS

2008-04-10 Thread Alex Krycek
and finally my CSS rules were applied to the selected XHTML. I read somewhere that it's not a good idea to have anything other than scripts in one's cgi-bin anyways. Thanks again! On Thu, Apr 10, 2008 at 3:22 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > Alex Krycek wrote: >

[Tutor] Problems sending POST data

2008-05-01 Thread Alex Krycek
Hello all, I've been trying to send POST data to this library database with Python's urllib, but I can't get it to work. The website is http://catalog.denverlibrary.org/cgi-bin/cw_cgi?getLimitedTerms+2307(although the session expires after a short period of time. So it's better to first go to den

[Tutor] Wave module

2008-07-05 Thread Alex Krycek
Hello, I'm trying to join two .wav files with the wave module. But when I try to use wave.open(filename, "rb") I receive the following error: Traceback (most recent call last): File "", line 1, in File "F:\PortablePython1.0\lib\wave.py", line 483, in open return Wave_read(f) File "F:\P

[Tutor] Wave error (solved)

2008-07-05 Thread Alex Krycek
Per someone's suggestion I changed my wave files from 32 bit to 16 bit. I can now open (and manipulate) them without any error. I'm not sure why it worked but it worked. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Logging In To Forum

2008-08-01 Thread Alex Krycek
Hello, I would like to have my script log in to a vBulletin forum. My script does seem to do this (as I can check my control panel, etc.). But although I can get access to my account, the forum fails to update the date when I last visited. That date updates just fine when I do it manually through

Re: [Tutor] Logging In To Forum

2008-08-01 Thread Alex Krycek
Kent, I tried reading several pages with the read() function. Unfortunately nothing changed. I'll take a look at Firebug. Thanks. On Fri, Aug 1, 2008 at 1:20 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Fri, Aug 1, 2008 at 2:47 PM, Alex Krycek <[EMAIL PROTECTED]>

[Tutor] Creating simple windows in XP

2009-01-14 Thread Alex Krycek
Hello, I'd like to create very simple GUI's in XP. For the sake of simplicity, I'm trying to avoid downloading and installing anything (although I am considering EasyGui). To see how well it works, I've tried having my program run a Visual Basic script ( i.e. subprocess.call(someScript.vbs, shel

Re: [Tutor] Creating simple windows in XP

2009-01-15 Thread Alex Krycek
gBox("Text", vbOKOnly, "Title"). I'll probably go with EasyGui. Thanks again. On Thu, Jan 15, 2009 at 5:33 AM, Kent Johnson wrote: > On Thu, Jan 15, 2009 at 1:29 AM, Alex Krycek > wrote: > > Hello, > > > > I'd like to create very simple GUI