Help extracting info from HTML source ..

2007-01-25 Thread s. d. rose
Hello All. I am learning Python, and have never worked with HTML. However, I would like to write a simple script to audit my 100+ Netware servers via their web portal. I was reading Chapter 8 of Dive into Python, which deals with this topic. In the web portal of the server, there is a sect

Dell Support Web Site Automation.

2006-04-25 Thread S. D. Rose
Hello all. Awhile back I was playing with win32all package to get system information from the Dell PCs. However, I'm using a win32 program, bginfo, to get the information on the PC and insert it into a MySQL database. Of the fields I'm recording, I am saving the system serial number. I was w

Re: File object question

2005-12-23 Thread S. D. Rose
Yes, len() will do what I want. I didn't realize it would work with binary, I thought it was good only for variables, lists, etc. Thanks! -Dave "Kent Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > S. D. Rose wrote: > > Hello all.

Re: Pydev questions: versions and keybindings

2005-12-22 Thread S. D. Rose
Would (Eclipse) Help | About -> [Plug-in Details] | Plug-in Name -> PyDev - Python Development Environment do the trick for you? -Dave "Kenneth McDonald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm trying to find out if I have the most recent version of Pydev for > Eclipse

File object question

2005-12-22 Thread S. D. Rose
Hello all. If I read a binary file: file = open('c:\\logo.gif', 'rw'') # Read from FS as one way to get the object, d/l from website another... file.read() is there anyway I can determine the 'size' of the object file? (Without going to the filesystem and reading the filesize from the directory

Re: Python Image Library

2005-12-16 Thread S. D. Rose
Sorry-- meant to post to comp.python.image "S. D. Rose" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a question about PIL. > > I get a 50k photo from a MySQL table, convert it to grey-scale, do some > rotations, etc. Then I want to put it bac

Python Image Library

2005-12-16 Thread S. D. Rose
I have a question about PIL. I get a 50k photo from a MySQL table, convert it to grey-scale, do some rotations, etc. Then I want to put it back. It seems that after I do the greyscale, it converts from 'JPEG' to 'RAW'. Can anyone tell me how I convert the image back to 'JPEG' and then insert th

Re: What's the difference between VAR and _VAR_?

2005-09-09 Thread S. D. Rose
I can't get the value of the variable (out of the class function) if it has two leading underscores. -Dave >>> class encrypt: def encrypt(self, userValue): self.initialNumber = userValue self.__secretSeed = 7 return self.initialNumber * self.__secretSeed >>> enc = encrypt() >>> enc.encryp