Alaric Haag a écrit :
Hello,
Is the use of __repr__ below a "really bad idea"?
I'd probably do the same as Stephen Hansen ("") or
at least something quite similar.
Now on a totally unrelated point (micro optimization anyone ?):
class Dimension():
def __init__(self, setp, name):
Gabriel Genellina a écrit :
En Mon, 02 Feb 2009 19:51:11 -0200, Russ P.
escribió:
Suppose a library developer (or a module developer on a large team)
uses leading underscores. Now suppose that, for whatever reason
(pressure from the users, perhaps), the library developer decides to
change a "
thmpsn@gmail.com a écrit :
On Feb 3, 1:14 am, David Cournapeau wrote:
(snip)
after all, we have used FILE* for years and I have no idea about the FILE
structure.
Your lack of knowledge about it doesn't mean that it has somehow
magically "private" members. The only reason that most of us
Russ P. a écrit :
On Feb 3, 4:14 pm, "Rhodri James" wrote:
On Tue, 03 Feb 2009 05:37:57 -, Russ P. wrote:
(snip)
If a library developer releases the source code of a library, any user
can trivially "defeat" the access restrictions. But if a team of
developers is checking in code for a pr
Hi,
using e.g.
import subprocess
Package='app-arch/lzma-utils'
EQ=subprocess.Popen(['/usr/bin/equery','depends',Package],stdout=subprocess.PIPE)
EQ_output= EQ.communicate()[0]
EQ_output is a string containing multiple lines.
I'd prefer a file-like object, e.g. EQ_OUT
so that I can loop over the
On Feb 4, 2:50 pm, srinivasan srinivas
wrote:
> Hi,
> Could someone tell me the way to add body content to
> 'email.mime.multipart.MIMEMultipart' instance?
>
> Thanks,
> Srini
excerpt from one of the modules I use:
def build_body(html, text=''):
text = text.strip() and text or html2text(htm
Hi,
First I must state that I'm a beginner in Python, so all help would be
more than welcomed.
I want do declare some classes (classes.py) in an external editor,
than import the file and use the classes. After I change the file, I
want to reload the definitions w/o leaving the interactive
interpr
flagg wrote:
> On Feb 3, 7:32?am, Nick Craig-Wood wrote:
> > flagg wrote:
> > > ?This xmlrpc server is designed to parse dns zone files and then
> > > ?perform various actions on said files. \
> > > ?It uses dnspython, and xmlrpclib
> > > ? I'd like to know what some of the more experienced pyt
Christian Heimes wrote:
> John Harper schrieb:
> > I am trying to build Python to use in an embedded system which uses a
> > ppc_440 CPU. The only information I've found is something written by
> > Klaus Reimer a few years ago, which was based on Python 2.2. So far I
> > seem to have successfu
On Wed, Feb 4, 2009 at 1:22 AM, Helmut Jarausch wrote:
> Hi,
>
> using e.g.
> import subprocess
> Package='app-arch/lzma-utils'
> EQ=subprocess.Popen(['/usr/bin/equery','depends',Package],stdout=subprocess.PIPE)
> EQ_output= EQ.communicate()[0]
>
> EQ_output is a string containing multiple lines.
On Feb 3, 7:35 pm, David Sevilla wrote:
> I am quite new to Linux, and thought that by using yast2 there would
> be no user problems (I am asked for the root password). I will sudo it
> to see if it solves the problem.
yast asked you for the password so that easy_install could be
installed correc
Martin v. Löwis wrote:
I follow David's guess that Linux does better IO than Windows (not
knowing anything about the benchmark, of course)
I originally thought it must be the vmware host stuff offloading IO to
the second core, but watching with sysinternals didn't show a lot of
extra stuff goin
Steven D'Aprano a écrit :
On Tue, 03 Feb 2009 12:09:46 +0100, Bruno Desthuilliers wrote:
I love Python, and I'm greedy and want it all: I want a dynamic,
easy-to- use language *and* a compiler that can protect me from myself
That's not what compilers are for.
So you say.
While it's quite c
On 4/02/2009 4:51 AM, Victor Lin wrote:
It may looks like this.
void operator() (double time, const AudioData&data) {
// acquire lock
m_Function(time, data);
// release lock
}
You want something like:
void operator() (double time, const AudioData&dat
Marius Butuc wrote:
I want do declare some classes (classes.py) in an external editor,
than import the file and use the classes. After I change the file, I
want to reload the definitions w/o leaving the interactive
interpreter.
So far I have tried
- import classes # doesn't import
Chris Rebert wrote:
On Wed, Feb 4, 2009 at 1:22 AM, Helmut Jarausch wrote:
Hi,
using e.g.
import subprocess
Package='app-arch/lzma-utils'
EQ=subprocess.Popen(['/usr/bin/equery','depends',Package],stdout=subprocess.PIPE)
EQ_output= EQ.communicate()[0]
EQ_output is a string containing multiple
andrew cooke wrote:
On Feb 3, 7:35 pm, David Sevilla wrote:
I am quite new to Linux, and thought that by using yast2 there would
be no user problems (I am asked for the root password). I will sudo it
to see if it solves the problem.
yast asked you for the password so that easy_install could b
Hi All,
I have a script in which I receive a list of functions. I iterate over
the list and run each function. This functions are created by some other
user who is using the lib I wrote. Now, there are some cases in which
the function I receive will never finish (stuck in infinite loop).
Suppose I
Clovis Fabricio wrote:
2009/2/4 Helmut Jarausch :
using e.g.
import subprocess
Package='app-arch/lzma-utils'
EQ=subprocess.Popen(['/usr/bin/equery','depends',Package],stdout=subprocess.PIPE)
EQ_output= EQ.communicate()[0]
EQ_output is a string containing multiple lines.
I'd prefer a file-like ob
Gabriel schrieb:
Hello
I need to write a software router [yes, software equivalent to a
hardware box that is routing packets .)]. It's a school
work..
Question is: is possible write this kind of application in python? and
if it's, what module should i use?
I tried search for some libpcap equi
2009/2/4 Helmut Jarausch :
> using e.g.
> import subprocess
> Package='app-arch/lzma-utils'
> EQ=subprocess.Popen(['/usr/bin/equery','depends',Package],stdout=subprocess.PIPE)
> EQ_output= EQ.communicate()[0]
> EQ_output is a string containing multiple lines.
> I'd prefer a file-like object, e.g. E
On Feb 4, 9:16 am, andrew cooke wrote:
> > actually "su" needs the root (or the target users') password
> > and sudo needs _your_ (the current users) password.
>
> argh, sorry for the confusion.
actually, no. sudo requires the root password. at least on opensuse
11.1 default config. i just tri
Quoting "Russ P." :
> > Indeed he can. He can even do that in Python; it just requires a little
> > self-discipline from the team, or a validation script on the code
> > repository if he really doesn't trust them. Not only can this be done
> > without forcing the rest of the world to play, it m
Quoting "Russ P." :
> Imagine you own a company, and you decide to lease an office building.
> Would you expect the office doors to have locks on them? Oh, you
> would? Why? You mean you don't "trust" your co-workers? What are locks
> but enforced access restriction?
This analogy is nonsense. Th
2009/2/4 John Forse :
> Does anyone know if Python v3.0 is available as an .mpkg installer for Mac
> 10.5.6. I have used 2.5 & updated to 2.6.1 this way, but can't find any
> reference to one on the Python.org download site. I've downloaded the Python
> 3.0 folder but can't follow how to install i
Andreas Waldenburger wrote:
On Sat, 31 Jan 2009 13:27:02 -0500 Pat wrote:
Tobiah wrote:
Just out of curiosity, why was len() made to
be it's own function? I often find myself
typing things like my_list.len before I
catch myself.
Thanks,
Toby
I'm surprised that no one responded to that que
Laszlo Nagy wrote:
> Does anyone know how to get firebird 1.5 driver (kinterbasdb) for
> FireBird 1.5?
>
> My problem:
>
>* python 2.6 already installed on a server
>* there is a firebird 1.5 database on the same server
>* I need to access it from python 2.6
>
> Any thoughts?
>
>
Hello, I'm an inexperienced programmer and I'm trying to make a
Tkinter window and have so far been unsuccessful in being able to
delete widgets from the main window and then add new ones back into
the window without closing the main window.
The coding looks similar to this:
from Tkinter import *
Pat wrote:
Why didn't you answer the len() question?
It's a bit of a FAQ: len() cannot be a method of list objects because it
works on any sequence or iterable.
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 4, 10:14 am, Robin Becker wrote:
> > [rpt...@localhost tests]$ time python25 runAll.py
> > .
>
> .
>
> > --
> > Ran 193 tests in 27.841s
>
andrew cooke wrote:
On Feb 4, 9:16 am, andrew cooke wrote:
actually "su" needs the root (or the target users') password
and sudo needs _your_ (the current users) password.
argh, sorry for the confusion.
actually, no. sudo requires the root password. at least on opensuse
11.1 default config
Hi all,
As part of the program I've created and am maintaining, the user has
to type in his/her username and password into tkinter simple dialog
windows. What you'll see below is that I've nested an askstring
dialog window within a call to use the ftp module to login to an FTP
server.
result = s
On Wed, 2009-02-04 at 13:40 +0200, Noam Aigerman wrote:
> Hi All,
> I have a script in which I receive a list of functions. I iterate over
> the list and run each function. This functions are created by some other
> user who is using the lib I wrote. Now, there are some cases in which
> the functio
About the hijacking - I *might* have done it without understanding what
I did (replied to a previous message and then changed the subject), if
that's what you mean...
Sorry
-Original Message-
From: python-list-bounces+noama=answers@python.org
[mailto:python-list-bounces+noama=answers..
On Feb 4, 5:35 am, Luis Zarrabeitia wrote:
> Quoting "Russ P." :
>
> > Imagine you own a company, and you decide to lease an office building.
> > Would you expect the office doors to have locks on them? Oh, you
> > would? Why? You mean you don't "trust" your co-workers? What are locks
> > but enfo
Hello all,
I have been trying to write a web service using ZSI with wsdl2py. I have
read 'The Zolera Soap Infrastructure User’s Guide Release 2.0.0' and some
older guides (a guide by Nortel called Using ZSI with wsdl2py) and am
unable to find any working examples of how to use arrays in complex
Hello
If I wanted to build some social web site such as Facebook, what do
frameworks like Django or TurboGears provide over writing a site from
scratch using Python?
Thank you for your feedback.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 2 Feb 2009 22:00:53 +0100, Martin wrote:
>as suggested, the DBA should seriously think about defining the
>correct type of the column here, for intermediate use and getting
>stuff to work you could use a view and define some stored procedures
>on it so that inserting properly works...
Rig
Marco Mariani wrote:
Pat wrote:
Why didn't you answer the len() question?
It's a bit of a FAQ: len() cannot be a method of list objects because it
works on any sequence or iterable.
Thats only half of the truth :-)
len() can use some internal optimizations on certain objects
where sequenc
> actually "su" needs the root (or the target users') password
> and sudo needs _your_ (the current users) password.
argh, sorry for the confusion.
--
http://mail.python.org/mailman/listinfo/python-list
Do to laking knowledge my google searches have not turned up an answer for me.
I know this is wrong it uses the items in the list as the filename,
how do I refer to the dataname and not the items in it.
def savedata(dataname):
filename = str(dataname) # this does not do what I would like it t
On 4/02/2009 8:43 PM, I wrote:
PyGILState_STATE old = PyGILState_Acquire();
Make that PyGILState_Ensure();
Mark
--
http://mail.python.org/mailman/listinfo/python-list
2009/2/4 Helmut Jarausch :
>> EQ.stdout is the filelike object you're looking for.
>> communicate() grabs entire output at once so don't use it.
> Thanks a lot, I haven't found that in the official documentation.
> Helmut.
That would be a documentation bug.
Fortunately it is not true. Here is it i
Clovis Fabricio wrote:
2009/2/4 Helmut Jarausch :
EQ.stdout is the filelike object you're looking for.
communicate() grabs entire output at once so don't use it.
Thanks a lot, I haven't found that in the official documentation.
Helmut.
That would be a documentation bug.
Fortunately it is not
On Feb 4, 8:08 am, Gilles Ganault wrote:
> Hello
>
> If I wanted to build some social web site such as Facebook, what do
> frameworks like Django or TurboGears provide over writing a site from
> scratch using Python?
>
> Thank you for your feedback.
Why not just look at the frameworks themselves
Vincent Davis wrote:
> Do to laking knowledge my google searches have not turned up an answer for me.
> I know this is wrong it uses the items in the list as the filename,
> how do I refer to the dataname and not the items in it.
>
> def savedata(dataname):
> filename = str(dataname) # this do
I know this is wrong it uses the items in the list as the filename,
how do I refer to the dataname and not the items in it.
Without a sample value for "dataname", it's hard to tell what
you're trying to do. Do you mean
dataname = ['path', 'to', 'file']
...
filename = os.sep.join(datana
Firstly hi, I don't know any of you yet but am picking up Python and
will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4
years of a comp tech degree, long story) and am learning Python, 'cos I
saw some code and it just looks a really nice language to work with. I
come from C++
Scott David Daniels wrote:
> Marius Butuc wrote:
>> I want do declare some classes (classes.py) in an external editor,
>> than import the file and use the classes. After I change the file, I
>> want to reload the definitions w/o leaving the interactive
>> interpreter.
>>
>> So far I have tried
>>
Noam Aigerman wrote:
> About the hijacking - I *might* have done it without understanding what
> I did (replied to a previous message and then changed the subject), if
> that's what you mean...
> Sorry
That's what he meant. A lot of news reading and email software uses
In-Reply-To and various othe
Hi everybody,
I'm having a ball with the power of regular expression but I stumbled
on something I don't quite understand:
theOriginalString = "spam:(?P.*) ham:(?P.*)"
aReplacementPattern = "\(\?P.*\)"
aReplacementString= "foo"
re.sub(aReplacementPattern , aReplacementString, theOriginalString)
Sorry for not being clearI would have something like this
x = [1, 2, 3,5 ,6 ,9,234]
Then
def savedata(dataname): ..
savedata(x)
this would save a to a file called x.csv This is my problem, getting the
name to be x.csv which is the same as the name of the list.
and the data in the file w
kurt.forrester@googlemail.com wrote:
> Any ideas on how to suppress the warning output:
> __main__:1: Warning: No data - zero rows fetched, selected, or
> processed
You can use the warnings module to suppress these I would have
thought.
--
Nick Craig-Wood -- http://www.craig-wood.com/ni
Vincent Davis wrote:
> Sorry for not being clear I would have something like this x = [1, 2,
> 3,5 ,6 ,9,234]
>
> Then def savedata(dataname): ..
>
> savedata(x)
>
> this would save a to a file called x.csv This is my problem, getting
> the name to be x.csv which is the same as the name of
On Feb 4, 10:47 am, Catherine Heathcote
wrote:
> Firstly hi, I don't know any of you yet but am picking up Python and
> will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4
> years of a comp tech degree, long story) and am learning Python, 'cos I
> saw some code and it just looks
Mike Driscoll wrote:
On Feb 4, 10:47 am, Catherine Heathcote
wrote:
Firstly hi, I don't know any of you yet but am picking up Python and
will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4
years of a comp tech degree, long story) and am learning Python, 'cos I
saw some code an
Emanuele D'Arrigo wrote:
> Hi everybody,
>
> I'm having a ball with the power of regular expression but I stumbled
> on something I don't quite understand:
>
> theOriginalString = "spam:(?P.*) ham:(?P.*)"
> aReplacementPattern = "\(\?P.*\)"
> aReplacementString= "foo"
> re.sub(aReplacementPattern
I know nothing but that sucks. I can think of a lot of times I would like to
do something similar. There really is no way to do this, it seems like there
would be some simple way kind of like str(listname) but backwards or
different.
Thanks
Vincent Davis
On Wed, Feb 4, 2009 at 10:07 AM, MRAB wr
I guess what I am saying is that it does not seem like I am adding any
information that is not already there when I have to enter that list and
list name after all they are the same.
Thanks
Vincent Davis
On Wed, Feb 4, 2009 at 10:18 AM, Vincent Davis wrote:
> I know nothing but that sucks. I ca
On Feb 4, 5:17 pm, MRAB wrote:
> You could use the lazy form "*?" which tries to match as little as
> possible, eg "\(\?P.*?\)" where the ".*?" matches:
> spam:(?P.*) ham:(?P.*)
> giving "spam:foo ham:(?P.*)".
A-ha! Of course! That makes perfect sense! Thank you! Problem solved!
Ciao!
Manu
--
Catherine Heathcote wrote:
> Firstly hi, I don't know any of you yet but am picking up Python and
> will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4
> years of a comp tech degree, long story) and am learning Python, 'cos
> I saw some code and it just looks a really nice languag
can I do it the otherway, that issavedata('nameoflist')
Thanks
Vincent Davis
720-301-3003
On Wed, Feb 4, 2009 at 10:23 AM, Vincent Davis wrote:
> I guess what I am saying is that it does not seem like I am adding any
> information that is not already there when I have to enter that list and
>
Bill McClain wrote:
On 2009-02-03, mohana2...@gmail.com wrote:
Hi,
I need to compare two dates and find the number of days between those
two dates.This can be done with datetime module in python as below,
but this is not supported in Jython.
There are julian day routines in this astronomy pa
I know nothing but that sucks. I can think of a lot of times I would like to
do something similar. There really is no way to do this, it seems like there
would be some simple way kind of like str(listname) but backwards or
different.
Python does the only reasonable thing: doesn't give you acces
> Hi everybody,
>
> I'm having a ball with the power of regular expression but I stumbled
> on something I don't quite understand:
>
> theOriginalString = "spam:(?P.*) ham:(?P.*)"
> aReplacementPattern = "\(\?P.*\)"
> aReplacementString= "foo"
> re.sub(aReplacementPattern , aReplacementString, the
can I do it the otherway, that issavedata('nameoflist')
for limited cases where your variable is defined globally, you
can use:
>>> a = [1,2,3,4]
>>> def save(s):
... print globals().get(s, "UNDEFINED")
...
>>> save("a")
[1, 2, 3, 4]
>>> save("b")
UNDEFINED
>>> b = (6,5,
Vincent Davis wrote:
I guess what I am saying is that it does not seem like I am adding
any information that is not already there when I have to enter that
list and list name after all they are the same.
If you write:
y = x
then both x and y refer to the same list.
The actual names of the va
Quoth Catherine Heathcote :
> all goes well. I have an idea for a small project, an overly simplistic
> interactive fiction engine (well more like those old choose your own
> adventure books, used to love those!) that uses XML for its map files.
> The main issues I see so far is the XML parsing
Hi All,
i want to automate my task for of doing cvs checkout for different
modules. I am on Windows XP and i am using Python 2.6. here is my
attched python code. The thing is when i am running this nothing is
happening. I am not sure at which end the problem is. am i giving
wrong parameters or wha
Matimus writes:
> On Feb 4, 8:08 am, Gilles Ganault wrote:
>> Hello
>>
>> If I wanted to build some social web site such as Facebook, what do
>> frameworks like Django or TurboGears provide over writing a site from
>> scratch using Python?
>>
>> Thank you for your feedback.
>
> Why not just look
En Wed, 04 Feb 2009 12:38:04 -0200, Pat escribió:
Andreas Waldenburger wrote:
On Sat, 31 Jan 2009 13:27:02 -0500 Pat wrote:
Tobiah wrote:
Just out of curiosity, why was len() made to
be it's own function? I often find myself
typing things like my_list.len before I
catch myself.
I'm surpr
En Wed, 04 Feb 2009 07:05:22 -0200, Bruno Desthuilliers
escribió:
Gabriel Genellina a écrit :
En Mon, 02 Feb 2009 19:51:11 -0200, Russ P.
escribió:
Suppose a library developer (or a module developer on a large team)
uses leading underscores. Now suppose that, for whatever reason
(pressure
Hendrik van Rooyen wrote:
"Scott David Daniels" wrote:
You might enjoy looking at QNX, since I think it is built along the
lines you are describing here. I have an ancient copy of their OS,
but haven't followed for more than couple of decades.
I vaguely know about it, and I know they claim
Pat wrote:
Andreas Waldenburger wrote:
On Sat, 31 Jan 2009 13:27:02 -0500 Pat wrote:
Tobiah wrote:
Just out of curiosity, why was len() made to
be it's own function? I often find myself
typing things like my_list.len before I
catch myself.
Thanks,
Toby
I'm surprised that no one responded
I'm reading Mark Summerfield's "Programming Python 3.0" at the moment,
and I'm puzzled by some of his uses of sys.float_info.epsilon. I
appreciate the issues of comparing floating point numbers, but I'm
puzzled by code like:
...
x = float(input(msg))
if abs(x) < sys.float_info.epsilon:
Luke ha scritto:
Hello, I'm an inexperienced programmer and I'm trying to make a
Tkinter window and have so far been unsuccessful in being able to
delete widgets from the main window and then add new ones back into
the window without closing the main window.
The coding looks similar to this:
.
Luke wrote:
Hello, I'm an inexperienced programmer and I'm trying to make a
Tkinter window and have so far been unsuccessful in being able to
delete widgets from the main window and then add new ones back into
the window without closing the main window.
The coding looks similar to this:
...
from
> Is it the
> x64 working faster at its design sizes
Another guess (still from the darkness of not having received the
slightest clue what the test actually does): if it creates integers
in range(2**32, 2**64), then they fit into a Python int on AMD64-Linux,
but require a Python long on 32-bit Win
On Feb 4, 3:11 am, Bruno Desthuilliers wrote:
> thmpsn@gmail.com a écrit :
>
>
>
> > On Feb 3, 1:14 am, David Cournapeau wrote:
> (snip)
> >> after all, we have used FILE* for years and I have no idea about the FILE
> >> structure.
>
> > Your lack of knowledge about it doesn't mean that it ha
Tim Rowe wrote:
I'm reading Mark Summerfield's "Programming Python 3.0" at the moment,
and I'm puzzled by some of his uses of sys.float_info.epsilon. I
appreciate the issues of comparing floating point numbers, but I'm
puzzled by code like:
...
x = float(input(msg))
if abs(x) < sys.fl
On Feb 4, 7:18 pm, Tim Rowe wrote:
> I didn't realise that float() could return anything with an absolute
> value less than sys.float_value.epsilon other than 0.0 (which I think
> all representations can represent exactly). What am I missing here?
There are many positive floating-point values sm
Tim Arnold wrote:
> "?? ???" wrote in message
> news:ciqh56-ses@archaeopteryx.softver.org.mk...
>> So, I'm using lxml to screen scrap a site that uses the cyrillic
>> alphabet (windows-1251 encoding). The sites HTML doesn't have the > ..content-type.. charset=..> header, but does
On Feb 4, 7:52 pm, Scott David Daniels wrote:
> You are missing the whole thing that mes floating point tricky.
> I _believe_ that the epsilon is the smallest positive x such that
> 1.0 != 1.0 + x
Nitpick alert: this isn't quite the same thing, since that
definition is affected by rounding.
I have to use jython 2.5b1 couse with the stable version it's not
possible to use sympy library for mathematic operation but the
"jythonc.bat" it's not included.
I look to this link: http://www.jython.org/Project/jythonc.html
"..jythonc is unmaintained and will not be present in its current form
in
Tim Rowe wrote:
> I'm reading Mark Summerfield's "Programming Python 3.0" at the moment,
> and I'm puzzled by some of his uses of sys.float_info.epsilon. I
> appreciate the issues of comparing floating point numbers, but I'm
> puzzled by code like:
> ...
> x = float(input(msg))
> if abs
They provide a nice framework that will handle most of the annoying things.
With Django you don't need to write SQL (in a sense). etc..
On Wed, Feb 4, 2009 at 6:08 PM, Gilles Ganault wrote:
> Hello
>
> If I wanted to build some social web site such as Facebook, what do
> frameworks like Django o
"Russ P." writes:
> Imagine you own a company, and you decide to lease an office building.
> Would you expect the office doors to have locks on them? Oh, you
> would? Why? You mean you don't "trust" your co-workers? What are locks
> but enforced access restriction?
Huh? The lock on the door isn
I am fairly new to Python, the first version I loaded was 2.6. I have
since downloaded 3.0 and I was wondering what the best practice for
upgrading is? I am using Windows XP Pro for my OS.
Thanks,
Jim
--
http://mail.python.org/mailman/listinfo/python-list
joviyach wrote:
I am fairly new to Python, the first version I loaded was 2.6. I have
since downloaded 3.0 and I was wondering what the best practice for
upgrading is? I am using Windows XP Pro for my OS.
On Windows, X.Y.* all go in one directory (over-riding each other)
So the whole 2.6.* fami
Steven D'Aprano writes:
> Now, that's a toy example. Languages like Ada make correctness proofs,
> well, perhaps not easy, but merely difficult compared to impossible for
> languages like Python.
Say `generally impractical' rather than `impossible' and I'll agree with
you. But I'm not actuall
pellegrin...@gmail.com schrieb:
I have to use jython 2.5b1 couse with the stable version it's not
possible to use sympy library for mathematic operation but the
"jythonc.bat" it's not included.
I look to this link: http://www.jython.org/Project/jythonc.html
"..jythonc is unmaintained and will not
fredbasset1...@gmail.com writes:
> I've written a C extension, see code below, to provide a Python
> interface to a hardware watchdog timer. As part of the initialization
> it makes some calls to mmap, I am wondering should I be making
> balanced calls to munmap in some kind of de-init function?
"Scott David Daniels" writes:
> To avoid using epsilon, do something like:
> if 1 + abs(x) != 1:
An OK effort, but you're wrong. That's not how to do it at all.
--
http://mail.python.org/mailman/listinfo/python-list
> What do you need jythonc for? That's purely for a somewhat neater
> integration of *Java* with jython - nothing to do with sympy.
>
> Diez
I need jythonc to compile a simple script in java,
this script import SymPy library.
thank you
ruelle
--
http://mail.python.org/mailman/listinfo/python-list
On 2009-02-03 19:30, KMCB wrote:
> I was wondering if anyone was aware of a JDBC DBAPI module for
> cpython. I have looked at PYJDBC and was interested in avoiding using
> that extra level of ICE. I was thinking maybe someone would have back
> ported zxJDBC from Jython. Or used that as a startin
"Gary Herron" writes:
> Python *is* object-oriented
I disagree. Care to provide proof of that statement?
--
http://mail.python.org/mailman/listinfo/python-list
On 2009-02-04 11:14, Robin Becker wrote:
> Martin v. Löwis wrote:
I follow David's guess that Linux does better IO than Windows (not
knowing anything about the benchmark, of course)
>>> I originally thought it must be the vmware host stuff offloading IO to
>>> the second core, but wa
"Noam Aigerman" writes:
> About the hijacking - I *might* have done it without understanding
> what I did (replied to a previous message and then changed the
> subject), if that's what you mean...
Right. The message still declares itself (via fields in the header) to
be a reply to the original,
On 2009-02-03 15:32, Tino Wildenhain wrote:
> Christopher Culver wrote:
>> Tino Wildenhain writes:
>>> so instead you would use archive = zipfile.ZipFile(remotedata)
>>
>> That produces the following error if I try that in the Python
>> interpreter (URL edited for privacy):
>>
> import zipfile
2009/2/4 Mark Dickinson :
> There are many positive floating-point values smaller than
> sys.float_info.epsilon.
>
> sys.float_info.epsilon is defined as the difference between 1.0 and
> the next largest representable floating-point number. On your system,
> the next largest float is almost certa
1 - 100 of 165 matches
Mail list logo