This will be our best meeting yet! ChiPy's Monthly meeting this Thurs.
August 10, 2006. 7pm. (except for folks who want to help setup at 6:30
and get first dibs on pizza-compliments of Uncle Roy (Singham))
Topics
--
* Adrian Holovaty's new Django Add-on for quickly publishing websites.
*
John Salerno [EMAIL PROTECTED] wrote:
Can you use IPython to do normal bash things, like installing, etc.?
Most scripts on Linux have a hash-bang line as their first line:
#! /bin/sh
When you execute that script, the system knows that it has to load sh or
bash to process it, regardless of
If you did want a linux version you could just make people send a
KeyboardInterupt.
try:
print Press ^C to stop
loop
except KeyboardInterrupt:
some stop action or just pass
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel Genellina wrote:
At Thursday 10/8/2006 02:19, placid wrote:
chr = sys.stdin.read(1)
while chr != q:
keep printing text
chr = sys.stdin.read(1)
but again this blocks too.
is there a way to do this, wait for user input but dont block? I could
use a thread that just
So I'm investigating doing some SOAP work... Any concensus on
what the best python libraries are for doing this?
Too bad, xmlrpc is choking on our long longs. :-(
Many TIA,
Mark
--
Mark Harrison
Pixar Animation Studios
--
http://mail.python.org/mailman/listinfo/python-list
At Thursday 10/8/2006 03:38, Mark Harrison wrote:
So I'm investigating doing some SOAP work... Any concensus on
what the best python libraries are for doing this?
Too bad, xmlrpc is choking on our long longs. :-(
Just thinking, if you have control over the two ends, and dont need
real
Hi,
I've been using SOAPpy for a number of my work. Looks good.
maurice
Mark Harrison wrote:
So I'm investigating doing some SOAP work... Any concensus on
what the best python libraries are for doing this?
Too bad, xmlrpc is choking on our long longs. :-(
Many TIA,
Mark
--
Hi
i m a newbie to python ..
jus started to learn ...am quite confused about variable arguments used
in python functions and in init.
i dont where to use **keys , **kwds,*args ...etc...
if anyone culd give some explanation with examples or clear detailed
web link, it wuld be helpful to me
Am Wed, 09 Aug 2006 22:19:24 -0700 schrieb placid:
Hi all,
Im using the cmd module and i have command that loops and keeps on
printing text, what i want to be able to do is loop until the user
presses a particular key, say Q/q ? I tried the following code;
There is a portable getch()
David Isaac wrote:
Alan Isaac wrote:
I have a subclass of dict where __getitem__ returns None rather than
raising KeyError for missing keys. (The why of that is not important
for
this question.)
Bruno Desthuilliers [EMAIL PROTECTED] wrote:
Well, actually it may be important... What's so
hi
is it possible to create excel files using python in Unix env?
if so, what module should i use?
thanks
--
http://mail.python.org/mailman/listinfo/python-list
I would like to record visitor's IP address.How can I do that in
Python?
Thanks for help
L
--
http://mail.python.org/mailman/listinfo/python-list
is it possible to create excel files using python in Unix env?
Yes. An Excel file is just a sequence of bytes, and Python can write
sequences of bytes just fine. So can many other languages, but why
would you want to use anything but Python?
That's a useless answer to your question, I know.
flogic wrote:
Hi
i m a newbie to python ..
jus started to learn ...am quite confused about variable arguments used
in python functions and in init.
i dont where to use **keys , **kwds,*args ...etc...
if anyone culd give some explanation with examples or clear detailed
web link, it wuld
Hello everybody,
I was thinking about making a really insignificant addition to an
online system that I'm making using Python: namely, I would like it
to print the platform that it is running on in a human-readable
manner. I was thinking of doing it like this:
import sys
platforms = {
Dennis Lee Bieber [EMAIL PROTECTED] wrote:
| On 8 Aug 2006 04:59:34 -0700, [EMAIL PROTECTED] declaimed the
| following in comp.lang.python:
|
|
| Some of it may be a reaction from old-timers who remember FORTRAN,
| where (if memory serves), code had to start in column 16 and code
|
[EMAIL PROTECTED] wrote:
hi
is it possible to create excel files using python in Unix env?
if so, what module should i use?
Try this:
http://cheeseshop.python.org/pypi/pyExcelerator/0.6.0a
... writes Excel files without apparent difficulty, doesn't preach at
you :-)
--
Bruno Desthuilliers wrote:
Vlad Dogaru wrote:
Hello,
is there any PHP-like implementation for sessions in Python? I fear
that writing my own would be seriously insecure, besides I could
actually learn a lot by inspecting the code.
The reason I am asking is that I would like to
[EMAIL PROTECTED] wrote:
hi
is it possible to create excel files using python in Unix env?
if so, what module should i use?
thanks
You might want to give pyExelerator a try:
http://sourceforge.net/projects/pyexcelerator
Remark: I had the problem of having a bunch of Data on my Linux machine
Thanks a lot...
CIAO
Duncan Booth wrote:
flogic wrote:
Hi
i m a newbie to python ..
jus started to learn ...am quite confused about variable arguments used
in python functions and in init.
i dont where to use **keys , **kwds,*args ...etc...
if anyone culd give some
[EMAIL PROTECTED]:~$ python
Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type help, copyright, credits or license for more information.
# The cause of this problem is because you're using the console
... # to test getpass.
On Wed, 09 Aug 2006 12:50:11 -0700, ben81 wrote:
Hi,
the following code is adopted PseudoCode from Introduction to
Algorithms (Cormen et al).
I'm assuming you are doing this as a learning exercise, because -- trust
me on this -- nothing you write in pure Python code will come within cooee
Robin Haswell wrote:
[EMAIL PROTECTED]:~$ python
Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type help, copyright, credits or license for more information.
# The cause of this problem is because you're using the console
...
Op 10-aug-2006, om 10:44 heeft Sybren Stuvel het volgende geschreven:
Michiel Sikma enlightened us with:
However, in order to populate the list of platforms, I need to know
which strings sys.platform can return. I haven't found any
documentation on this, but I guess that I'm not looking in
Hi there,
I have installed Python 2.3.5 on Suse Linux 10.
If I enter python in the shell, the Python 2.3.5 interpreter is called.
After I installed Python 2.4.3. the Python 2.4.3 interpreter is called
which is the default behaviour I guess.
which python brings me /usr/local/bin/python which
In message [EMAIL PROTECTED],
[EMAIL PROTECTED] writes
No. In that case Python makes it more readily apparent that your code is
too complex.
If only life and software engineering was that simple. Not every problem
can be reduced to one screenful of code, not in the real world anyway.
Stephen
In message [EMAIL PROTECTED],
Gerhard Fiedler [EMAIL PROTECTED] writes
I mean the code should be written so that as few as possible comments are
necessary to understand it. I don't mean that additional comments are a bad
thing.
Agreed. Concise code is always good.
Just found this on c.l.ruby.
On 8/10/06, Nico Grubert [EMAIL PROTECTED] wrote:
Hi there,
I have installed Python 2.3.5 on Suse Linux 10.
If I enter python in the shell, the Python 2.3.5 interpreter is called.
After I installed Python 2.4.3. the Python 2.4.3 interpreter is called
which is the default behaviour I guess.
Hey there
Soon we will have many squid proxies on many seperate connections for use
by our services. I want to make them available to users via a single HTTP
proxy - however, I want fine-grained control over how the squid proxies
are selected for each connection. This is so I can collect
Op 10-aug-2006, om 11:50 heeft Sybren Stüvel het volgende geschreven:
On Thu, Aug 10, 2006 at 11:46:03AM +0200, Michiel Sikma wrote:
So there probably isn't even any kind of list that we can find?
That's too bad. It's not a big loss to me, but I imagine that it's
kind of annoying if you
For example:
print '%8s' % '\x1b[34mTEST\x1b[0m'
doesn't not indent 'TEST' whereas
print '%8s' % TEST'
works.
--
http://mail.python.org/mailman/listinfo/python-list
Please look again at the OP's post. Here is the relevant part, with my
annotations:
You're right, my bad. It's still first thing in the morning here :'(
-Rob
--
http://mail.python.org/mailman/listinfo/python-list
Robin Haswell wrote:
Hey there
Soon we will have many squid proxies on many seperate connections for use
by our services. I want to make them available to users via a single HTTP
proxy - however, I want fine-grained control over how the squid proxies
are selected for each connection. This
At Thursday 10/8/2006 07:04, Anton81 wrote:
For example:
print '%8s' % '\x1b[34mTEST\x1b[0m'
doesn't not indent 'TEST' whereas
print '%8s' % TEST'
works.
If you insist on building the codes yourself instead of using the
standard curses library...
print '\x1b[34m%8s\x1b[0m' % 'TEST'
Sybren Stuvel wrote:
Lad enlightened us with:
I would like to record visitor's IP address.How can I do that in
Python?
Too little information. Visitors of what?
Sybren
I have a website written in Python and I would like to login every
visitor's IP address.
In other words, if a visitor
In article [EMAIL PROTECTED], Lad wrote:
I have a website written in Python and I would like to login every
visitor's IP address.
In other words, if a visitor come to my Python application, this
application will record his IP.
Depending on what CGI framework you're using, something like:
On Wed, 09 Aug 2006 07:33:41 -0700
Rob Wolfe [EMAIL PROTECTED] wrote:
# Slawomir Nowaczyk wrote:
#
# Really, typing brace after function/if/etc should add newlines and
# indent code as required -- automatically. Actually, for me, it is even
# *less* typing in C and similar languages... I
Hello,
Let's say I have a module emacs, defining function eexecfile(file):
def eexecfile(file):
# do other stuff
execfile(file,globals())
# do other stuff
Now, assume I have file test.py containing an assignment x=1
If I run python and do:
import emacs
emacs.eexecfile(test.py)
If you insist on building the codes yourself instead of using the
standard curses library...
print '\x1b[34m%8s\x1b[0m' % 'TEST'
Will the curses library help? The problem is I need the colour coded in my
string and the print pattern is static.
What's the quickest way to solve this without
Anton,
See if this suits your purpose: http://cheeseshop.python.org/pypi/SE/2.2%20beta
Below the dotted line is how it works.
Frederic
- Original Message -
From: Anton81 [EMAIL PROTECTED]
Newsgroups: comp.lang.python
To: python-list@python.org
Sent: Wednesday, August 09, 2006 7:48 PM
In message [EMAIL PROTECTED], Carl
Banks [EMAIL PROTECTED] writes
Stephen Kellett wrote:
I don't really understand how a closing brace helps here. Care to
explain why it helps you?
(Deeply nested long functions are evil anyways. If you have such a
I didn't write deeply nested. I wrote multiple
Michiel Sikma wrote:
So here's the question of the day: what does your sys.platform tell
you? :-)
uname -srv
HP-UX B.11.00 D
python -c import sys; print sys.platform
hp-ux11
Regards,
Rob
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED]:
my eventual goal is
to be able to put the pictures on the screen with a full-screen
interface. Not in a visible window, with just the picture and then a
black backdrop for it.
Pygame (plus PIL if you need) can do that, Pygame manages full screens
too.
Bye,
bearophile
--
Michiel Sikma wrote:
Hello everybody,
I was thinking about making a really insignificant addition to an
online system that I'm making using Python: namely, I would like it
to print the platform that it is running on in a human-readable
manner. I was thinking of doing it like this:
[... snip
Slawomir Nowaczyk wrote:
On Wed, 09 Aug 2006 07:33:41 -0700
Rob Wolfe [EMAIL PROTECTED] wrote:
# Slawomir Nowaczyk wrote:
#
# Really, typing brace after function/if/etc should add newlines and
# indent code as required -- automatically. Actually, for me, it is even
# *less* typing in C
Hello:
Are there any tools to convert non-object-oriented code
into object-oriented code?
If not, perhaps something that I can pass in two (or more)
classes and will create a base-class and simplify the passed
in classed to be derived from the base class?
Ideally this would be Python but
Yu-Xi Lim:
Thank you for your comments, and sorry for my last cryptic answer.
I think Bearophile isn't refering to compression of the dictionary, but the
predictive algorithms used by modern data compressors. However, I think he's
over-complicating the issue. It is *not* a data compression
Sybren Stuvel wrote:
Lad enlightened us with:
I have a website written in Python and I would like to login every
visitor's IP address.
Ehm... that's probably log not login.
In other words, if a visitor come to my Python application, this
application will record his IP. Is it
Robin Haswell wrote:
Hey there
Soon we will have many squid proxies on many seperate connections for use
by our services. I want to make them available to users via a single HTTP
proxy - however, I want fine-grained control over how the squid proxies
are selected for each connection. This
Carl Banks wrote:
Although Python doesn't do this, it is possible to mandate a specific
indent (4 spaces, say), or at least a reasonable consistent indent snip
I like running reindent.py (found in your Python source directory under
Tools/Scripts) which cleans up indentations, trailing
Stephen Kellett wrote:
function()
loop1()
blah
blah
loop2()
blah
loop3()
blah
blah3
otherloop()
I run PyDev and Eclipse on a 800mhz Celeron without any trouble. Just a
bit slow.
Michiel Sikma wrote:
I can attest to PyDev being an excellent extension to Eclipse. But
Eclipse kind of requires a heavy machine to run, being a gigantic
Java program.
Michiel
Op 8-aug-2006, om 15:36 heeft
Op 10-aug-2006, om 13:00 heeft Tim Golden het volgende geschreven:
Michiel Sikma wrote:
Hello everybody,
I was thinking about making a really insignificant addition to an
online system that I'm making using Python: namely, I would like it
to print the platform that it is running on in a
[EMAIL PROTECTED] wrote:
Carl Banks wrote:
Although Python doesn't do this, it is possible to mandate a specific
indent (4 spaces, say), or at least a reasonable consistent indent snip
I like running reindent.py (found in your Python source directory under
Tools/Scripts) which cleans up
I can't even vaguely concieve of how such a think could work, even at a
trivial, hypothetical level. The code converter would ahve to actualy
understand at a general level what the program does and how it does it,
then come up with an orriginal way to solve the same problem using a
different
Stephen Kellett wrote:
I really dislike that the end of loop2 is implicit rather than
explicit.
So you can't see at a glance how many blocks were closed. That's fair.
Add a little chalk mark to the against column.
C/C++ have quite a number of horrible styles (K/R being one)
Oddly, I
Hi there:
I was wondering if its at all possible to search through a string for a
specific character.
I want to search through a string backwords and find the last
period/comma, then take everything after that period/comma
Example
If i had a list:bread, butter, milk
I want to just take
I am by no means a serious programmer (which will become evident as you
read this very message), except that I use VBA almost daily to automate
Excel spreadsheets.
I do enjoy programming however and the only thing that prevented me
from learning a language other than VBA is the lack of a project.
Date: 9 Aug 2006 14:12:01 -0700From: "Simon Forman" [EMAIL PROTECTED]Subject: Re: Eval (was Re: Question about using python as a scripting language)To: python-list@python.orgMessage-ID: [EMAIL PROTECTED]Content-Type: text/plain; charset="iso-8859-1"Fredrik Lundh posted a great piece of code to
OriginalBrownster wrote:
Hi there:
I was wondering if its at all possible to search through a string for a
specific character.
I want to search through a string backwords and find the last
period/comma, then take everything after that period/comma
Example
If i had a list:bread,
On Thu, 10 Aug 2006 05:35:26 -0700, OriginalBrownster wrote:
Hi there:
I was wondering if its at all possible to search through a string for a
specific character.
I want to search through a string backwords and find the last
period/comma, then take everything after that period/comma
Noah wrote (among other things ;)):
I have a list of tuples
I want to reverse the order of the elements inside the tuples.
But it seems like there should be a clever way to do this with
a list comprehensions. Problem is I can't see how to apply
reverse() to each tuple in the list because
Sybren Stuvel wrote:
[EMAIL PROTECTED] enlightened us with:
Kader;
soru:madem,herþey bir kader defterinde yazýlý ve herþey ona göre
oluyor.o halde insanlar niçin cehenneme gidiyor?
cevap:evet herþey bir kader defterinde yazýlý ve herþey ona göre
oluyor.ama,defterde yazýlý olduðu için o þey
Michael Yanowitz wrote:
Hello:
Are there any tools to convert non-object-oriented code
into object-oriented code?
Yes, of course. That's what we call a programmer. Why ?
If not, perhaps something that I can pass in two (or more)
classes and will create a base-class and simplify the
It would be ease to create such a tool if you dont care if your code is
a Functional Decomposition
(http://c2.com/cgi/wiki?FunctionalDecomposition) AntiPatern. But OO
design is hard to do automagically from a bunch of functions and data
structures. Methods and attributes are in the same object for
Op 10-aug-2006, om 14:45 heeft [EMAIL PROTECTED] het volgende
geschreven:
Now my questions:
- is it legal? (I do have a subscription to Factiva. I do not
intend to
distribute the printouts)
- If so, can I use Python to automate this task?
Thank you.
--
Michael Yanowitz wrote:
Hello:
Are there any tools to convert non-object-oriented code
into object-oriented code?
Nope, but you can have the next best thing: rewrite it from scratch
yourself.
I did that to a smallish (about 50k lines) C program once, and the
resulting 70k lines or so C++
On Thu, 10 Aug 2006 04:01:51 -0700
Rob Wolfe [EMAIL PROTECTED] wrote:
# if x==1:
#
# the newline is inserted automatically when you type :? That's a
#
# Exactly.
Really? The newline? I know it *indents* automatically. But it
definitely doesn't insert newline when I try it.
I even downloaded
You can indeed automate this task, but I don't know if writing to a
Word file is possible.
Thanks to you all. I mentioned Word as example. Actually, any format
would do, as long as I can print them (pdf, txt,etc.).
Now I just have to learn Python!
LC
--
Brendon Seems that parsing negative numbers is outside of the scope of
Brendon this routine. Here's the source (which is Frederik's source
Brendon with one minor renaming; I take no credit here); anyone have
Brendon any ideas?
Negative numbers are actually tokenized as a MINUS
I'll be out of the office until approximately August 20th. If you have any
questions, please email [EMAIL PROTECTED]
-- David Wahler
--
http://mail.python.org/mailman/listinfo/python-list
Yes, I have been ruined for the last 5 years with Java and C#. Perl was
my only salvation, but now I can't read the programs I wrote.
Pedro Werneck wrote:
On 9 Aug 2006 12:35:48 -0700
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
It's just the way it is. Why worry about it?
Wasn't so
We are still struggling with this but having spent many hours looking
at related code on the net, i have noticed the following sequence quite
a lot
globals = PyDict_New();
PyDict_SetItemString(globals, __builtins__, PyEval_GetBuiltins());
Can anyone explain what this does exactly? I know what
Michiel Sikma wrote:
I don't know if writing to a
Word file is possible. It's a proprietary format, afterall.
see:
Python To Word
Capture script output in MS Word
http://gflanagan.net/site/dotnet/05/RunPythonScriptFromWord.html
rd
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Yes, I have been ruined for the last 5 years with Java and C#. Perl was
my only salvation, but now I can't read the programs I wrote.
ROFL! That's got to be a contender for Quote of the week.
--
http://mail.python.org/mailman/listinfo/python-list
Perhaps __init__.py has what you're looking for?
THN
[EMAIL PROTECTED] wrote:
I just started working with Python and ran into an annoyance. Is there
a way to avoid having to use the from xxx import yyy syntax from
files in the same directory? I'm sure it's been asked a million times,
but I
Oops -- I missed the subject line on my last post.On 10 Aug 2006, at 9:41 AM, [EMAIL PROTECTED] wrote: Brendon Seems that parsing negative numbers is outside of the scope of Brendon this routine. Here's the source (which is Frederik's source Brendon with one minor renaming; I take no
John Machin wrote:
Is that meant to be a statement or a question?
Heh heh, sorry! I guess both. Let me clarify:
(1) what platform you are running on,
WinXP
(2) did you enter that at
the usual OS command line (with/without readline), or in an IDE (e.g
IDLE) or some other shell (e.g.
[EMAIL PROTECTED] writes:
Presumably, this is done using the crypt() system call (and,
fortunuately, Python has a builtin crypt module!). Presumably, as
well, this is at least somewhat secure, assuming a source of
cryptographic randomness to use to choose the salt. Are SHA1 and MD5
suitable
[EMAIL PROTECTED] wrote:
This syntax works on other bzipped tar files. But it's not unheard of
that large tarballs will get corrupted from a download mirror. Use a
download manager and try redownloading the file. Usually a mirror will
include an md5sum text file so that you can compare the
Bruno Desthuilliers wrote:
try:
if int(text) = 0: raise ValueError
except ValueError:
self.error_message()
return False
else:
return True
Nice! Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Simon Forman wrote:
What about the version I gave you 8 days ago? ;-)
http://groups.google.ca/group/comp.lang.python/msg/a80fcd8932b0733a
It's clean, does the job, and doesn't have any extra nesting.
Peace,
~Simon
I remember that version, but I found it a little hard to follow. It
Bruno Desthuilliers wrote:
try:
if int(text) = 0: raise ValueError
Hmm, I'm actually not so sure about this line now. It doesn't seem right
to raise a ValueError when the result of the expression is negative,
because even though it's a problem for my program, it isn't really a
What's the best way to do higher precision maths than the standard Float()?
--
http://mail.python.org/mailman/listinfo/python-list
Op 10-aug-2006, om 12:26 heeft [EMAIL PROTECTED] het
volgende geschreven:
What's the best way to do higher precision maths than the standard
Float()?
--
http://mail.python.org/mailman/listinfo/python-list
You know, I don't usually answer questions like the gurus of this
mailing
Brendon A shortcut occurs to me; maybe someone can tell me what's wrong
Brendon with my reasoning here. It seems that any string that is unsafe
Brendon to pass to eval() must involve a function call, and thus must
Brendon contain an opening paren. Given that I know that the data I
First, I'd just like to say, wow, and thanks to both you and Sybren for
your fast responses. :) Twenty minutes is less time than it takes to
get an answer from some companies paid tech support. ;)
Paul Rubin wrote:
There are two main issues:
1) Unix password hashing uses several different
[EMAIL PROTECTED] wrote:
What's the best way to do higher precision maths than the standard Float()?
It depends exactly what your needs are. What sort of application are
you thinking of? You may actually need a good numerical analyst and
not necessarily a new datatype here. :-)
--
On 2006-08-10 07:40:01, Stephen Kellett wrote:
To answer your first question: In C++/Ruby/Pascal you'd have something
like this
function()
{
loop1()
{
[...]
}
}
I really dislike that the end of loop2 is implicit rather than
explicit.
Since in the above
[EMAIL PROTECTED] wrote:
Brendon A shortcut occurs to me; maybe someone can tell me
what's wrong Brendon with my reasoning here. It seems that
any string that is unsafe Brendon to pass to eval() must
involve a function call, and thus must Brendon contain an
opening
Stephen Kellett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
To answer your first question: In C++/Ruby/Pascal you'd have something
like this
function()
{
loop1()
{
blah
blah
loop2()
{
[EMAIL PROTECTED] wrote:
What's the best way to do higher precision maths than the standard Float()?
For basic operations, look at Decimal().
If you need more speed, and basic operations, search for gmpy.
If you need advanced functions, look at
http://calcrpnpy.sourceforge.net/ and related
On 10 Aug 2006, at 10:46 AM, [EMAIL PROTECTED] wrote: Brendon A shortcut occurs to me; maybe someone can tell me what's wrong Brendon with my reasoning here. It seems that any string that is unsafe Brendon to pass to eval() must involve a function call, and thus must Brendon contain an
On 2006-08-10 06:44:04, Stephen Kellett wrote:
Just found this on c.l.ruby. Seems kind of relevant.
http://www.americanscientist.org/template/AssetDetail/assetid/51982
The Semicolon Wars
Good reading :) Thanks.
Gerhard
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the replies. I guessed the situation would be flush() and trust.
The probability of a crash between flush() returning and data actually
written resulting in a trashed disk must be very small. But if you can be
certain without too much effort it's got to be a good idea, so I thought
Hi everyone,
I have tried two days to figure out how to draw the image in
wx.BufferedDC on the page created by AddPage of wx.Notebook but still
got no clue.
The attached example works fine. If I click the menu Draw -- New
Drawing. The image with wx.BufferedDC/wx.BufferedPaintDC can move
Brendon Am I missing a third option?
I can't think of one, but I'm not very smart. ;-)
Skip
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
It would be ease to create such a tool
Hmmm ? May I express some very huge doubts here ?
--
http://mail.python.org/mailman/listinfo/python-list
Delaney, Timothy (Tim) wrote:
Bruno Desthuilliers wrote:
What I wonder here is why __iter__ has been added to lists and tuples
but not to strings (not that I'm complaining, it's just curiousity...)
Because someone got around to doing it.
Ok, so it's definitively a design decision, and
Bruno Desthuilliers wrote:
[EMAIL PROTECTED] wrote:
It would be ease to create such a tool
Hmmm ? May I express some very huge doubts here ?
But the link he gave also says this:
Perfect Java programs can be written...
Ok, I think some of this group's less-than-favorable opinion of Java has
1 - 100 of 218 matches
Mail list logo