[Tutor] interested in python

2006-08-28 Thread Conrad Bellman
I am just wondering if I would be able to hire a tutor to learn Python or not, I know there is a tutorial, but I dont seem to be learning throught tuturials, my questions is there any tutors Online & Phone, i reside in Canada , Ontario , Brampton.   [EMAIL PROTECTED]   thank you very much for y

Re: [Tutor] omnicomplete vim python

2006-08-28 Thread anil maran
i want some form of suggestion or autocompletionso if i sayimport aspelland then typeaspell.i know what are available without running to pyshell or some interpreterand aspell.Dict(should suggest wat are the possible argumentsAlan Gauld <[EMAIL PROTECTED]> wrote: > anil maran wrote:>> do u guys know

[Tutor] Securing a Computer...

2006-08-28 Thread mjrmonkeyman
I just got into high school, and the network and all the computers aren't secure at all...I'm trying to make a program that password protects the computer after an inactivity time, but there are some specific things I can't find how I'm supposed to do it. 1. Freeze/unfreeze Windows processes OR s

Re: [Tutor] How would I make a program that password protects on an inactivity timer?

2006-08-28 Thread John Fouhy
On 29/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > If this is not possible, is there any way to end/restart the explorer.exe > program? If not, is there any other way you would reccomend securing the > computer? (not a program thats downloaded, we have to prove that everything > we downloa

[Tutor] How would I make a program that password protects on an inactivity timer?

2006-08-28 Thread mjrmonkeyman
(This is on Windows, on something called novell, or something close which acts as a logon service) I recently got into high school and we tested our logins for the computers... That was when I noticed that there's no way to activate password protection on inactivity, or no way to secure the compu

Re: [Tutor] making independent program?

2006-08-28 Thread John Fouhy
On 29/08/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > Thats probably because the most common methods for > producing an exe file are "non-trivial" to use, especially for > newbies. > > Look up py2exe on Google... py2exe is not too hard for simple tasks (unless something goes wrong), especially if y

Re: [Tutor] making independent program?

2006-08-28 Thread Alan Gauld
> Can you make programs that don't require an installation > of Python to run? Yes, and no. See below... > I want my little program to run on other peoples' computers, > without them having to install Python to use it. There are several ways to fake this, nearly all of them involve pack

Re: [Tutor] tkinter events:

2006-08-28 Thread Alan Gauld
I just found this message (because Mike posted the tinyurl) and couldn't resist responding... "Zsiros Levente" <[EMAIL PROTECTED]> wrote > If we're talking about data hiding, let me ask: why Python doesn't > implement data hiding (I mean 'private' and 'protected')? I consider > it > a very im

Re: [Tutor] making independent program?

2006-08-28 Thread Kay White
Mike Hansen <[EMAIL PROTECTED]> wrote: From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] On Behalf Of KayWhite Sent: Monday, August 28, 2006 1:45 PM To: tutor@python.org Subject: [Tutor] making independent program? Hello again, Can you make programs that don't require an installation ofPython t

Re: [Tutor] omnicomplete vim python

2006-08-28 Thread Alan Gauld
> anil maran wrote: >> do u guys know how to enable omnicomplete using vim >> for python thanks > > Google is your friend, here's a page: > > http://www.vim.org/tips/tip.php?tip_id=1311 > > Actually, I didn't ven know this existed. And for those like me who still didn't know what it is: http://vi

Re: [Tutor] making independent program?

2006-08-28 Thread Mike Hansen
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kay White Sent: Monday, August 28, 2006 1:45 PM To: tutor@python.org Subject: [Tutor] making independent program? Hello again, Can you make programs that don't r

[Tutor] making independent program?

2006-08-28 Thread Kay White
Hello again,Can you make programs that don't require an installation of Python to run? I want my little program to run on other peoples' computers, without them having to install Python to use it. I've searched through tutorials and there doesn't seem to be any information about this.

Re: [Tutor] re syntax

2006-08-28 Thread ORIE HURST
>From: Kent Johnson <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] txtx back> >> > > > > It's easy ;-) It's the "whitespace" part. I read it as the space >character, > > not as any blank character. I should have noted that new lines are >ignored > > too, but I didn't. > > > > (I just looked a litt

Re: [Tutor] re syntax

2006-08-28 Thread Kent Johnson
Tiago Saboga wrote: > Em Segunda 28 Agosto 2006 11:12, Kent Johnson escreveu: > >> Ahem. Which part of "Whitespace within the pattern is ignored" do you >> not understand? :-) >> > > It's easy ;-) It's the "whitespace" part. I read it as the space character, > not as any blank character. I

Re: [Tutor] re syntax

2006-08-28 Thread Tiago Saboga
Em Segunda 28 Agosto 2006 11:12, Kent Johnson escreveu: > Ahem. Which part of "Whitespace within the pattern is ignored" do you > not understand? :-) It's easy ;-) It's the "whitespace" part. I read it as the space character, not as any blank character. I should have noted that new lines are igno

Re: [Tutor] tkinter events:

2006-08-28 Thread Mike Hansen
Yep...across multiple lines. Here's a tinyurl of it http://tinyurl.com/n93au Mike > -Original Message- > From: Zsiros Levente [mailto:[EMAIL PROTECTED] > Sent: Friday, August 25, 2006 11:37 PM > To: Mike Hansen > Cc: python tutor > Subject: Re: [Tutor] tkinter events: > > The link i

Re: [Tutor] Regex help

2006-08-28 Thread Kent Johnson
William O'Higgins Witteman wrote: > On Mon, Aug 28, 2006 at 11:36:18AM -0400, Kent Johnson wrote: > >> William O'Higgins Witteman wrote: >> >>> Thank you for this. The problem is apparently not my syntax, but >>> something else. Here is a pared-down snippet of what I'm doing: >>> >>> In [1

Re: [Tutor] Regex help

2006-08-28 Thread William O'Higgins Witteman
On Mon, Aug 28, 2006 at 11:36:18AM -0400, Kent Johnson wrote: >William O'Higgins Witteman wrote: >> Thank you for this. The problem is apparently not my syntax, but >> something else. Here is a pared-down snippet of what I'm doing: >> >> In [1]: import re >> >> In [2]: pat = re.compile(''' >>

Re: [Tutor] omnicomplete vim python

2006-08-28 Thread Hugo González Monteverde
anil maran wrote: > do u guys know how to enable omnicomplete using vim > for python thanks Google is your friend, here's a page: http://www.vim.org/tips/tip.php?tip_id=1311 Actually, I didn't ven know this existed. Hugo ___ Tutor maillist - Tuto

Re: [Tutor] Regex help

2006-08-28 Thread Kent Johnson
William O'Higgins Witteman wrote: > Thank you for this. The problem is apparently not my syntax, but > something else. Here is a pared-down snippet of what I'm doing: > > In [1]: import re > > In [2]: pat = re.compile(''' > ...:copy of > ...:| > ...:admin > ...

Re: [Tutor] Regex help

2006-08-28 Thread William O'Higgins Witteman
On Sat, Aug 26, 2006 at 09:45:04AM -0400, Kent Johnson wrote: >William O'Higgins Witteman wrote: >> I want a case-insensitive, verbose pattern. I have a long-ish list of >> match criteria (about a dozen distinct cases), which should be all "or", >> so I won't need to be clever with precedence. > >

Re: [Tutor] re syntax

2006-08-28 Thread Kent Johnson
Tiago Saboga wrote: > The problem is: why the hell do I need > to escape special caracters when in verbose mode? And why isn't it made clear > on the re module doc page ( http://docs.python.org/lib/module-re.html ). > > I'll just paste below (or above? I never know how to say this in english) my

[Tutor] re syntax

2006-08-28 Thread Tiago Saboga
A couple of weeks ago I asked about a way to parse man pages, and Danny and Alan answered me with some tips (thanks). I've tryed doclifter, which I already knew, but could not yet master it; in fact, it just doesn't work with many of the man-pages I tried in my debian system. Anyway, I'm refresh

Re: [Tutor] How to use getch()?

2006-08-28 Thread Dick Moores
At 01:57 AM 8/28/2006, Alan Gauld wrote: > > while answer == "": > > c = 0 > > timeStart = time.time() > > while True: > > c += 1 > > if msvcrt.kbhit(): > >if msvcrt.getch() == ' ': > >break > > if msvcrt.kbhit(): > >if msv

Re: [Tutor] Regex help

2006-08-28 Thread Michael Janssen
On 8/26/06, William O'Higgins Witteman <[EMAIL PROTECTED]> wrote: > I want a case-insensitive, verbose pattern. I have a long-ish list of > match criteria (about a dozen distinct cases), which should be all "or", > so I won't need to be clever with precedence. BTW I find it easier not to use re.

Re: [Tutor] How to use getch()?

2006-08-28 Thread Alan Gauld
Hi Dick, I'll move my replies back into the public discussion... > while answer == "": > c = 0 > timeStart = time.time() > while True: > c += 1 > if msvcrt.kbhit(): >if msvcrt.getch() == ' ': >break > if msvcrt.kbhit(): >