Hi
Currently I'm writing a GUI application with wxPython (on OS X, but I
guess the problem is the same, regardless of the UNIX derivative one is
using). When I start the main script where it is located the
application finds all resource files (non-Python files like images and
html files fo
I'm having trouble with this code which is meant to run a time
comparison between two similar functions. The first module is
makezeros.py
def lots_of_appends():
zeros = []
for i in range(1):
zeros.append(0)
def one_multiply():
zeros = [0] * 10
how can i get my email address removed, I'm receiving way too many
emails
You have a few options. You may want to see if just turning the Tutor
mailing list setting to "Digest Mode" might help. You can do this
through:
http://mail.python.org/mailman/options/[EMAIL PROTECTED]
Personally, I fi
I still want to know why you want to write one, however.On 6/9/05, Vladimir Rasputin <[EMAIL PROTECTED]
> wrote:No i was just wondering which language would be a good one to make a
keylogger with. Could you reconmend the one that would be the easiest?>From: Liam Clarke <[EMAIL PROTECTED]>>Reply-To:
lmac wrote:
> Hi there,
> i want to use an long int from an list which i got from my function
> find_lineno().
> But i got this error and i don't understand why i can not use this long
> as an argument.
You have the arguments to file.seek() reversed.
> Where do i find a good documentation on er
EUGENE ASTLEY wrote:
> I tried your suggestion but it does not work for me. I get a syntax
> error at use of the first question mark when trying it in Idle.
> When I try it from the desktop, it just flashes a black screen and
> returns me to the desktop.
> What is the question mark used for?
Some
Hi there,
i want to use an long int from an list which i got from my function
find_lineno().
But i got this error and i don't understand why i can not use this long
as an argument.
Where do i find a good documentation on errors so that i complete
understand what
the heck is going on.
Many thanks
> Subject: [Tutor] FW: Tutor Digest, Vol 16, Issue 21, #3 Text problem
Its best not to reply to the list digest header mail!
If for no other reason than the fact you send the whole
digest out with your mail which isn't very friendly
for those still using slow dial up!
:-)
> I tried your suggest
Kristiano,
It is sometimes hard to tell the indentions in an email but it looks like
your last line
print "Just right"
has a space in front of it. Python does not know what logical block the
indented part belongs to.
John Ertl
-Original Message-
From: Kristiano Ang [mailto:[EMAIL PR
Hey guys,
I'm pretty new to Python (using Mac Python 2.4.1) and have a
question with formatting that I hope you can help me with.
Sometimes, when I write code with Python (copied off tuts.), I get
error messages and highlights of the word "else". Take for example:
#plays the guessing game hig
I tried your suggestion but it does not work for me. I get a syntax
error at use of the first question mark when trying it in Idle.
When I try it from the desktop, it just flashes a black screen and
returns me to the desktop.
What is the question mark used for? I looked up the use of % and the
glos
Hey Lee,
I can empathise with your learning of OO. Once you get past the buzz,
it's just a way of designing programmes that's good for certain
situations. Very useful for things like writing text validators for
GUIs as an abstract class and subclassing all windows from that to
inherit the validat
Javier, Allen, Kent, Liam
Hmm, I think I understand what you all are saying. Basically, my
familiar take on "code reuse" (the function model) as used in the
utility is essentially not rewriting any more of a block than what is
different, as opposed to "do all" blocks with convoluted switchi
An alternative win32 approach is -
Use something like IEC http://www.mayukhbose.com/python/IEC/index.php
or PAMIE http://pamie.sourceforge.net/, or you can use the python win32
extensions http://starship.python.net/crew/skippy/win32/Downloads.html
and use IE & navigate through the DOM... but PAMIE
Path looks good. Cheers Kent. On 6/8/05, Kent Johnson <[EMAIL PROTECTED]> wrote:
Lee Cullens wrote:> I was thinking of extending the learning exercise by re-factoring it> as an OO approach, since it would contain a minimum altered method.> Being new to OOP also though, I'm confusing myself with how
Lee Cullens wrote:
> I was thinking of extending the learning exercise by re-factoring it
> as an OO approach, since it would contain a minimum altered method.
> Being new to OOP also though, I'm confusing myself with how that
> would be best accomplished. My thinking is that class/subclass
[EMAIL PROTECTED] wrote:
>
> I am looking for a web scraping sample.who can help me?
Take a look at Beautiful Soup
http://www.crummy.com/software/BeautifulSoup/
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
I am looking for a web scraping sample.who
can help me?
Best & Regards
Adam Tang
Myetone info.tech. Co.,Ltd.
Tel: (021)53852321-801
Fax:(021)53852320
Mail: [EMAIL PROTECTED]
Msn:[EMAIL PROTECTED]
Skype:tangyuejun
Address: 403 Room,18 Xichang Road(M)
Ganglu Plaza Shanghai,China
Post Code: 21
Out of curiosity, why the interest in logging keys?
I'm also pretty sure that a Python programme couldn't run as quietly as most keyloggers tend to...On 6/8/05, Vladimir Rasputin <
[EMAIL PROTECTED]> wrote:Can i make a keylogger using python?has anyone ever made one/tryed to make one?
does any one
Personally, I find the Digest a bit harder to use, so I just use my
gmail account for the list, and use filters to automatically tag the
Python list, and gmail's so ludicrously big, you don't really notice
that you have 2208 messages stored. Then they're easy to search through
as well.
Liam Clark
> You've certainly given me a mouthful to chew on :~) I was thinking
> more in terms of "OOP is about code reuse"
Thats not a good approach to OOP. Code reuse is often as easy
to achieve using modules and functions.
As Javier said OOP is aboiut "things" - objects. You need to
build your whole de
21 matches
Mail list logo