On 3/16/07, Ben <[EMAIL PROTECTED]> wrote:
> Is anyone can point me where I can find a good tutorial about pywin for
> someone like me?
Pywin itself is not a package for making GUIs, it's merely a IDE for
Windows and got the win32all-package included.
For GUIs, you want to look at wxPython, pygt
>>> ord('\x0D')
13
Johan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rikard Bosnjakovic
Sent: 16 March 2007 01:12 PM
To: Tutor@python.org
Subject: Re: [Tutor] convert hex number to decimal
On 3/16/07, ammar azif <[EMAIL PROTECTED]> wrote:
> Is the
ammar azif wrote:
> Is there any Built-in function to check whether a character is an
> ASCII character?
>
> I am trying to learn event driven programming in python. Heres my code:
>
> while 1:
> key=msvcrt.getch()
> if key==255:
> continue
Here's your problem.
>>> import msvcrt
Tim Johnson wrote:
> Hi:
> I want to be able to expire a cookie programmatically.
> In other languages, I just set the expiration date to 'yesterday'.
> If I look at the documentation at:
> http://docs.python.org/lib/node644.html
> for the Cookie object, I see the following:
> -
Is there any Built-in function to check whether a character is an ASCII
character?
I am trying to learn event driven programming in python. Heres my code:
while 1:
key=msvcrt.getch()
if key==255:
continue
else:
print "the key is ", key
But the output is:-
the key
Hi:
I want to be able to expire a cookie programmatically.
In other languages, I just set the expiration date to 'yesterday'.
If I look at the documentation at:
http://docs.python.org/lib/node644.html
for the Cookie object, I see the following:
--
> I think what you want is ...(*list_of_tuples) similar to the syntax used
> when calling functions with position arguments from a list.
Thanks, that bypasses the "TypeError: not all arguments converted during
string formatting" error but raises a new error
"TypeError: execute() takes at m
On 3/16/07, Switanek, Nick <[EMAIL PROTECTED]> wrote:
> After creating a list of words ('wordlist'), I can run the following
> code in the interactive window of PythonWin in about ten seconds. If I
> run the script containing the code, the script seems to hang on the
> loop. I'd be grateful for hel
Hi,
After creating a list of words ('wordlist'), I can run the following
code in the interactive window of PythonWin in about ten seconds. If I
run the script containing the code, the script seems to hang on the
loop. I'd be grateful for help as to why; I often seem to have something
that works in
Hi all,
I am a newbie to Python. I just learned python for two weeks, and I have to
say I feel very comfortable with the language. The stumbling blocks for me
is the development of the GUI. I am currently learning pywin (PythonWin) to
develop a gui. But I found it is very difficult. I have been s
On Friday 16 March 2007 06:52, ammar azif wrote:
> Is generator function similar to multi threading?
Yes, however unlike threads they are more general. They can be used in two
main ways:
* To generate a sequence of values
* To achieve something similar to multithreading, but without using
On 3/16/07, ammar azif <[EMAIL PROTECTED]> wrote:
> Is there any built-in function to convert a hex number to a decimal number?
>>> int("ff", 16)
255
--
- Rikard.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
HI,
Is there any built-in function to convert a hex number to a decimal number?
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.___
Tutor maillist - Tutor@python.org
http://mail
ammar azif wrote:
> Is generator function similar to multi threading?
Only in that they can be alternative ways to solve the same problem.
Generator functions are similar to co-routines and can be used to create
multiple lightweight tasks. SimPy (http://simpy.sourceforge.net/) is an
example of
Kirk Bailey wrote:
> I answered my own question digging around and testing stuff.
I can't tell you how glad I am to hear that: I was just
girding my loins (so to speak) to embark on an explanation
of the Win32 ACL model which would have involved seven levels
of explanation at the end of which you
15 matches
Mail list logo