ActivePython-2.4.0-243-win32-ix86.msi : 29M
ActivePython-2.4.0-244-win32-ix86.msi : 18M
What make so much difference of the size of them, which distinct monir
version number for 1 only.
Any explaination?
--
Best Regards,
Wang Kebo
http://www.huihoo.org/~mep
"Trent Mick" <[EMAIL PROTECTED]> w
A Singleton class is there to be inherited from; a singleton instance
like the one you define is pretty much useless (unless I misunderstand
your intentions).
Michele Simionato
--
http://mail.python.org/mailman/listinfo/python-list
On Windows, I use WConio
http://newcenturycomputers.net/projects/wconio.html
It provides other screen functions you might have gotten used to in
QBasic as well.
On unix/cygwin, use curses.
I am not aware of any portable library though.
I used to use cls a lot in my QBasic days. Now I just don't.
xiaobin yang wrote:
> Hi, if i am already skillful with c++. Is it useful to learn
python? thanks!
Defenitly , It is much easier to convert an idea to a living model
easily in python and with out much effort . You can always mix things
with C++ and python ( for optimization or whatever)with s
On Fri, 11 Feb 2005 07:35:43 +0100, Pierre Quentel
<[EMAIL PROTECTED]> wrote:
> Steven Bethard a écrit :
> > Cappy2112 wrote:
> >
> >> What does the leading * do?
> >
> >
> > Tells Python to use the following iterable as the (remainder of the)
> > argument list:
> >
>
> Could someone explain why t
David Eppstein's code is very nice.
Here's the python version of the perl code:
©# -*- coding: utf-8 -*-
©# Python
©
©def combo (n):
©'''returns all possible (unordered) pairs out of n numbers 1 to
n.
©
©Returns a dictionary. The keys are of the form "n,m",
©and their values are tuple
Steven Bethard a écrit :
Cappy2112 wrote:
What does the leading * do?
Tells Python to use the following iterable as the (remainder of the)
argument list:
Could someone explain why this doesn't work :
Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on
win32
Type "help", "co
I actually meant to link to the last two ONLamp articles you mentioned,
so yeah I have seen those (kinda forgot to post them, in fact). Thanks
for the other links too, they look pretty interesting.
Incidentally, what kind of projects are you guys (planning on) using
this technology with? I'm workin
Tom Willis wrote:
> It could be a bug in gmail. I wasn't actually accusing you, just
> thought it was funny enough to point out. Of course you could be more
> sarcastic than me who knows. :)
>
> I'm not worried though. I believe the best strategy against Identity
> theft is bad credit.
>
> So ques
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Using zip(*[iter(l)]*N) or zip(*(iter(l),)*N) simply extends the above to
the
> general case.
Clearly true.
But can you please go into much more detail for a newbie?
I see that [iter(l)]*N produces an N element list with
hi, every one,
I started a opensource project PyINI for corss-platform *.ini parsing at
http://sourceforge.net/projects/pyini/
I have released a simple alpha version, which can read *.ini, with some
extended features such as "key=value1,value2,value3". I also made a
c++ binding to PyINI with elmer
On Déardaoin, Feabh 10, 2005, at 18:08 America/Chicago, Robert Kern
wrote:
Timothy Grant wrote:
I was working on some things that use Glenn Strong's excellent libnjb
wrapper on my Linux box. I have since bought a PowerBook and have been
trying to get everything working correctly under OS/X.
This
Sion Arrowsmith wrote:
Greg Ewing <[EMAIL PROTECTED]> wrote:
As a fellow named Church once pointed out, lambdas are really
*all* you need in a language...
... where as others argue that it is impractical not to have
some form of runtime data storage, thereby giving rise to the
separation of Churc
Your mail to 'RT-Announce' with the subject
Is delivered mail
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
Either the message will get posted to the list, or you will receive
notification of th
There are no performance overhead except when you are dragging a huge
chunk of information out of the database, in that case, python is
converting the data to its tuple data type which adds one more
processing.
I found this when I didn't have the priviledge to do "mysql> SELECT *
FROM TBL INTO OUT
On 2005-02-11, Bryant Huang <[EMAIL PROTECTED]> wrote:
> I would like to read in files, during run-time, which contain
> plain Python function definitions, and then call those
> functions by their string name. In other words, I'd like to
> read in arbitrary files with function definitions, using a
Your mail to 'RT-Announce' with the subject
Delivery service mail
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
Either the message will get posted to the list, or you will receive
notification o
I am no longer resisting. As time goes, the nausea when I first saw Mr.
Lee's smelly "technical posts" is starting to fade. The discussion
group should have a high tolerance towards polymorphic people these
days.
--
http://mail.python.org/mailman/listinfo/python-list
rhat said unto the world upon 2005-02-10 21:10:
Hi Everyone,
I've recently been reading some articles about unit-testing in Python
[1] [2], but I am a bit confused: where do I go to get started with
this? I tried googling for "unittest" but all I've found are some old
links to projects that already
Your mail to 'RT-Announce' with the subject
Registration is accepted
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
Either the message will get posted to the list, or you will receive
notificatio
It could be a bug in gmail. I wasn't actually accusing you, just
thought it was funny enough to point out. Of course you could be more
sarcastic than me who knows. :)
I'm not worried though. I believe the best strategy against Identity
theft is bad credit.
So question , do you see the big red blo
Yeah, you know I only ask questions about Test-driven development
basics in hopes of obtaining your personal information, so that I can
sell it on the Molodovian blackmarket. I'm not a "Phisher", I'm a
comp-sci major who's too lazy to dig around for his own answers. ;)
Thanks for your help Roy, I
Hello!
I would like to read in files, during run-time, which contain plain
Python function definitions, and then call those functions by their
string name. In other words, I'd like to read in arbitrary files with
function definitions, using a typical 'open()' call, but then have
those functions av
BOOGIEMAN wrote:
First of all, what's Python command equivalent to QBasic's "goto" ?
You can only use the goto function if you use Python with line numbers,
thusly:
"""
10 import sys
20 real_stdout = sys.stdout
30 class fake_stdout(object): pass
40 fake_stdout.write = lambda x, y: None
50 sys.stdou
Neat the original poster shows up as a potential Phisher with a nice
big red warning in gmail.
Due to some funky header fakedness.
Don't give them your SSN. :)
I have a related question. What is PyDoc? I see it come up alot in
searches for Unit testing and python, but I've never gotten around to
In article <[EMAIL PROTECTED]>,
"rhat" <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
> I've recently been reading some articles about unit-testing in Python
> [1] [2], but I am a bit confused: where do I go to get started with
> this? I tried googling for "unittest" but all I've found are some old
>
TK> I can't install MySQLdb on Mac OS X (Ver. 10.3) properly. Here's my
TK> environment:
TK> 1. MySQL-python-1.0.0
...
Try a more recent version of mysql-python. I think 1.1.7 is the latest.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
I've been playing with Zope for about a year and took the plunge last
week into making a product.
To keep it [arguably] simple I used a ZClass to wrap an external
method. My ZClass works and returns the output I expect.
What doesn't work is when I refer to an object I've created from a
dtml-var
Hi,
Is there any site that gather all the documentation about PyQt?
The docs of the Riverbank site is poor, and I have found separate
tutorials on the net.
I know that the Kompany have made a "Qtdoc"-like to PyQt. But it is not
free doc.
Does anybody know anything about any project for making P
Xah Lee wrote:
a year ago i wrote this perl program as part of a larger program.
as a exercise of fun, let's do a python version. I'll post my version
later today.
[code snipped]
This is Perl-Python a-day. To subscribe, see
http://xahlee.org/perl-python/python.html
Xah
[EMAIL PROTECTED]
http://xah
Hi Everyone,
I've recently been reading some articles about unit-testing in Python
[1] [2], but I am a bit confused: where do I go to get started with
this? I tried googling for "unittest" but all I've found are some old
links to projects that already use it, and the older (as the articles
put it)
In comp.lang.perl.misc Xah Lee <[EMAIL PROTECTED]> wrote:
> a year ago i wrote this perl program as part of a larger program.
> sub combo ($) {
>my $max=$_[0];
>my %hh=();
>for (my $j=1; $j < $max; ++$j) {
>for (my $i=1; $i <= $max; ++$i) {
>my $m = (($i+$j)-1)%$ma
On 2005-02-10, maxime <[EMAIL PROTECTED]> wrote:
> Hi, I try to develop a game in python and pygame.
> In my game I play a music (.mid with pygame.mixer.music) but sometime
> I need to accelerate it but I don't see how to do that with pygame. Is
> it possible? If not, do you know an other python mu
Philip Smith wrote:
> I've read with interest the continuing debate about 'lambda' and its
place
> in Python.
>
> Just to say that personally I think its an elegant and useful
construct for
> many types of programming task (particularly number theory/artificial
> intelligence/genetic algorithms)
There aren't any "issues", but there are a few things to keep in mind.
First of all, prior to 4.1, MySQL does no parameter binding, which
means that the parameters must be inserted into your SQL statements as
literals. MySQLdb will do this for you automatically, but keep in mind
that you will be c
On Thu, Feb 10, 2005 at 02:51:24PM -0800, Xah Lee wrote:
> a year ago i wrote this perl program as part of a larger program.
>
> as a exercise of fun, let's do a python version. I'll post my version
> later today.
from probstat import Combination
There is something deeply wrong about plugging yo
On Thu, 10 Feb 2005 00:54:04 -0800, Kanenas wrote:
>When an instance has a dynamically assigned instance method, deepcopy
>throws a TypeError with the message "TypeError: instancemethod
>expected at least 2 arguments, got 0".
I forgot to mention that the TypeError is thrown only when
construct
The Tkinter Canvas directly supports saving to postscript format, but
not any standard bitmap format (or even modern vector formats like pdf
or svg).
Jeff
pgpBVvDhXslRq.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 10 Feb 2005 23:50:09 +1000, Nick Coghlan
<[EMAIL PROTECTED]> wrote:
>> def __init__(self, l=[]):
>
>Change this too:
> def __init__(self, l=None):
> if l is None: l = []
Same error. The only ways of not getting the TypeError I've found are
not to call deepcopy or not assign an
[Alan Kennedy]
>> Well, the python JSON codec provided appears to use eval, which might
>> make it *seem* unsecure.
>>
>> http://www.json-rpc.org/pyjsonrpc/index.xhtml
>>
>> But a more detailed examination of the code indicates, to this reader
>> at least, that it can be made completely secure very
I want to draw some simple (dynamic) graphs and get these saved as a
JPEG file to reference in a web link. I am aware of PIL (Python Image
Library), but unfortunatley my system does not have it built. After looking
at the README for it and seeing it depends on two separate packages to
suppor
I like it alot! My only minor complaint is that the name is to long.
Also I *really wish* the Namespace could do this:
r, g, b = col = Namespace(r = 4, g = 3, b = 12)
But alas, I guess that's not doable within the scope of the Namespace PEP.
--
mvh Björn
--
http://mail.python.org/mailman/list
I'm pleased to announce that ActivePython 2.3.5 build 236 and
ActivePython 2.4.0 build 244 are now available from:
http://www.ActiveState.com/Products/ActivePython
ActivePython 2.3.5.236 is a bug-fix release matching core Python 2.3.5.
ActivePython 2.4.0.244 is a bug-fix release matching core P
Timothy Grant wrote:
I was working on some things that use Glenn Strong's excellent libnjb
wrapper on my Linux box. I have since bought a PowerBook and have been
trying to get everything working correctly under OS/X.
This morning I got Python-libnjb to build without errors using the
following comma
Thanks for the reply. I now have radio buttons (with a nice tick!) on my
menu that can be greyed out when disabled. I can also change the background
colour of the individual buttons as you suggest.
What I cannot do is change the background colour of the menu bar itself. The
following code is ac
Hi,
I can't install MySQLdb on Mac OS X (Ver. 10.3) properly. Here's my
environment:
1. MySQL-python-1.0.0
2. Python 2.3
3. mysql -V
/usr/local/mysql-standard-4.1.9-apple-darwin7.7.0-powerpc/bin/mysql Ver
14.7 Distrib 4.1.9, for apple-darwin7.7.0 (po
werpc)
4. platform.platform() -> 'Darwin-7.
from goto.py ( http://entrian.com/goto/ ):
.# Label: "label .x" XXX Computed labels.
:-)
John
--
http://mail.python.org/mailman/listinfo/python-list
Le jeudi 10 Février 2005 19:47, PA a écrit :
> On Feb 10, 2005, at 19:43, Francis Girard wrote:
> > I think he's a bit nostalgic.
>
> Steve Wart about "why Smalltalk never caught on":
>
> http://hoho.dyndns.org/~holger/smalltalk.html
>
> Cheers
>
> --
> PA, Onnay Equitursay
> http://alt.textdrive.c
In article <[EMAIL PROTECTED]>,
"Xah Lee" <[EMAIL PROTECTED]> wrote:
> combo(n) returns a collection with elements of pairs that is all
> possible combinations of 2 things from n. For example, combo(4)
> returns {'3,4' => ['3',4],'1,2' => [1,2],'1,3' => [1,3],'1,4' =>
> [1,4],'2,3' => ['2',3],'2,
Harlin wrote:
What good is the modulus operator? What would I ever need it for?
* A quick way of testing whether an integer is even and odd
* For that matter, a quick way of testing whether a the variable is a
factor of any other arbitrary number.
* In some programs (a weight control program I work
Hi Alan
Alan Kennedy wrote:
Well, the python JSON codec provided appears to use eval, which might
make it *seem* unsecure.
http://www.json-rpc.org/pyjsonrpc/index.xhtml
But a more detailed examination of the code indicates, to this reader at
least, that it can be made completely secure very easi
On Thu, 10 Feb 2005 03:08:11 GMT, rumours say that [EMAIL PROTECTED] (Cameron
Laird) might have written:
[more snipping]
>With a little provocation, I can push the ideas of "mechanical"
>or "machine" referencing back at least to the Enlightenment, and
>arguably much farther.
Please ignore my ear
Harlin wrote:
> In the mode of anticipating another question... I get these all the
> time at work of all places! You'd think IT workers would know the
> answer to these...
>
> What good is the modulus operator? What would I ever need it for?
# Print a summary every 100 rows
for i in range(1, 10
Hi,
> import re
> foo_pattern = re.compile('foo')
>
> '>>> m = foo_pattern.search(subject)
> '>>> if m:
> '>>>pass
> '>>> else:
> '>>>pass
I agree that is horrible. This is one of my favorite problems with
python syntax.
> but it occured to me today, that it is possible to do it in pyth
>Joking aside, you will love python and is well worth it since you can
>still use your c++ skills.
If a program is fine art, Python is my medium, upon which I paint my
imagination, without any thought of the canvas before me.
C//
--
http://mail.python.org/mailman/listinfo/python-list
In the mode of anticipating another question... I get these all the
time at work of all places! You'd think IT workers would know the
answer to these...
What good is the modulus operator? What would I ever need it for?
* A quick way of testing whether an integer is even and odd
* For that matter,
[Peter Hansen]
BTW, as a general caution: while Visual Source Safe may be
"easy", it's also dangerous and has been known to corrupt
many a code base, mine included. I wouldn't touch the product
with a virtual ten-foot pole
[Christos TZOTZIOY Georgiou]
Are you sure you got the acronym right?-) It
[Carl]
What is the ultimate version control tool for Python if you are
working in a Windows environment?
[Peter Hansen]
I never liked coupling the two together like that. Instead
I use tools like TortoiseCVS or (now) TortoiseSVN with a
Subversion repository. These things let you access revision
Thanks
I dont remember reading anything about this.
What is this feature called?
Steven Bethard wrote:
> Cappy2112 wrote:
> > What does the leading * do?
>
> Tells Python to use the following iterable as the (remainder of the)
> argument list:
>
>
--
http://mail.python.org/mailman/listinfo/pyth
Yes, we know that www.python.org is down. XS4ALL is suffering a power
outage. Yes, they have backup and redundant power, but it's not working
properly for the segment of the building the web server is located in.
Fortunately, mail.python.org is located in a different part of the
building, which i
a year ago i wrote this perl program as part of a larger program.
as a exercise of fun, let's do a python version. I'll post my version
later today.
=pod
combo(n) returns a collection with elements of pairs that is all
possible combinations of 2 things from n. For example, combo(4)
returns {'3,4
[Irmen de Jong]
>>> I need a fast and safe (secure) marshaler.
[Alan Kennedy]
>> , would something JSON be suitable for your need?
>>
>> http://json.org
[Irmen de Jong]
> Looks very interesting indeed, but in what way would this be
> more secure than say, pickle or marshal?
> A quick glance at
No goto needed. If this makes no sense (which it may not if all you've
been exposed to is BASIC) it wouldn't be a bad idea to Google why you
should never use a goto statement.
To do a clear screen you'll need to use the method that your command
shell uses. The shortcut to this is for Windows, 'cls
On Wed, 09 Feb 2005 13:13:01 -0500, rumours say that Peter Hansen
<[EMAIL PROTECTED]> might have written:
>BTW, as a general caution: while Visual Source Safe may be
>"easy", it's also dangerous and has been known to corrupt
>many a code base, mine included. I wouldn't touch the product
>with a v
On Thu, 10 Feb 2005 03:08:11 GMT, rumours say that [EMAIL PROTECTED] (Cameron
Laird) might have written:
>I entirely agree that Engelbart deserves full recognition for his
>achievements. At the same time, I think we also should note that
>Ted Nelson was publishing articles about "hypertext" in '6
On Thu, 10 Feb 2005 15:21:47 +, rumours say that Richie Hindle
<[EMAIL PROTECTED]> might have written:
>
>[Philip]
>> For that matter I would find implementing the classical algorithms far
>> easier if python had 'goto'
>
>I can't believe it - first a request for COMEFROM and now one for GOTO
xiaobin yang wrote:
Hi, if i am already skillful with c++. Is it useful to learn python? thanks!
Does skillful mean you can do anything with ease and quick enough for
you and your clients ? Are your results bug free and easy to maintain ?
If the answer to all this is yes then probably not. If t
Tamas> Do you have a convinient, easy way to remove special charachters
Tamas> from u'strings'?
Tamas> Replacing:
Tamas> ÀÁÂÃÄÅ => A
... etc ...
See if my latscii codec works for you:
http://www.musi-cal.com/~skip/python/latscii.py
Skip
--
http://mail.python.org/m
Johann C. Rocholl wrote:
Robert Brewer wrote:
Peter Hansen wrote:
Carl wrote:
What is the ultimate version control tool for Python if you
are working in a Windows environment?
I never liked coupling the two together like that. Instead
I use tools like TortoiseCVS or (now) TortoiseSVN with a
Subv
On Feb 10, 2005, at 22:55, Irmen de Jong wrote:
Perhaps, but the spec makes my skin crawl.
Perhaps I could interest you in JSON then:
"It is easy for humans to read and write. It is easy for machines to
parse and generate. "
http://www.crockford.com/JSON/index.html
Cheers
--
PA, Onnay Equitursay
If I want to verify that a file has finished writing before deleting the remote
file, what would be the best method?
Current code on Python 2.4:
#filename - remote FTP server File Name
#NewFile - local file copy of the remote file
#objFTP - standard ftplib.FTP object
NewFile = open(os.path.join(
On Thu, 10 Feb 2005 13:39:29 -0700, Steven Bethard wrote:
> Yeah, I guess that was really the motivation of this module. I
> personally wouldn't use it all that often -- certainly not with the
> frequency that I use, say, Python 2.4's set type -- but I think there
> are enough of us out here wh
On Feb 10, 2005, at 22:55, Irmen de Jong wrote:
Also, it seems ill-fit for efficient machine-to-machine
communication...
Well, then, if you are looking for industrial strength quality, ASN.1
is the way to go. After all, a good chunk of the telecom infrastructure
is using it.
Cheers
--
PA, Onnay
PA wrote:
Sorry if this is off-topic, I didn't follow the thread from the very
beginning, but wouldn't something like YAML work for you perhaps?
http://yaml.org/
Perhaps, but the spec makes my skin crawl.
Also, it seems ill-fit for efficient machine-to-machine
communication (yaml seems to be des
Thanks a lot!
Matej
--
http://mail.python.org/mailman/listinfo/python-list
BOOGIEMAN said unto the world upon 2005-02-10 16:06:
OK, thanks all
Here's presentation of my advanced programming skills :)
import os
import time
os.system("cls")
number = 78
guess = 0
while guess != number:
guess = input("Guess number: ")
if
On Feb 10, 2005, at 22:21, Irmen de Jong wrote:
PS the xdr format is not self-describing in the way that
marshal and pickle streams are. That is a big limitiation
for what I need it for so xdr seems to drop off my radar.
Is an ASN.1 stream self-describing?
Not sure how much "self-describing" you wa
A new release of Movable Python is available - 0.4.6
This fixes a few issues including a bug in the Python 2.2 support, and
a fix for a psyco/IPython incompatibility issue.
We have a new icon and logo thanks to Aidan Ashby -
http://aidan.voidspace.org.uk
Due to bugfixes (in movpy) we can now off
Alan Kennedy wrote:
[Irmen de Jong]
Pickle and marshal are not safe. They can do harmful
things if fed maliciously constructed data.
That is a pity, because marshal is fast.
I need a fast and safe (secure) marshaler.
Hi Irmen,
I'm not necessarily proposing a solution to your problem, but am
inter
Yes, we know that www.python.org is down. Please be patient.
--
Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/
"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams
PA wrote:
On Feb 10, 2005, at 15:01, Irmen de Jong wrote:
Is xdrlib the only option?
I would expect that it is fast and safe because
it (the xdr spec) has been around for so long.
XDR? Like Sun's "XDR: External Data Representation standard"?
http://www.faqs.org/rfcs/rfc1014.html
http://www.faqs.or
OK, thanks all
Here's presentation of my advanced programming skills :)
import os
import time
os.system("cls")
number = 78
guess = 0
while guess != number:
guess = input("Guess number: ")
if guess > number:
print "Lower"
tim
> "Colombes" == Colombes <[EMAIL PROTECTED]> writes:
Colombes> Using MatPlotLib plot function, is there a way to get
Colombes> variable size plot symbols? For example, using symbol
Colombes> strings like 'o' (circle), 's' (square), 'x' (cross),
Colombes> etc., is there a way
Thank you! That did the trick.
--
http://mail.python.org/mailman/listinfo/python-list
Jive Dadson wrote:
I don't think I've quite got it.
The application I'm writing has some similarities to an interactive
shell. Like an interactive shell, it executes arbitrary code that it
receives from an input stream. When it gets an exception, it should
create an informative message, regardles
[Alan Kennedy]
What I find particularly intriguing is the JSON-RPC protocol, which
looks like a nice lightweight alternative to XML-RPC.
http://oss.metaparadigm.com/jsonrpc/
Also interesting is the browser embeddable JSON-RPC client written in
javascript, for which you can see a demo here
http:
Jeremy Bowers wrote:
On Thu, 10 Feb 2005 11:56:45 -0700, Steven Bethard wrote:
In the "empty classes as c structs?" thread, we've been talking in some
detail about my proposed "generic objects" PEP. Based on a number of
suggestions, I'm thinking more and more that instead of a single
collections t
On Thu, 10 Feb 2005, xiaobin yang wrote:
> Hi, if i am already skillful with c++. Is it useful to learn python? thanks!
Personally I would say yes, largely because I tend to find them
complementary languages. It's easier (IMO) to explore random ideas in
python without getting nailed into corner
[EMAIL PROTECTED] wrote:
Has anyone seen this? When I run the COM Makepy utility and choose
Microsoft Excel 9.0 Object Library (1.3), I get an application error
message:
PythonWin: Pythonwin.exe - Application Error
The instruction at "0x77fcc87" referenced memory at "0x0307a705". The
memory could
pekka niiranen wrote:
I have two files "my.utf8" and "my.utf16" which
both contain BOM and two "a" characters.
Contents of "my.utf8" in HEX:
EFBBBF6161
Contents of "my.utf16" in HEX:
FEFF6161
This is not true: this byte string does not denote
two "a" characters. Instead, it is a single char
Hello
> Hi, if i am already skillful with c++. Is it useful to learn python? thanks!
Very useful :)
Dalius
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 10 Feb 2005 11:56:45 -0700, Steven Bethard wrote:
> In the "empty classes as c structs?" thread, we've been talking in some
> detail about my proposed "generic objects" PEP. Based on a number of
> suggestions, I'm thinking more and more that instead of a single
> collections type, I shoul
I've just read the Qt4 GPL for Windows will only support gcc (and maybe
MinGW) anyway, not BCC or VisualC++ (or it's free equivalents), so it
looks like it would be a daunting task to actually build PyQt
See http://osnews.com/comment.php?news_id=9675
I guess the Qt used in PyQt from BlackAdde
I've just read the Qt4 GPL for Windows will only support gcc (and maybe
MinGW) anyway, not BCC or VisualC++ (or it's free equivalents), so it
looks like it would be a daunting task to actually build PyQt
See http://osnews.com/comment.php?news_id=9675
I guess the Qt used in PyQt from BlackAdde
Peter Maas wrote:
> Serge Orlov schrieb:
> > Denis S. Otkidach wrote:
> > To summarize the discussion: either it's a bug in glibc or there is
an
> > option to specify modern POSIX locale. POSIX locale consist of
> > characters from the portable character set, unicode is certainly
> > portable.
>
>
On 2005-02-10, Peter Hansen <[EMAIL PROTECTED]> wrote:
> Grant Edwards wrote:
>> It's the modulus operator. It returns the remainder of integer
>> division. As we used to say in second grade:
>>
>> 4 goes into 107 26 times with 3 left over.
>>
>> 3 goes into 4 2 times with 1 left over.
>
> H
Grant Edwards wrote:
It's the modulus operator. It returns the remainder of integer
division. As we used to say in second grade:
4 goes into 107 26 times with 3 left over.
3 goes into 4 2 times with 1 left over.
How long were you stuck in second grade, Grant?
-Peter
P.S. You're correct, for
import os
if os.name == "nt":
os.system("cls") # Works in w2k
else:
os.system("clear")# Works in cygwin's Bash
Ulf Göransson wrote:
Bruno Desthuilliers wrote:
Duncan Booth a écrit :
BOOGIEMAN wrote:
Secondly, how do I clear screen (cls) from text and other
conten
Peter Maas wrote:
>> To summarize the discussion: either it's a bug in glibc or there is an
>> option to specify modern POSIX locale. POSIX locale consist of
>> characters from the portable character set, unicode is certainly
>> portable.
>
> What about the environment variable LANG? I have SuSE 9
I was working on some things that use Glenn Strong's excellent libnjb
wrapper on my Linux box. I have since bought a PowerBook and have been
trying to get everything working correctly under OS/X.
This morning I got Python-libnjb to build without errors using the
following command:
ld -dynamic -dy
1 - 100 of 225 matches
Mail list logo