hi
how do i get a full listing of permissions for files and directories in linux? Something like rwx-r--r--
i have managed to get it using the os.access modes as of now but it gives me the permissions of the current user.
regards
Atul Kamat
Visionael Labs
Bangalore
--
http://mail.python.
Paul Rubin wrote:
Francis Girard <[EMAIL PROTECTED]> writes:
Thank you Nick and Steven for the idea of a more generic imerge.
If you want to get fancy, the merge should use a priority queue (like
in the heapsort algorithm) instead of a linear scan through the
incoming iters, to find the next item
> Most ISPs provide
> news servers, often at 'news.ispname.net' if the ISP is 'ispname.net'.
> You need to get the correct details of which news server to use from
> your ISP and configure your newsreader to use that. Once your newsread
> is talking correctly to your ISP's news server, *then* you c
On Thu, 2005-01-27 at 19:39 -0500, g_xo wrote:
> Hello everyone,
>
> I am a python beginner and look forward to learning the language and
> working on some interesting projects using it.
>
> I was wondering if anybody may help me get access to the news group
> comp.lang.python I am trying to acce
Francis Girard <[EMAIL PROTECTED]> writes:
> Thank you Nick and Steven for the idea of a more generic imerge.
If you want to get fancy, the merge should use a priority queue (like
in the heapsort algorithm) instead of a linear scan through the
incoming iters, to find the next item to output. That
On Thu, 27 Jan 2005, Evan Simpson wrote:
You may want to check out the Spread Toolkit, at www.spread.org, whose Python
wrapper lives at http://www.python.org/other/spread/doc.html. It's used by
the Zope Replication Service, for example.
Cheers,
Evan @ 4-am
Thanks a lot, I need components like t
John Machin wrote:
To grab the text after the 2nd colon (if indeed there are two or more),
it's much simpler to do this:
import re
q = re.compile(r'.*?:.*?:(.*)').search
def grab(s):
...m = q(s)
...if m:
... print m.group(1)
...else:
... print 'not found!'
...
grab('')
not f
These look like symptoms of sf bug #1017504
http://sourceforge.net/tracker/index.php?func=detail&aid=1017504&group_id=78018&atid=551954
What version of Pywin32 are you running ?
There's a (semi) fix for this in the latest build.
hth
Roger
"Chris P." <[EMAIL PROTECTED]> wrote in message
You'll need to call pythoncom.CoInitialize() in each thread.
Roger
"James" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi,
>
> i'm using python 2.4 with pywin32...
> I've tried to use internet explorer control with a class.
> it was fine until i decided to inherit thread
At a command prompt, do "which python" to see where the python binary
lives. Then specify the full path to python in your exec() call,
instead of just "python". What probably happens is that you don't have
the python binary in your PATH when you run exec() from your Java code.
Grig
--
http://mail
Hello,
I need to calculate the eigenvectors and eigenvalues for a 3600 X 3600
covariance matrix.
The LinearAlgebra package in Python is incredibly slow to perform the
above calculations (about 1.5 hours). This in spite of the fact that
I have installed Numeric with the full ATLAS and LAPACK libra
Hi,
I've been looking at the client side com stuff in __init__.py in the
client subdirectory under win32com, and some of the routines do exactly
that. Certainly DispatchWithEvents tries to generate that, and I
thought Dispatch does before returning a late binding object.
Hope this helps,
Bob
T
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> > I don't see why you can't make up your mind enough to issue simple
> > statements like "the Python lib should have a module that does
> > so-and-so
>
> I can say that assuming I know what so-and-so is. For the specific
> case of AES, I would say "I
Jeff Epler wrote:
On Thu, Jan 27, 2005 at 06:38:22AM -0500, Tim Daneliuk wrote:
Is it possible to underline more than a single character as I am doing
with the 'underline=0' above. I tried 'underline=(0,2)' but that didn't
work.
No.
Jeff
I love a clear answer ;) thanks...
--
--
"Terry Reedy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hey all, I have seen no evidence that XL even reads the responses that
> have been directed thereto. The above is like
>
> /dev/null,
> Why don't you ever answer the messages I keep sending to you?
>
> Terry J. Reedy
Just for completeness I wanted to mention that yes, you can use 4Suite
to parse WSDL and get method signature information, but I do agree that
it's better to do this at a higher level, if you can. WHy reinvent
that wheel?
SOAPpy has a decent WSDL class.
--
Uche Ogbuji
Sorry I'm late to the whole thread. Diez B. Roggisch is pretty much
right on the money in all his comments. 4XSLT *is* thread safe, but
each individual processor instance is not thread safe. Yes, this is
typical OO style: you encapsulate state in an instance so that as long
as each thread has it
On Thu, Jan 27, 2005 at 06:38:22AM -0500, Tim Daneliuk wrote:
> Is it possible to underline more than a single character as I am doing
> with the 'underline=0' above. I tried 'underline=(0,2)' but that didn't
> work.
No.
Jeff
pgpFCNSGSpXA9.pgp
Description: PGP signature
--
http://mail.python.o
inhahe wrote:
> Hi i'm a newbie at this and probably always will be, so don't be
surprised
> if I don't know what i'm talking about.
>
> but I don't understand why regex look-behinds (and look-aheads) have
to be
> fixed-width patterns.
>
> i'm getting the impression that it's supposed to make sear
"The Flow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Xah Lee,
>
> Do you want to be taken seriously?
> First, stop posting.
> Second, learn perl.
> Third, learn python.
Hey all, I have seen no evidence that XL even reads the responses that have
been directed thereto. The ab
Greg Wogan-Browne wrote:
> I am having some trouble figuring out what is going on here - is this
a
> bug, or correct behaviour? Basically, when I create an XML document
with
> a namespace using xml.dom.minidom.parse() or parseString(), the
> namespace exists as an xmlns attribute in the DOM (fair e
Xah Lee wrote:
[...]
> [long rant about Perl modules snipped]
>
> # And because the way it is
> # written,
Yeah, indeed, you correctly identified the root of the problems.
If you would have written your Perl program in a normal way instead of in
your cryptic wretched style then you would not have
I've written an article on IPython which is now live on O'Reilly's
ONLamp site at
http://www.onlamp.com/pub/a/python/2005/01/27/ipython.html. All
feedback is welcome. Regardless of what you may think of the article, I
hope it encourages everyone to at least try out IPython. IPython has
beco
Hi i'm a newbie at this and probably always will be, so don't be surprised
if I don't know what i'm talking about.
but I don't understand why regex look-behinds (and look-aheads) have to be
fixed-width patterns.
i'm getting the impression that it's supposed to make searching
exponentially slower
Just a general question.
It seems in COM late binding is something that should be avoided if possible.
Because python seems to be really good at doing thing dynamically I'm
wondering why no one has figured out how to make the functionality in
makepy fire automagically when you need it.
For exam
Hi,
I'm new to the group, so greetings all!
I'm working on an application try to respond to events in Microsoft
Access using Python and win32com. However, I'm having trouble in
setting up the event handlers. I can think of 2 approaches both of
which yield win32com errors.
First is the approac
On Déardaoin, Ean 27, 2005, at 19:25 America/Chicago, Jeff Shannon
wrote:
Okay, so size (and the B object) is effectively a class attribute,
rather than an instance attribute. You can do this explicitly --
Ah, now I'm getting there. That does the trick.
Probably not worth the trouble in this pa
For some reason i need to start a python script from inside a java code. The
technique is standard
Process proc = Runtime.getRuntime().exec("python myscript.py")
and so worked for months
since yestarday the same instruction does not work but the line is correct
because from the terminal pro
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
>
>Who are the appropriate people to report security problems to in
>respect of a module included with the Python distribution? I don't
>feel it appropriate to be reporting it on general mailing lists.
There is no generally appropriate n
Sorry about that... (I forgot what he was trying to teach)
Thanks for the clarification
--
The Flow
--
http://mail.python.org/mailman/listinfo/python-list
The Flow wrote:
Do you want to be taken seriously?
First, stop posting.
Second, learn perl.
Third, learn python.
No. Second, learn Python. Third, learn Perl (optional). :)
But we do agree on the first.
--
Timo Virkkala
--
http://mail.python.org/mailman/listinfo/python-list
flamesrock wrote:
I should also mention that I'm using
version 2.0.1 (schools retro solaris machines :( )
At home (version 2.3.4) it prints out 'True' for the above code block.
That would explain it -- as /F mentioned previously, the special case
for None was added in 2.1.
Jeff Shannon
Technician
Xah Lee,
Do you want to be taken seriously?
First, stop posting.
Second, learn perl.
Third, learn python.
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 27, 2005, at 12:17 PM, Gabriel Cosentino de Barros wrote:
Now going back on topic: A think that neighter Tk nor wxWindow is a
good choice for python. They both suck much of it when it came to
abstraction. They're still better than glade or gtk. But could improve
a lot. wxWindow has simple
Christian Dieterich wrote:
On Déardaoin, Ean 27, 2005, at 14:05 America/Chicago, Jeff Shannon wrote:
the descriptor approach does. In either case, the calculation happens
as soon as someone requests D.size ...
Agreed. The calculation happens as soon as someone requests D.size. So
far so good.
Hi all,
I'm glad to announce the release of IPython 0.6.10. IPython's homepage is at:
http://ipython.scipy.org
and downloads are at:
http://ipython.scipy.org/dist
I've provided RPMs (for Python 2.3, built under Fedora Core 3), plus source
downloads (.tar.gz). We now also have a native win32
Wow! Thanks for all the replies. I'll have to reread everything to
absorb it.
The test code is pretty simple:
if 2 > None:
print 'true'
else:
print 'false'
It prints false every time. I should also mention that I'm using
version 2.0.1 (schools retro solaris machines :( )
At home (version 2.3.4) i
I actually installed BerkeleyBD4.0 and commented out some sections of
Modules/Setup that I found related to this. I got the _bsddb.o in the
build environment but I still get the same error from bsddb/__init.py__
that it cannot import _bsddb.
Anything I am missing? Where should this _bsddb go exac
Hello everyone,
I am a python beginner and look forward to learning the language and
working on some interesting projects using it.
I was wondering if anybody may help me get access to the news group
comp.lang.python I am trying to access it using KNode but I get an
"unable to resolve host name"
Jonathan Ellis wrote:
> Blues wrote:
>> I have used two great models - Tkinter and Gnuplot.py - for a while.
> I
>> can display an image on a Canvas widget using Tkinter and I can also
>> generate a gnuplot from Python on the fly in a separate window. Does
>> anyone know how to display such a gn
hi,
i'm using python 2.4 with pywin32...
I've tried to use internet explorer control with a class.
it was fine until i decided to inherit thread for the class...
class domain01(threading.Thread):
def __init__(self):
#blabla
threading.Thread.__init__(self)
de
On Jan 28, 2005, at 6:48 AM, Rick L. Ratzel wrote:
Pro Grammer <[EMAIL PROTECTED]> writes:
Hello, all,
I am not sure if this is the right place to ask, but could you kindly
tell me
how to "load" a shared object (like libx.so) into python, so that the
methods in
the .so can be used? That too, gi
On Tue, 25 Jan 2005 13:44:32 +
Martin Franklin <[EMAIL PROTECTED]> wrote:
> > thanks for this info - I had to abandon the createfilehandler() method
> > as it is not supported in windows and the GUI "might" be used there at
> > some time ...
Take a look here:
http://www.pythonbrasil.com.br/m
On Déardaoin, Ean 27, 2005, at 14:05 America/Chicago, Jeff Shannon
wrote:
True, in the sense that B is instantiated as soon as a message is sent
to D that requires B's assistance to answer. If the "decision" is a
case of "only calculate this if we actually want to use it", then this
lazy-cont
enigma wrote:
Do you really need to use the iter function here? As far as I can
tell, a file object is already an iterator. The file object
documentation says that, "[a] file object is its own iterator, for
example iter(f) returns f (unless f is closed)." It doesn't look like
it makes a differen
[EMAIL PROTECTED] wrote:
I compiled and installed python 2.4 on Redhat Linux using default
options but don't seem to be getting _bsddb. I get an error message
that _bssd cannot be imported.
Does anybody know why this might happen? Do I need to do any special
customization or install any other softw
brolewis wrote:
However both of these commands fail to update the Windows path to
include C:\Python24 and as such creates problems for me when trying to
actually use Python.
Not surprisingly so. The Python installation makes no attempt to update
the PATH, and never did so, in any recent release.
Ho
[EMAIL PROTECTED] wrote:
I don't see why you can't make up your mind enough to issue simple
statements like "the Python lib should have a module that does
so-and-so
I can say that assuming I know what so-and-so is. For the specific
case of AES, I would say "I don't think the Python lib necessarily
Thanks, Jonathan. Can you please give a little more information here?
--
http://mail.python.org/mailman/listinfo/python-list
"Peter Otten" <[EMAIL PROTECTED]> wrote...
> Have you ensured (with yast) that readline-devel is actually installed?
I had not previously, but (not surprisingly) version 4.3 is installed. :)
Good idea - I thought maybe I would be able to do an online update (YOU)
to it, but it is taking fore
Thanks, aurora ;),
aurora wrote:
If you actually want the IP, resolve the host header would give you that.
I' m only interested in the hostname.
The second form of HTTP request without the host part is for
compatability of pre-HTTP/1.1 standard. All modern web browser should
send the Host heade
On Jan 27, 2005, at 23:42, Limin Fu wrote:
at that time I didn't heard about Lua. I knew it about
2 or 3 months after I began to implement Tao.
So, compared to Lua for example, what does Tao brings to the table that
you found worthwhile?
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
--
Blues wrote:
> I have used two great models - Tkinter and Gnuplot.py - for a while.
I
> can display an image on a Canvas widget using Tkinter and I can also
> generate a gnuplot from Python on the fly in a separate window. Does
> anyone know how to display such a gnuplot on the Canvas widget with
Do you really need to use the iter function here? As far as I can
tell, a file object is already an iterator. The file object
documentation says that, "[a] file object is its own iterator, for
example iter(f) returns f (unless f is closed)." It doesn't look like
it makes a difference one way or
I only looked at languages which are more often used in
bioinformatics, at that time I didn't heard about Lua. I knew it about
2 or 3 months after I began to implement Tao. For Io, this is my first
time to hear about it :)
Cheers,
Limin
On Thu, 27 Jan 2005 23:02:45 +0100, PA <[EMAIL PROTECTED]>
Benji99 wrote:
I've managed to load the html source I want into an object
called htmlsource using:
import urllib
sock = urllib.urlopen("URL Link")
htmlSource = sock.read()
sock.close()
I'm assuming that htmlSource is a string with \n at the end of
each line.
NOTE: I've become very accustomed w
I wonder what would be a good way to profile a python program where the
main thread starts two worker threads that do all the work.
I get no infomation at all from the threads.
I tried to use profile.run as the first thing in the new thread and the
thread starts and works fine but when it exits
I compiled and installed python 2.4 on Redhat Linux using default
options but don't seem to be getting _bsddb. I get an error message
that _bssd cannot be imported.
Does anybody know why this might happen? Do I need to do any special
customization or install any other software?
Thanks,
-Jalil
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martyn Quick wrote:
| From: Alex Martelli ([EMAIL PROTECTED])
|
|>No idea about any 10.2, sorry, but on 10.3 that's not the problem: Tk
|>support is there alright, it's Tcl/Tk which _isn't_. Get MacPython, its
|>PackageManager will explain where to get
Y'all,
Problem: Reading complex data types returned from WSDL
I'll present this in 3 sections.
1. Output of WSDL parser on Google API
2. Output of WSDL parser on Custom API
3. WSDL parser code
1. Output of WSDL parser on Google API
So far I have a very simple WSDL reader which gathers the comm
On Jan 27, 2005, at 22:54, Limin Fu wrote:
I found that, a language with simple syntax, convenient text
processing functionality, powerful numeric computation capability, and
simple C/C++ interfaces would be very useful
You bet.
Have you looked at Lua?
http://www.lua.org/about.html
Or perhaps Io?
h
Who are the appropriate people to report security problems to
in respect of a module included with the Python distribution?
I don't feel it appropriate to be reporting it on general mailing
lists.
--
http://mail.python.org/mailman/listinfo/python-list
> Since you chose to announce it in this mailing list/newsgroup, may I
> suggest that a comparison with Python is in order?
>
To make a reasonable comparison with Python, I need to spend more time
to investigate into python, since so far I only know some basic things
in Python :-). But I can ensu
"Benji99" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Basically, I'm getting a htmlsource from a URL and need to
> a.) find specific URLs
> b.) find specific data
> c.) with specific URLs, load new html pages and repeat.
>
>
> Basically, I want to search through the whole strin
Francis Girard wrote:
a = "10"
b = 10
a > b
True
b > a
False
id(a)
1077467584
id(b)
134536516
Just to thoroughly explain this example, the current CPython
implementation says that numbers are smaller than everything but None.
The reason you get such a small id for 'b' is that there is only one 10
If you actually want the IP, resolve the host header would give you that.
In the redirect case you should get a host header like
Host: www.python.org
From that you can reconstruct the original URL as
http://www.python.org/ftp/python/contrib/. With that you can open it using
urllib and proxy the
Very complete explanation.
Thank you
Francis Girard
Le jeudi 27 Janvier 2005 22:15, Steven Bethard a écrit :
> Francis Girard wrote:
> > I see. There is some rule stating that all the strings are greater than
> > ints and smaller than lists, etc.
>
> Yes, that rule being to compare objects of dif
Thomas,
I have a Win2K machine and win32net imports just fine.
Here is what I did - started python shell with the -v switch and
imported win32net. This is what it says:
py>>> import win32net
# c:\python24\lib\encodings\cp437.pyc matches
c:\python24\lib\encodings\cp437.py
import encodings.cp437 #
Hi guys, I'm starting to learn Python and so far am very
impressed with it's possibilities. I do however need some help
with certain things I'm trying to do which as of yet haven't
managed to find the answer by myself. Hopefully, someone will be
able to give me some pointers :)
First my backgr
Hi there,
is there a MySQLdb-Version for the latest Mac OS (or can I use the
Linux-tarball)? I'm a Mac-Newbie.
Thanks.
o-o
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
I've written some python scripts to handle different tasks on my Windows
network. I would like for them to be accessible via a single web page
(kind of like a dashboard) but have the scripts run on the web server
(also a Windows box).
Can anyone recommend a way (web server / language / method)
Francis Girard wrote:
I see. There is some rule stating that all the strings are greater than ints
and smaller than lists, etc.
Yes, that rule being to compare objects of different types by their type
names (falling back to the address of the type object if the type names
are the same, I believe
Le jeudi 27 Janvier 2005 22:07, Steven Bethard a écrit :
> Francis Girard wrote:
> > Le jeudi 27 Janvier 2005 21:29, Steven Bethard a écrit :
> >>So None being smaller than anything (except itself) is hard-coded into
> >>Python's compare routine. My suspicion is that even if/when objects of
> >>di
Francis Girard wrote:
Le jeudi 27 Janvier 2005 21:29, Steven Bethard a écrit :
So None being smaller than anything (except itself) is hard-coded into
Python's compare routine. My suspicion is that even if/when objects of
different types are no longer comparable by default (as has been
suggested fo
Le vendredi 28 Janvier 2005 07:49, jfj a écrit :
> Francis Girard wrote:
> > Wow ! What is it that are compared ? I think it's the references (i.e.
> > the adresses) that are compared. The "None" reference may map to the
> > physical 0x0 adress whereas 100 is internally interpreted as an object
> >
Oops, I misunderstood what you said. I understood that it was now the case
that objects of different types are not comparable by default whereas you
meant it as a planned feature for version 3.
I really hope that it will indeed be the case for version 3.
Francis Girard
Le jeudi 27 Janvier 2005
Francis Girard wrote:
> Wow ! What is it that are compared ? I think it's the references (i.e. the
> adresses) that are compared. The "None" reference may map to the physical 0x0
> adress whereas 100 is internally interpreted as an object for which the
> reference (i.e. address) exists and therefo
I am trying to use win32net on a Windows 2000 Japanese system, and
discover that it won't import. I found a message describing the
problem (see below) but can't find any response, and don't see a bug
report on the SourceForge site for this. . Can anyone tell me if
this has ben fixed? An early
Le jeudi 27 Janvier 2005 21:29, Steven Bethard a écrit :
> Francis Girard wrote:
> > Le jeudi 27 Janvier 2005 20:16, Steven Bethard a écrit :
> >>flamesrock wrote:
> >>>The statement (1 > None) is false (or any other value above 0). Why is
> >>>this?
> >>
> >>What code are you executing? I don't g
Steven Bethard wrote:
> So None being smaller than anything (except itself) is hard-coded into
> Python's compare routine.
> My suspicion is that even if/when objects of different types are no longer
> comparable by default
> (as has been suggested for Python 3.0), None will still compare as s
Francis Girard wrote:
Wow ! What is it that are compared ? I think it's the references (i.e. the
adresses) that are compared. The "None" reference may map to the physical 0x0
adress whereas 100 is internally interpreted as an object for which the
reference (i.e. address) exists and therefore gre
Hi Daniel,
You should probably take a look at the executemany method of the cursor.
Your insert times might drop by a factor 20 . Here's an example.
Cheers,
Fedor
import time
import MySQLdb
db=MySQLdb.Connect(user="me",passwd="my password",db="test")
c=db.cursor()
n=0
tic=time.time()
for i in ran
Francis Girard wrote:
Le jeudi 27 Janvier 2005 20:16, Steven Bethard a écrit :
flamesrock wrote:
The statement (1 > None) is false (or any other value above 0). Why is
this?
What code are you executing? I don't get this behavior at all:
py> 100 > None
True
py> 1 > None
True
py> 0 > None
True
py> -
Le jeudi 27 Janvier 2005 20:16, Steven Bethard a écrit :
> flamesrock wrote:
> > The statement (1 > None) is false (or any other value above 0). Why is
> > this?
>
> What code are you executing? I don't get this behavior at all:
>
> py> 100 > None
> True
> py> 1 > None
> True
> py> 0 > None
> True
Xah Lee wrote:
>
> # the above showcases a quick hack.
> # File::Find is one of the worst module
> # there is in Perl. One cannot use it
> # with a recursive (so-called) "filter"
> # function. And because the way it is
> # written, one cannot make the filter
> # function purely functional. (it r
Christian Dieterich wrote:
On Dé Céadaoin, Ean 26, 2005, at 17:09 America/Chicago, Jeff Shannon wrote:
You could try making D a container for B instead of a subclass:
Thank you for the solution. I'll need to have a closer look at it.
However it seems like the decision whether to do "some expensiv
I've been having a problem with PythonWin that seemed to start
completely spontaneously and I don't even know where to START to find
the answer. The only thing I can think of that marks the point
between "PythonWin works fine" and "PythonWin hardly every works fine"
was that I changed the size of
# -*- coding: utf-8 -*-
# Python
suppose you want to walk into a directory, say, to apply a string
replacement to all html files. The os.path.walk() rises for the
occasion.
© import os
© mydir= '/Users/t/Documents/unix_cilre/python'
© def myfun(s1, s2, s3):
© print s2 # current dir
© pr
Stephen Thorne wrote:
On Thu, 27 Jan 2005 00:02:45 -0700, Steven Bethard
<[EMAIL PROTECTED]> wrote:
By using the iterator instead of readlines, I read only one line from
the file into memory at once, instead of all of them. This may or may
not matter depending on the size of your files, but using
flamesrock wrote:
The statement (1 > None) is false (or any other value above 0). Why is
this?
What code are you executing? I don't get this behavior at all:
py> 100 > None
True
py> 1 > None
True
py> 0 > None
True
py> -1 > None
True
py> -100 > None
True
(The reason I ask is sortof unrelated. I wan
Simon Wittber wrote:
Does anyone have ideas on why this is occuring, or how I might
otherwise prevent memory blow out?
I don't know it this is a decent enough solution but
if I were you I would try running the SQL service
in a subshell. Within this subshell I would
terminate then restart the prog
Ivo Woltring wrote:
The output of mencoder is not readable with readlines (i tried it) because
after the initial informational lines You don't get lines anymore (you get a
linefeed but no newline)
The prints are all on the same line (like a status line)
something like
Pos: 3,1s 96f ( 0%) 42f
Steven Bethard <[EMAIL PROTECTED]> writes on Tue, 25 Jan 2005 12:22:13 -0700:
> Fuzzyman wrote:
> ...
> > A better (and of course *vastly* more powerful but unfortunately only
> > a dream ;-) is a similarly limited python virutal machine.
I already wrote about the "RestrictedPython" which is
"flamesrock" <[EMAIL PROTECTED]> wrote:
> The statement (1 > None) is false (or any other value above 0). Why is
> this?
http://docs.python.org/ref/comparisons.html
"The operators <, >, ==, >=, <=, and != compare the values of
two objects. The objects need not have the same type. If both
Hey,
I have used two great models - Tkinter and Gnuplot.py - for a while. I
can display an image on a Canvas widget using Tkinter and I can also
generate a gnuplot from Python on the fly in a separate window. Does
anyone know how to display such a gnuplot on the Canvas widget with an
image in it
Well, after playing with python for a bit I came across something
weird:
The statement (1 > None) is false (or any other value above 0). Why is
this?
(The reason I ask is sortof unrelated. I wanted to use None as a
variable for which any integer, including negative ones have a greater
value so t
Timo Virkkala wrote:
This guy has got to be a troll. No other way to understand.
--
Timo Virkkala
Not a troll, just another case of premature optimization run amok.
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
is there a syntax to comment out a block of code? i.e. like html's
or perhaps put a marker so that all lines from there on are ignored?
thanks.
Of course -- this feature is so important that all computer
manufacturers worldwide have made a special button on the computer
case just
Le jeudi 27 Janvier 2005 10:30, Nick Craig-Wood a ÃcritÂ:
> Francis Girard <[EMAIL PROTECTED]> wrote:
> > Thank you Nick and Steven for the idea of a more generic imerge.
>
> You are welcome :-) [It came to me while walking the children to school!]
>
Sometimes fresh air and children purity is al
On Dé Céadaoin, Ean 26, 2005, at 17:02 America/Chicago, Steven Bethard
wrote:
Just a note of clarification:
The @deco syntax is called *decorator* syntax.
Classes with a __get__ method are called *descriptors*.
Okay, I think I get the idea. I didn't know about the @deco syntax, but
it seems to b
1 - 100 of 198 matches
Mail list logo