ok - as i mentioned in my first email i use procmail to put THE BODY of all
incoming mail into a file (that is one per incoming email as i use the
variable $date-$time in the name).
now this file can contain only one email but it can also contain 2 or more
(this happens if for example there is a d
I know how to check msdn site, but I don't understand how things are
organized under windll
where do they have this ?
On Tue, Apr 1, 2008 at 5:45 PM, Alan Gauld <[EMAIL PROTECTED]>
wrote:
>
> "elis aeris" <[EMAIL PROTECTED]> wrote
>
> > this is a sample code that use window.h function i THINK.
>
"elis aeris" <[EMAIL PROTECTED]> wrote
> this is a sample code that use window.h function i THINK.
>
> where can I read up on windll ?
The Windows API is documented on the MSDN website.
Alternatively find a copy of the Win32API help file, it is usually
distributed with development tools like
this is a sample code that use window.h function i THINK.
where can I read up on windll ?
class RECT(Structure):
_fields_ = [
('left', c_ulong),
('top', c_ulong),
('right', c_ulong),
('bottom', c_ulong)
]
# time.sleep(2)
GetForegroundWindow = windll.user32.GetForegro
Hello All,
I recently came across couple of websites (www.parleys.com and
www.zentation.com) and loved the sync technology between ppt and streaming
video. This makes website experience look fast and impressive. I was just
curious to know the how is it all done. What technology/software is being
us
* apologies if you receive cross-posted duplicates *
FINAL REMINDER
Need to get up-to-speed with Python as quickly as possible? Come join
me, Wesley Chun, author of Prentice-Hall's well-received "Core Python
Programming," for another comprehensive intro course next month in
beautiful Northern Cal
On Tue, Apr 01, 2008 at 09:07:04PM +, linuxian iandsd wrote:
> a=open('/home/john/data/file_input.tmp', 'r')
> b=open('/home/john/data/file_output', 'w')
This is collecting mail as it comes in? If you have a mail
rule in place to dump mail into this file_input.tmp file,
you could run into tro
"Alan Gauld" <[EMAIL PROTECTED]> wrote
>> I import msvcrt (running on Windows) but I cant get it to run.
>> Is ther somewhere a sample I could peek on?
>
I just noticed the bit about IDLE in the subject.
msvcrt only works in a DOS console it won't work in
IDLE because IDLE is detecting the key
well, my script is so simple ! nothing complicated
#!/usr/bin/python
#
import re, sys
a=open('/home/john/data/file_input.tmp', 'r')
b=open('/home/john/data/file_output', 'w')
aa=a.readlines()
n=0
for L in aa:
# I split every line because i only need what's after the ":"
# the email comes in the
I tried to extract methods, and invert your logic of your if/else statements
as to put shorter code blocks higher, and tried to roll many of your if
statements into the checks of the while loops. This is algorithm I ended up
with. Is this what you were trying to do? The last while loop is pointless
If you're just talking about something like this (ascii art) drawing:
1:* * * * * * * * **
0: * * * ** * * * * * * * * * * * * * *
-
"Sommer, Matthias" <[EMAIL PROTECTED]> wrote
> In the library reference I found "kbhit()" and "getch()" from
> msvcrt.
> I import msvcrt (running on Windows) but I cant get it to run.
> Is ther somewhere a sample I could peek on?
You can look at the event handling topic in my tutor.
It goves an
Please ignore, switching email address.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello,
I'm just starting programming in Python. ATM I do write some smaller practices.
In them I want to read single keys, if pressed. If none pressed I do not want
to wait.
In the library reference I found "kbhit()" and "getch()" from msvcrt. I import
msvcrt (running on Windows) but I cant
14 matches
Mail list logo