On Feb 27, 11:16 pm, "Hendrik van Rooyen" <[EMAIL PROTECTED]>
wrote:
> "Ishpeck" <[EMAIL PROTECTED]> wrote:
>
> 8<--- a bash problem -
>
> If it were Python, the advice would have been to use the
> print statement to figure out what the content of the
> variables wer
I did the same thing back before I knew about python and com.
I hope this example gets you on the right track.
It is just a simple script that does a dir and returns prints it out.
import os, sys
dCall = "dir"
resultFromCall = os.popen(dCall)
#get data back from the system call
mv = resultFromCal
John wrote:
> I have to write a spyder for a webpage that uses html + javascript. I
> had it written using mechanize
> but the authors of the webpage now use a lot of javascript. Mechanize
> can no longer do the job.
> Does anyone know how I could automate my spyder to understand
> javascript? Is
I put this together for some automated testing I do with an email
system. I hope it is of help to you.
It dosn't do cc and bcc In this version but it would be simple to add
to the eMessage headder.
http://phlik.ishpeck.net/index.php?P=b1114201575phlik
--
http://mail.python.org/mailman/listinfo
i80and wrote:
> I'm working on a program to remove tags from a HTML document, leaving
> just the content, but I want to do it simply. I've finished a system
> to remove simple tags, but I want all CSS and JS to be removed. What
> re pattern could I use to do that?
>
> I've tried
> ''
> but that
I put to gether a class to deal with this along time ago it might be of
help to you.
You can find it at
http://phlik.ishpeck.net/index.php?P=b1114201575phlik.
krishnakant Mane wrote:
> hello,
> I am a bit confused.
> I want to make a program that will take some data from a database and
> make a st
At my work we had the same problem. We found that the best solution
was to use a thread with the code to handle the model dialog. This
worked best for us because the only models in our product are the error
messages, and using a thread gave us the ability to check and see if
the modal dialog was
[EMAIL PROTECTED] wrote:
> Hi,
>
> I have to write a code in python to read a matrix from a text file and
> for that i am using following code. But it gives an error saying
> "NameError: name 'split' is not defined". Can anyone help me with this.
> -
This might be of help to you.
http://phlik.ishpeck.net/index.php?P=a1141076600phlik
http://phlik.ishpeck.net/index.php?P=b1134168973phlik
Graham Feeley wrote:
> Can someone steer me to scripts / modules etc on webscraping please???
> Ultimately I would like someone to write a script for me.
> How
Here is a start.
http://www.ishpeck.net/?P=pytesting
This is all stuff based on windos.
Colin Gillespie wrote:
> Dear All,
>
> I would like to place a url in my browsers address bar, then execute.
> How can do this?
>
> e.g.
>
> def goToGoogle():
> url = "www.google.com"
> b = openB
Send the active program an alt-f4. I do this through shell.send keys.
Hope this was of help.
KB wrote:
> Hi,
>
> I want to write a Python script that controls and automates a Windows
> GUI computation program.
>
> My problem is that I do not know how to quit the Windows GUI program
> gracefully w
Look up pamie it should do all the work you need. If it dosn't I can
send you ishyBrowser but pamie has more comunity support.
--
http://mail.python.org/mailman/listinfo/python-list
I want to walk a folder structor and group all the files by extention.
Here is the code I put together is there a better way of doing this?
import os
folderKey = "Folders"
dicExt = {}
tDicKey = []
tDicKey.append(folderKey)
dicExt[folderKey] = []
walkPath = r"\\zek\C$\AST"
for d in os.walk(walk
13 matches
Mail list logo