Re: Windows bandwidth monitor

2006-09-13 Thread RunLevelZero
Cool thanks -- http://mail.python.org/mailman/listinfo/python-list

Windows bandwidth monitor

2006-09-13 Thread RunLevelZero
Hey guys, I've done some searching but can't seem to find anything that helps me out. I want to write a simple bandwidth monitor that will sit in the taskbar of windows and tell me my upload and download speeds. I intend to use wxpython for the little taskbar icon. If anyone can give me a helping h

Re: a good programming text editor (not IDE)

2006-06-15 Thread RunLevelZero
Your SciTE problem is easily fixable by choosing " options / Open Global Options File " and then there are plenty of settings. Use the SciTE.html file and it will explain them all and there are many but the defaults usually work well to start out. I have had no issues with Linux. I use Debian. H

Re: Regular Expression help

2006-04-27 Thread RunLevelZero
Interesting... thank you. -- http://mail.python.org/mailman/listinfo/python-list

Re: Regular Expression help

2006-04-27 Thread RunLevelZero
r']*>(.*?)' With a slight modification that did exactly what I wanted, and yes the findall was the only way to get all that I needed as I buffered all the read. Thanks a bunch. -- http://mail.python.org/mailman/listinfo/python-list

Re: Regular Expression help

2006-04-27 Thread RunLevelZero
I considered that but what I need is simple and I don't want to use another library for something so simple but thank you. Plus I don't understand them all that well :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Regular Expression help

2006-04-27 Thread RunLevelZero
Great I will test this out once I have the time... thanks for the quick response -- http://mail.python.org/mailman/listinfo/python-list

Regular Expression help

2006-04-27 Thread RunLevelZero
I have some data and I need to put it in a list in a particular way. I have that figured out but there is " stuff " in the data that I don't want. Example: 10:00am - 11:00am: The Price Is Right All I want is " Price Is Right " Here is the re. findshows = re.compile(r'(\d\d:\d\d\D\D\s-\s\d\d:\

Re: Coming from delphi - looking for an IDE - willing to spend money

2006-04-25 Thread RunLevelZero
Check out SciTE. It is from the creator of Scintilla and it's great. It's not a full IDE but with python you'll learn you really don't need it, at least IMHO. It's fast and works on windows and Linux. http://www.scintilla.org/SciTE.html I would also checkout WingIDE. Its one of the best, again

Re: RegExp question

2006-04-11 Thread RunLevelZero
In my opinion you would be best to use a tool like Kiki. http://project5.freezope.org/kiki/index.html/# This will allow you to paste in the actual text you want to search and then play with different RE's and set flags with a simple mouse click so you can find just what you want. Rember what re.D

Re: wxPython Question

2006-04-07 Thread RunLevelZero
Well you will need to download the " docs demos and tools " and that contains a windows help file that is easily searchable. If you run Linux there is a Gnome tool to run the help file in Linux if you so wish. -- http://mail.python.org/mailman/listinfo/python-list

Re: glob and curly brackets

2006-04-07 Thread RunLevelZero
You just need to literlize them with a forward slash. " globber = '/home/zhomer/test/{dir1*,dir2*}/{subdir1,subdir2}' globlist = glob.glob(globber) " globber = '/home/zhomer/test/\{dir1*,dir2*\}/\{subdir1,subdir2\}' globlist = glob.glob(globber) See if that works for you. -- http://mail.pytho

Re: ftplib question

2006-04-07 Thread RunLevelZero
Well I am not too familiar with ftplib but I have done some minimal work. Example: try: server=FTP() server.connect('ftp.mcafee.com', 21) except: print "Could not connect to server" raw_input("Hit Enter to quit:") sys.exit(0) login = server.login('anonymous', '[EMAIL PROTEC

Re: wxPython Question

2006-04-07 Thread RunLevelZero
I think you are looking for a drag and drop GUI builder? If so then http://wxglade.sourceforge.net/ -- wxglade is what you need. There are some others but this is what I prefer myself. -- http://mail.python.org/mailman/listinfo/python-list

Re: re.sub problem

2006-03-31 Thread RunLevelZero
Glad I could help. -- http://mail.python.org/mailman/listinfo/python-list

Re: re.sub problem

2006-03-31 Thread RunLevelZero
Okay I just woke up and haven't had enough coffee so if I'm off here please forgive me. Are you saying that if there is an emptly line then it borks? If so just use re.S ( re.DOTALL ) and that should take care of it. It will treat the ( . ) special. Otherwise it ignores new lines. -- http://m

Re: cd burning

2006-03-31 Thread RunLevelZero
I am hopeing something has developed myself. I have been waiting awhile. I simply don't want to use cdrecord or cdrdao. If I had the know how I would be working on it but I believe this is a massive undertaking and rather hard to accomplish. I do hope this happens very soon though. Libburn mig

Re: Any wing2.0 users here?

2006-01-02 Thread RunLevelZero
I think it's one of the best myself. I littel laggy on windows but you get use to it. Just my .02 -- http://mail.python.org/mailman/listinfo/python-list

Re: How to use DrPython plugins

2005-08-06 Thread RunLevelZero
Well I think you should post in this forum and you will get your answer more quickly. http://sourceforge.net/forum/?group_id=83074 I'm not sure which version you are using? The developer for DrPython is rather busy right now but someone else there might be able to help you a bit more than me. H

Re: Try this

2005-07-25 Thread RunLevelZero
Indeed.. I did click reply but I guess I wasn't paying attention. My bad. -- http://mail.python.org/mailman/listinfo/python-list

Try this

2005-07-24 Thread RunLevelZero
I'm not sure I understand your first question but checkout the " glob " module. Sounds like it may help. Here is how you could get the folders and filenames import os list = os.walk("C:\python24\Tools") for file in list: folderlist = os.path.split(file[0]) print "Folder*

pygtk question

2005-06-14 Thread RunLevelZero
Hopefully someone can help me out here. It's probably super simple but how do you select multiple items in a treeview? I have gtk.SELECTION_MULTIPLE set but of course that was enough. I have tried catching the ctrl button press but still nothing. Perhaps there is a better place to ask but I tho

Re: Easy way to detect hard drives and partitions in Linux

2005-06-02 Thread RunLevelZero
Jeff Epler wrote: > You're not going to find a single portable "unix" way of doing this. > The format of /etc/fstab and /etc/mtab are pretty portable, but they > only list mountable/mounted partitions, not all partitions. > > In addition to the linux possibilities mentioned in another reply, ther

Easy way to detect hard drives and partitions in Linux

2005-06-02 Thread RunLevelZero
I need a way to detect hard drives and their partitions... labels would be nice too... I did some googling but did not find anything all too useful. This will strictly be on Linux / Unix so any help would be greatly appreciated. TIA -- http://mail.python.org/mailman/listinfo/python-list