Re: [Tutor] Automating Windows (Maintenance)

2007-07-02 Thread Tiger12506
> "Daniel McQuay" <[EMAIL PROTECTED]> wrote > >> I wondering if any one uses Python to do such things as defragment, >> clean up >> temp files, check for hard drive errors, check for unusual processes >> running, and so on. Watch and be amazed... import os os.system('defrag.

[Tutor] Here's what you need

2007-07-02 Thread Tiger12506
Dear elis: I just read the large volume of messages that you have sent causing mild confusion and misunderstanding relating to your OCR project. You have expressed wishes to learn python quickly, and to take a class. Therefore, I suggest you look here - any of these are more than enough of

Re: [Tutor] Automating Windows (Maintenance)

2007-07-02 Thread Alan Gauld
"Daniel McQuay" <[EMAIL PROTECTED]> wrote > I wondering if any one uses Python to do such things as defragment, > clean up > temp files, check for hard drive errors, check for unusual processes > running, and so on. Mostly I rely on Windows schedulling to do those things because the tools exist

Re: [Tutor] pop up window

2007-07-02 Thread Alan Gauld
"Thorsten Kampe" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >* elis aeris (Mon, 2 Jul 2007 02:32:07 -0700) >> i won't do that again, i am a 2 day newbie (hello) >> >> uh, >> >> how about a less quick one that's built-in in python ? > > Are you replying to me? Please quote the par

[Tutor] Searching for word in text file

2007-07-02 Thread Vladimir Strycek
Hi all, i need script which open two text files and take first word from the first file, runn throught first fords of second file and give me result if its there or not... what i have so far is: import re, string # Nacitanie suborov na porovnanie subor1 = open("snow.txt", "r") subor2 = open("

Re: [Tutor] optimization: faster than for

2007-07-02 Thread Alan Gauld
"elis aeris" <[EMAIL PROTECTED]> wrote > The letter I equals to "282" because it has 2 points on the y axis > of the > first point, and 8 points on the y axis on the second, and then 2 on > the > last one. > > So the string would be translated into: > > 282017220300004222400722240172206 a

Re: [Tutor] Automating Windows (Maintenance)

2007-07-02 Thread Tim Golden
Daniel McQuay wrote: > I wondering if any one uses Python to do such things as defragment, > clean up temp files, check for hard drive errors, check for unusual > processes running, and so on. I am in charge of maintaining a lot of > Windows PC's and it would make life so much easier if i could

Re: [Tutor] Automating Windows (Maintenance)

2007-07-02 Thread Tim Golden
Daniel McQuay wrote: > I wondering if any one uses Python to do such things as defragment, > clean up temp files, check for hard drive errors, check for unusual > processes running, and so on. I am in charge of maintaining a lot of > Windows PC's and it would make life so much easier if i could

[Tutor] Automating Windows (Maintenance)

2007-07-02 Thread Daniel McQuay
Hey guys, I wondering if any one uses Python to do such things as defragment, clean up temp files, check for hard drive errors, check for unusual processes running, and so on. I am in charge of maintaining a lot of Windows PC's and it would make life so much easier if i could automate some of the

Re: [Tutor] Power Shells [WAS:] optimization: faster than for

2007-07-02 Thread Eike Welk
On Monday 02 July 2007 00:38, ALAN GAULD wrote: > > > >> In [6]:f7([97, 98, 99]) > > > >> Out[6]:'abc' > > > > > > I can't remember which tool does this - IronPython maybe? > > > > It's IPython -- http://ipython.scipy.org/moin/ > > Now for some reason I assumed IPython was the IDE for IronPython. >

Re: [Tutor] Tutor Digest, Vol 41, Issue 7

2007-07-02 Thread elis aeris
they cancelled this class http://reg.cstudies.ubc.ca/course_info.cfm?courseid=IP468 due to low enrollment. I'd love to be in a class. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Tutor Digest, Vol 41, Issue 7

2007-07-02 Thread ron
hi steve, I have summer class for next three monday and wednesday evenings. we'll catch up someday. sorry, ron Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.

Re: [Tutor] Power Shells [WAS:] optimization: faster than for

2007-07-02 Thread bhaaluu
Greetings, I am new, and have been lurking and reading Python tutorials in the background, while reading the posts from this list. Since I have looked at so many things, I'm not sure where I found this, but it works great (I'm running a version of Debian GNU/Linux). I use the vim text editor,

Re: [Tutor] put data from text file into list

2007-07-02 Thread Kent Johnson
Mike Hoy wrote: > is it possible to take information contained inside a text file and put > it into a list? My text file contains info derived from a list so it > looks like this: ['foo','bar']. If the file is Python syntax (including an assignment) you can import it directly. Or try one of the

Re: [Tutor] pop up window

2007-07-02 Thread Thorsten Kampe
* elis aeris (Mon, 2 Jul 2007 02:32:07 -0700) > i won't do that again, i am a 2 day newbie (hello) > > uh, > > how about a less quick one that's built-in in python ? Are you replying to me? Please quote the parts you are referring to. Anyway, Python does not come with "built-in pop-up support".

[Tutor] pop up window

2007-07-02 Thread elis aeris
i won't do that again, i am a 2 day newbie (hello) uh, how about a less quick one that's built-in in python ? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Power Shells [WAS:] optimization: faster than for

2007-07-02 Thread Thorsten Kampe
* elis aeris (Sun, 1 Jul 2007 22:27:11 -0700) > uh, can i ask about something very quickly? Don't hijack a completely unreleated thread. > how do i write a function to do > > a pop up window with designated window name, type (ok, cancel, those) and > message? Okay, a very quick answer: EasyGU