Hello,
I am having trouble with an application running on a linux server. It keeps
reverting to old proxy settings and messing up the web application. I have
checked everything I can think of, and since the application is written in
Python and uses urllib to call a web service (which is where th
Hello,
Thanks for any response. I am in a crisis where one of our networking guys
moved where our PAC file is housed. There was a group policy set in Active
Directory that set the PAC file location in Internet Explorer to the new
location.
However, we have 100 remote centers that have about 3 t
I have come up with what I need and will try tweaking some things that
hopefully will help me learn what some of this stuff does. In the meantime,
I am having an issue:
class *KeepAlive*(threading.Thread):
def *__init__*(*self*):
*self*.count = 0
*self*.ie=win32com.client.
Hi,
I have a python script that I want to run in the system tray and system tray
only (windows system). I am looking at the win32gui_taskbar.py demo file
but am having trouble making sense of what parts do. I understand what the
whole does but I want to actually learn what it is doing so I can a
Please disregard... I was making it harder than it had to be I think.
The following seems to be running fine. Whether its doing what I want I
will know in a little bit if the page in my browser times out
import win32com.client, pythoncom
from time import sleep
ie=win32com.client.Dispatch('
recent call last):
File "C:\SDE_Keep_Alive.py",
line 8,
in
id=ie.Document.Script._oleobj_.GetIDsOfNames('window.location.reload')
pywintypes.com_error: (-2147352570, 'Unknown name.', None, None)
All I want to do is grab a page and refresh it every 5 minutes.
Thanks.
Hi,
I am trying to get and then refresh a page in IE with a Python script. I
just want to get a page, then refresh it every 5 minutes. Below is the code
I am attempting. It is erroring out on the
id=ie.Document.Script._oleobj_.GetIDsOfNames('window.location.reload()')
#tried with and without pa
I am trying to become more pythonic as I learn python and get my mind around
it instead of other languages I have used.
I have an app that has a series of classes for objects it uses. From a
style perspective, which should be done:
Different py file for each class
or
One py file with all the c
Hi,
I am trying to use mechanize to connect and log into Yahoo!
Here is my code:
#c:\Python25\python
import re
import urllib
import urllib2
import mechanize
print "print1"
br = mechanize.Browser()
br.set_handle_robots(False)
br.open("https://login.yahoo.com/config/login?";)
It is hanging at th
Sorry about the last mesasge, I accidentally replied directly to the
poster. So I now have:
br = mechanize.Browser()
br.open("theURL")
while True:
result = br.reload()
print result
print "Retrieved Page"
time.sleep(300)
But it still does not appear to be working... Shortly after I got the
Also, the actual JS code that does this simply uses a
window.location.reload()
to keep the session active. So I guess the only thing could be that eash
urllib.urlopen call is seen as a new session? How can I make it part of the
same session I am using in IE? Or am I a hundred miles off?
Thank
Hi,
I am trying to write a python script that I can run to prevent a timeout of
webpage. I have to use a system at work that keeps track of issues. I use
this a couple of time an hour and it times out after 10 minutes. The system
is really crummy and it rejects your username and password about
Thank you for the explanation. With my background in Java, I have to get
myself to think a little differently.
Kevin
On Tue, Jan 20, 2009 at 1:41 PM, Chris Rebert wrote:
> On Tue, Jan 20, 2009 at 10:18 AM, MRAB wrote:
> > K-Dawg wrote:
> >>
> >> Can you
Can you overload methods in Python?
Can I have multiple __inits__ with different parameters passed in?
Thanks.
Kevin
--
http://mail.python.org/mailman/listinfo/python-list
Please forgive my beginner question. I have used python a little bit,
mainly as a scripting language to perform specific administrative tasks. I
have trying to learn to use it to develop applications but there are a few
things I do not understand.
I come from more of a Java background.
I do no
Nevermind, I am an idiot. I didn't realize what it was returning...
Please disregard.
Thanks.
Kevin
On Mon, Jan 19, 2009 at 2:14 PM, K-Dawg wrote:
> I am really new to python and am trying to learn it to do some projects. I
> wanted to perform a simple task and am having some t
I am really new to python and am trying to learn it to do some projects. I
wanted to perform a simple task and am having some trouble with it. I run
linux in a vm on a windows laptop for work. I have my laptop screen and an
external monitor. I move my Ubuntu VM back and forth depending on what
On Fri, Jul 18, 2008 at 3:43 PM, Stephen Johnson <[EMAIL PROTECTED]> wrote:
> Look up py2app and py2exe, for OS X and Windows, respectively. They are
> extensively documented and easy to use.
> On Jul 18, 2008, at 3:35 PM, KDawg44 wrote:
>
> Hi,
>
> I am very new to Python but find it very interes
18 matches
Mail list logo