Forum: Python Jun 17th, 2009 |
| Replies: 1 Views: 176 I cannot seem to figure this out. This part of a larger script that I am writing. I have a list that looks like this. The fields are servername, port and program. How do I sort it to get a tally... |
Forum: Python Dec 3rd, 2008 |
| Replies: 0 Views: 308 I am connecting to Active Directory using python-ldap to query some information. I am also using getpass to get my password used to bind via ldap. This works just fine.
What I am trying to do is... |
Forum: Python Nov 24th, 2008 |
| Replies: 2 Views: 444 Not quite sure what you are looking for but take a look at ClientForm: http://wwwsearch.sourceforge.net/ClientForm/ |
Forum: Python Nov 20th, 2008 |
| Replies: 4 Views: 650 OK, this may be a dumb question but I'll ask anyway. I am starting to see the benefits of using classes. Most notably code reuse, inheritance and overloading. Shoud I still be writing fuctions in... |
Forum: Python Nov 14th, 2008 |
| Replies: 5 Views: 469 Well, I don't think I'm ready for Wxpython so I'm gonna try to use Threading. I am also looking at the code for "hacker_top.py" which is along the lines of what I want to do. If someone out there... |
Forum: Python Nov 14th, 2008 |
| Replies: 5 Views: 469 Using raw_input() would be way easy but my script updates every 5 minuites. And I am not sure that the script would be able to update if it's waiting on user input. |
Forum: Python Nov 14th, 2008 |
| Replies: 5 Views: 469 I have written a script that scrapes a particular website and returns the date of an article, description and url. I want to display this information on the console with clickable text so that when... |
Forum: Python Nov 12th, 2008 |
| Replies: 2 Views: 752 My bad. I was running the code from idle and kept getting a 'RuntimeError: maximum recursion depth exceeded' error message. I am not quite sure why but it works from the console. Thanks! |
Forum: Python Nov 11th, 2008 |
| Replies: 2 Views: 752 I am trying to run the following screen scraping script but it's not displaying any output. Can someone tell me what I'm doing wrong?
from BeautifulSoup import BeautifulSoup
import urllib
... |
Forum: Python Jun 2nd, 2008 |
| Replies: 3 Views: 11,712 For my first script, I thought I didn't do to bad. This makes much more sense to me now. By simply adding the extra print statements, found flag and the returns from the datecheck funtion really... |
Forum: Python May 30th, 2008 |
| Replies: 3 Views: 11,712 I am still reading the learing python o'reilly book and not sure the best way to approch my problem.
Given c:\dir1\dir2\dir3.
I want to zip all files in dir3 if those files are older than 30... |