On May 2, 3:49 pm, Basilisk96 <[EMAIL PROTECTED]> wrote:
> A simple
>
> if s:
> print "not empty"
> else:
> print "empty"
>
> will do.
How do you know that s is a string?
>
> -Basilisk96
--
http://mail.python.org/mailman/listinfo/python-list
On May 2, 6:41 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] a écrit :
>
> > On May 2, 3:49 pm, Basilisk96 <[EMAIL PROTECTED]> wrote:
>
> >>A simple
>
> >>if s:
> >>print "not empty"
> >>
Messaggio originale
Da: [EMAIL PROTECTED]
Data: 3-mag-2007
10.02
A:
Ogg: problem with meteo datas
Hello,
I'm Peter and I'm new in python codying and I'm using parsying
to
extract data from one meteo Arpege file.
This file is long file and
it's composed by word
On May 2, 11:59 pm, [EMAIL PROTECTED] (Alex Martelli) wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>...
>
> > >>> import gmpy
> > >>> gmpy.mpz(11)
> > mpz(11)
> > >>> gmpy.mpz('11',10)
> > mpz(11)
&
On May 3, 9:41 am, Trans <[EMAIL PROTECTED]> wrote:
> I'm taking a pole on how best to name programming library packages.
Well, the Poles have been wrong before.
> If you have a second, please have a look.
>
> http://7ranscode.blogspot.com/2007/05/library-poll.html
>
On May 3, 2:03 pm, John Salerno <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On May 2, 3:49 pm, Basilisk96 <[EMAIL PROTECTED]> wrote:
> >> A simple
>
> >> if s:
> >> print "not empty"
> >> else:
> >
It is not possible to index set objects. That is OK.
But, what if I want to find some element from the Set.
from sets import Set
s = Set( range(12 )
if I do pop, that particular element gets removed.
I do not want to remove the element, but get some element
from the Set.
s.some_element() # Is n
Hello,
the simplest way to launch the user's standard mail client from a
Python program is by creating a mailto: URL and launching the
webbrowser:
def mailto_url(to=None,subject=None,body=None,cc=None):
"""
encodes the content as a mailto link as described on
http://www.faqs.org/rfcs/
On May 4, 11:34 am, Peter Otten <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > It is not possible to index set objects. That is OK.
> > But, what if I want to find some element from the Set.
>
> > from sets import Set
> > s = Set( range(12 )
>
&
On May 4, 5:02 am, Jaswant <[EMAIL PROTECTED]> wrote:
> This is a simple way to do it i think
>
> s=hello
>
> >>> if(len(s)==0):
>
> ... print "Empty"
> ... else:
> ... print s
> ...
> hello
But you are still making the assump
On May 4, 1:31 pm, "Hamilton, William " <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
>
> > On May 4, 5:02 am, Jaswant <[EMAIL PROTECTED]> wrote:
> > > This is a simple way to do it i think
>
> &g
On May 4, 9:19�pm, [EMAIL PROTECTED] (Alex Martelli) wrote:
> Larry Bates <[EMAIL PROTECTED]> wrote:
>
> � �...
>
> > Isn't deprecated like depreciated but not quite to zero yet?
>
> No. �"To deprecate" comes from a Latin verb meaning "to ward o
Wiseman wrote:
> I'm kind of disappointed with the re regular expressions module. In
> particular, the lack of support for recursion ( (?R) or (?n) ) is a
> major drawback to me. There are so many great things that can be
> accomplished with regular expressions this way, such as validating a
> math
Hi Dave,
I can't help you but maybe you'll have more luck if you try also the
dedicated py2exe mailing list:
https://lists.sourceforge.net/lists/listinfo/py2exe-users
francois
On May 4, 7:36 am, Dave Lim <[EMAIL PROTECTED]> wrote:
> >On May 3, 1:29 pm, Dave Lim
> w
On May 6, 9:50 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> On Windows you can use MAPI.
But how? I could not find any starting point.
I found examples about sending mail directly, which gives me the
impression that MAPI is just Microsoft's version of SMTP. Th
On May 6, 10:08 am, Stefan Sonnenberg-Carstens
<[EMAIL PROTECTED]> wrote:
> Stefan Sonnenberg-Carstens schrieb:
>
> > Gabriel Genellina schrieb:
>
> >> En Fri, 04 May 2007 05:07:44 -0300, [EMAIL PROTECTED]
> >> <[EMAIL PROTECTED]> escribió:
>
>
On May 4, 11:42 am, Tim Golden <[EMAIL PROTECTED]> wrote:
> I'm going to stick my neck out and say: I doubt
> if there's one recognised, approved method. That
> would require every email client to have a way
> of accepting a command which said "Open up a new
>
On 4 Mai, 15:57, redcic <[EMAIL PROTECTED]> wrote:
> I've already got this package. I just wanted to try something new.
>
> However, since you talk about it, I've got a question regarding this
> package. The execution of the code stops after the line:
> pylab.show()
Michele Simionato wrote:
> Notice that I copied the Twisted terminology, but
> I did not look at Twisted implementation because I did not want to
> use a select (I assume that the GUI mainloops do not use it either).
> The trick I use is to store the actions to perform (which are
> callables identi
Hi to all I have a question about the for statement of python. I have the
following piece of code where cachefilesSet is a set that contains the
names of 1398 html files cached on my hard disk
for fn in cachefilesSet:
fObj = codecs.open( baseDir + fn + '-header.html', 'r', 'iso-8859-1' )
On May 7, 10:28 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
>
> Get the pywin32 package (Python for Windows extensions) from sourceforge,
> install it, and look into the win32comext\mapi\demos directory.
Thanks for the hint, Gabriel.
Wow, that's heav
I am trying to read an Excel book with XLRD and I am getting the
following error
Traceback (most recent call last):
File "C:\temp\ReadGoldmanExcelFiles.py", line 62, in
startRow = 0, sh_idx = 0, path2 = '//otaam.com/root/SharedFiles/
GlobeOp/Risk/Cal Projects/temp/')
File "C:\temp\ReadGol
On May 8, 12:59 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Tue, 8 May 2007 08:24:01 +0200, "Hendrik van Rooyen"
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>
>
> > So being an idle bugger, I just naturally assumed t
On May 4, 5:06 pm, John Machin <[EMAIL PROTECTED]> wrote:
> Errmm, union and intersection operations each apply to two (or more)
> sets, not to the elements of a set.
> You have n sets set0, set1,
>
> Let u be the number of unique somevalues (1 <= u <= n)
&g
---
(Apologies for cross-posting)
Symposium "Computational Methods in Image Analysis"
National Congress on Computational Mechanics (USNCCM IX)
San Francisco, CA,
Have you ever been interested in software testing? Giving you an in
depth analysis/knowledge on software testing!!
http://www.top-itarticles.com/softtest/main.asp
--
http://mail.python.org/mailman/listinfo/python-list
On May 11, 2:28 pm, [EMAIL PROTECTED] wrote:
> Hello all,
>
> First let me appologise if this has been answered but I could not find
> an acurate answer to this interesting problem.
>
> If the following is true:
> C:\Python25\rg.py>python
> Python 2.5.1 (r251:5
On May 11, 3:36 pm, [EMAIL PROTECTED] wrote:
> On May 11, 2:28 pm, [EMAIL PROTECTED] wrote:
>
>
>
>
>
>
>
> > > Hello all,
>
> > > First let me appologise if this has been answered but I could not find
> > > an acurate answer to this
On May 12, 12:56?pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-05-11 at 14:26 -0700, [EMAIL PROTECTED] wrote:
> > if arg==True:
>
> > tests the type property (whether a list is a boolean).
>
> That sounds nonsensical and incorrect. Please explain what
On May 12, 8:10?pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Sat, 2007-05-12 at 17:55 -0700, [EMAIL PROTECTED] wrote:
> > On May 12, 12:56?pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> > > On Fri, 2007-05-11 at 14:26 -0700, [EMAIL PROTECTED] wrote:
> > &
On May 12, 11:02�pm, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Sat, 12 May 2007 18:43:54 -0700, [EMAIL PROTECTED] wrote:
> > On May 12, 8:10?pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> >> On Sat, 2007-05-12 at 17:55 -0700, [EMAIL PROTECTED] wrote:
> &
On May 13, 8:57?am, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Sat, 2007-05-12 at 18:43 -0700, [EMAIL PROTECTED] wrote:
> > > That doesn't explain what you mean. How does "if arg==True" test whether
> > > "a list is a boolean"?
>
> >
On May 13, 2:09?pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Sun, 2007-05-13 at 09:26 -0700, [EMAIL PROTECTED] wrote:
> There are no exceptions.
"...and when I say none, I mean there is a certain amount."
--
http://mail.python.org/mailman/listinfo/python-list
On May 13, 8:24 am, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Sat, 12 May 2007 21:50:12 -0700, [EMAIL PROTECTED] wrote:
I intended to reply to this yesterday, but circumstances
(see timeit results) prevented it.
> >> > Actually, it's this statement that'
On May 14, 9:32 am, Erin <[EMAIL PROTECTED]> wrote:
> Does anyone have experience developing deployment scripts with Jython?
csound blue is open source and uses jython, .. I don't have the url
on me though
http://www.stormpages.com/edexter/csound.html
--
http://mail.pyth
On May 14, 8:10?pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-05-14 at 11:41 -0700, [EMAIL PROTECTED] wrote:
> > On May 13, 8:24 am, Steven D'Aprano
> > <[EMAIL PROTECTED]> wrote:
> > > On Sat, 12 May 2007 21:50:12 -0700, [EMAIL PROTECTED] wr
I'm trying to do some integral calculation. I have searched the web, but
haven't found any useful information. Will somebody point me to the
right resources on the web for this job ?
Thanks a lot.
ps. Can numpy be used for this job?*
*
--
http://mail.python.org/mailman/listinfo/python-list
Hi, I have a tree data structure and I name each node with the
following convention:
a
|---aa
||--- aaa
||--- aab
|
|---ab
|
|---ac
I use these names as keys in a dictionary, and store node's data.
Now given a name like "abc", I want to find the key with the following
rule:
If the key ex
On May 15, 6:33 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>,
>
>
>
> [EMAIL PROTECTED] wrote:
> > I use these names as keys in a dictionary, and store node's data.
> > Now given a name like "abc"
On May 15, 12:30 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Tue, 15 May 2007 01:37:07 -0300, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
> >> >
> >> > Sec 2.2.3:
> >> > Objects of different types, *--->
On May 15, 9:25 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>,
>
> [EMAIL PROTECTED] wrote:
> > If I have the tree in the dictionary, the code would like this,
> > def search(tree, path):
> >while path and not
On May 15, 5:16 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> Beliavsky a écrit :
>
>
>
> > On May 15, 1:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
>
> >
>
> >>#5 someone said that they used to use python but stopped because the
&g
w up.)
(Just in case you still haven't opened your PayPal
account yet, use this link to open one in your name),
https://www.paypal.com
#1) [EMAIL PROTECTED]
#2) [EMAIL PROTECTED]
#3) [EMAIL PROTECTED]
#4) [EMAIL PROTECTED]
#5) [EMAIL PROTECTED]
Remember, all of this is ABSOLUTELY LEGAL! You
Steven D'Aprano wrote:
> On Tue, 15 May 2007 12:01:57 +0200, Rene Fleschenberg wrote:
>
> > Marc 'BlackJack' Rintsch schrieb:
> >> You find it in the sources by the line number from the traceback and
> >> the letters can be copy'n'pasted if you don't know how to input them
> >> with your keymap or
feedback from the
> > community. As the author of PEP 3131, I'd like to encourage comments to
> > the PEP included below, either here (comp.lang.python), or to
> > [EMAIL PROTECTED]
> >
> > In summary, this PEP proposes to allow non-ASCII letters as identifiers
On May 15, 9:23�pm, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Mon, 14 May 2007 11:41:21 -0700, [EMAIL PROTECTED] wrote:
> > On May 13, 8:24 am, Steven D'Aprano
> > <[EMAIL PROTECTED]> wrote:
> >> On Sat, 12 May 2007 21:50:12 -0700, [EMAIL PROTE
On May 15, 7:07 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Tue, 15 May 2007 14:01:20 -0300, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
> > On May 15, 12:30 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
> > wrote:
&g
Ben wrote:
> On May 15, 11:25 pm, Stefan Behnel <[EMAIL PROTECTED]>
> wrote:
> > Rene Fleschenberg wrote:
> > > Javier Bezos schrieb:
> > >>> But having, for example, things like open() from the stdlib in your code
> > >>> and then o:ff
Christophe wrote:
> [EMAIL PROTECTED] a ecrit :
> > Steven D'Aprano wrote:
> >> I would find it useful to be able to use non-ASCII characters for heavily
> >> mathematical programs. There would be a closer correspondence between the
> >> code and the mathem
Stefan Behnel wrote:
> [EMAIL PROTECTED] wrote:
> > I even sometimes
> > read code snippets on email lists and websites from my handheld, which
> > is sadly still memory-limited enough that I'm really unlikely to
> > install anything approaching a full set
Hi. Can anyone tell me how to run garbage collector in zope manually
in zope runtime?
--
http://mail.python.org/mailman/listinfo/python-list
On May 16, 4:12 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Wed, 16 May 2007 03:16:59 -0300, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
>
>
>
>
> > On May 15, 7:07 pm, "Gabriel Genellina" <[EMAIL PROTECTE
Christophe wrote:
> [EMAIL PROTECTED] a ecrit :
> > Christophe wrote:
> >> [EMAIL PROTECTED] a ecrit :
> >>> Steven D'Aprano wrote:
> >>>> I would find it useful to be able to use non-ASCII characters for heavily
> >>>> mathemat
On May 16, 12:54 pm, Gregor Horvath <[EMAIL PROTECTED]> wrote:
> Istvan Albert schrieb:
>
> > Here is something that just happened and relates to this subject: I
> > had to help a student run some python code on her laptop, she had
> > Windows XP that hid the extensio
On May 16, 12:38 pm, Krypto <[EMAIL PROTECTED]> wrote:
> I have been using python shell to test small parts of the big program.
> What other ways can I use the shell effectively. My mentor told me
> that you can virtually do anything from testing your program to
> anything in the
Cameron Laird wrote:
> In article <[EMAIL PROTECTED]>,
> Terry Reedy <[EMAIL PROTECTED]> wrote:
> >
> >"Anthony Irwin" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]
> .
> .
>
Personal Computers (PC's) contains a lot of info that the average user
doesn't usually know. At http://PCTermDefinitions.com there is
extensive infomation related to this topic (all free). Along with a
link portal to other PC computer related sites.
--
http://mail.python.org/mailman/listinfo/pyth
On May 17, 2:30 pm, Gregor Horvath <[EMAIL PROTECTED]> wrote:
> Istvan Albert schrieb:
>
>
>
> > After the first time that your programmer friends need fix a trivial
> > bug in a piece of code that does not display correctly in the terminal
> > I can assure y
On May 16, 6:38 pm, [EMAIL PROTECTED] wrote:
> On May 16, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Christophe wrote:
> snip...
> > > Who displays stack frames? Your code. Whose code includes unicode
> > > identifiers?
On May 16, 6:38 pm, [EMAIL PROTECTED] wrote:
> On May 16, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Christophe wrote:
> snip...
> > > Who displays stack frames? Your code. Whose code includes unicode
> > > identifiers?
On May 17, 6:45 pm, Lyosha <[EMAIL PROTECTED]> wrote:
> On May 17, 4:40 pm, Michael Bentley <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On May 17, 2007, at 6:33 PM, Lyosha wrote:
>
> > > Converting binary to base 10 is easy:
> > >>>>
Hi, I can't help here, just a recommendation:
I am using pytables (http://www.pytables.org) build upon hdf5. If
you're not bound to hdf4, go and try pytables instead of pyhdf.
Bernhard
--
http://mail.python.org/mailman/listinfo/python-list
On May 18, 1:47 pm, "Javier Bezos" <[EMAIL PROTECTED]> wrote:
> >> This question is more or less what a Korean who doesn't
> >> speak English would ask if he had to debug a program
> >> written in English.
>
> > Perhaps, but the treatment
On May 18, 1:20 pm, Alexander Dünisch <[EMAIL PROTECTED]> wrote:
> Hi everybody
>
> i'm wondering if there's a way to enable
> Anti-Aliasing for the Graphics Object in wxPython.
>
> in Java i do this:
>
> ((Graphics2D)g).setRende
On May 18, 6:46 pm, "Joe Salmeri" <[EMAIL PROTECTED]> wrote:
> I have found a data corruption problem with pyodbc.
>
> OS = Windows XP SP2
> DB = Microsoft Access XP
>
> PROBLEM:
>
> When selecting columns from a table that are of type Memo the value
&
Hi,
I am creating a library of functions. I would like to have them saved
in a sub folder of pythons LIB folder, but I cannot get it to work.
I have a script called test.py
I stored it in LIB folder and typed
Import test, work fine.
I store the script in lib/ted
Then type
Import lib\ted
I get a
Hi all, I'm not skilled at programming, so sorry for my ignorance.
My questions:
(1)
which is the better way to calculate the value of attributes of a class ?
for example:
(A)
def cal_attr(self, args):
#do some calculations
self.attr = calculated_value
and then if the vlue of
Arvind Singh wrote:
> On 5/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> which is the better way to calculate the value of attributes of a
>> class ?
>> for example:
>>
>> (A)
>> def cal_attr(self, args):
>> #do some c
> Python is a strongly typed but dynamic language ...
In the "A few questions" thread, John Nagle's summary of Python begins
"Python is a byte-code interpreted untyped procedural dynamic
language with implicit declaration. "
Is Python strongly typed or untyped?
--
http://mail.python.org/mailman
On May 21, 10:50 am, brad <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Just wondering on what peoples opinions are of the GUIs avaiable for
> > Python?
>
> We have used wxPython with great results. It's cross platform. Can use
> native OS widge
Wildemar Wildenburger wrote:
> [EMAIL PROTECTED] wrote:
>
>> Thanks a lot for all kind replies!
>>
>> I think I need a systematic learning of design patterns. I have found
>> some tutorials
>> about design pattern about python, but can somebody point me
On May 22, 11:29 am, jolly <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I want to begin python. Does anyone know where a good starting point
> is?
>
> Thanks,
> Jem
I went through the tutorial on python.org and found that really
helpfull. If in a windows env the book b
Hi
Is there a module /add on in python that will let me query a dictionary [ or
a list of dictionary] exactly like an SQL query? For ex:
a=[{'id':1, 'name':'mark'}, {'id':2,'name': 'richard'}]
select * from a where id =1
should give me the a[0] or something similar to this.
thanks
--
http://mail.
Volume 2, Issue 2 of The Python Papers is now available! Download it
from www.pythonpapers.org.
This issue marks a major landmark in our publication. We present a
number of industry articles. These include "Python in Education" and
"MPD WebAMP", as well as a great insight into Python in Germany, a
Hi,
I am using timeit to time a global function like this
t = timeit.Timer("timeTest()","from __main__ import timeTest")
result = t.timeit();
But how can i use timeit to time a function in a class?
class FetchUrlThread(threading.Thread):
def aFunction(self):
# do something
On May 24, 12:41 pm, 7stud <[EMAIL PROTECTED]> wrote:
> Actually, you can do this:
>
> class Dog(object):
> def aFunction(self):
> result = 20 + 2
> def run(self):
> #do stuff
> aFunction()
> #do other stuff
> import time
On May 24, 12:41 pm, 7stud <[EMAIL PROTECTED]> wrote:
> Actually, you can do this:
>
> class Dog(object):
> def aFunction(self):
> result = 20 + 2
> def run(self):
> #do stuff
> aFunction()
> #do other stuff
> import time
We have been using the Google recommended python script for about a
year. We recently realized that the script was not crawling our sites
url's, but just our folders which reside on the server. The python
script seems to be designed for 'non database' sites, not a site which
is using .asp, and has
hello all
i am relatively new to python, catching on, but getting stuck on
simple thing:
i have two string bytes i need to push into a single (short) int, like
so in c:
temp = strBuf[2];
temp = (temp<<7)+(strBuf[1]);
c code works, but having trouble getting python to perform same
functio
> (ord(strBuf[2])<<7) + ord(strBuf[1])
wow, thank you - works perfectly !
and much more elegant than what i was up to.
thanks again...
--
http://mail.python.org/mailman/listinfo/python-list
> You should really use the struct module for that type of conversion, but
> you also need to know that indexing of lists and tuples starts at 0, not 1.
indeed, i used to have temp = unpack('h', tBuf[1,3])
but it was a hack (and as such a bit off ;) as i was having troubles
casting
not quite use
Hi I have three objects, all of them are instances of classes derived
from a base class. Now, given one of the instance, I want to find the
closest relative of the other two. How can I do this?
This is how I implemented; I guess there must be elegant way to do
this...
def find_closest_relative(a,
On May 25, 12:40 pm, 7stud <[EMAIL PROTECTED]> wrote:
> On May 25, 12:31 am, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > This is how I implemented; I guess there must be elegant way to do
> > this...
>
> > def find_closes
On May 25, 12:40 pm, 7stud <[EMAIL PROTECTED]> wrote:
> On May 25, 12:31 am, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > This is how I implemented; I guess there must be elegant way to do
> > this...
>
> > def find_closes
On May 25, 6:48 pm, gert <[EMAIL PROTECTED]> wrote:
> I made something that i was hoping it could make people happy enough
> so i could make a living by providing support for commercial use
> ofhttp://sourceforge.net/projects/dfo/
>
> But in reality i am a lousy sales men
On May 25, 2:40?pm, Charles Vejnar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a C library using "long double" numbers. I would like to be able to
> keep this precision in Python (even if it's not portable) : for the moment I
> have to cast the "long dou
On May 25, 7:55 pm, gert <[EMAIL PROTECTED]> wrote:
> On May 26, 2:09 am, Paul McNett <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > gert wrote:
> > > I made something that i was hoping it could make people happy enough
> > > so i could make a livin
I am getting an error with pyswip on xp that says the .dll isn't
installed as a shared library. Is there a manual way to install
the .dll as such??? prolog seems to work fine it is just the bridge
that gives an error
--
http://mail.python.org/mailman/listinfo/python-list
e.g.
--
http://mail.python.org/mailman/listinfo/python-list
I got it.
Pass python challenge chapter 7.
--
http://mail.python.org/mailman/listinfo/python-list
Stefan Sonnenberg-Carstens wrote:
> Paul McGuire schrieb:
> > I'm starting a new thread for this topic, so as not to hijack the one
> > started by Steve Howell's excellent post titled "ten small Python
> > programs".
> >
> > In that thread, there was a suggestion that these examples should
> > conf
Hi All,
I do not know if this is the correct group to ask this question. But
since mailman is python-based I thought i would ask here.
I had subscribed to a mailing list called [EMAIL PROTECTED]
adventitiously. I then wanted to reverse my decision and so tried to
unsubscribe from the mailing
On 26 mai, 04:14, Steve Holden <[EMAIL PROTECTED]> wrote:
(snip)
> one of the primary ideas behind object
> orientation is that the class defines the same methods for all instances.
>
While this is effectively the standard behaviour in class-based OOPLs,
I would definitively not
On May 27, 8:40 pm, yuce <[EMAIL PROTECTED]> wrote:
> Hello,
>
> PySWIP requires "libpl.dll" to be on the path. There are two ways to
> do this:
>
> 1) Add 'bin' directory of SWI-Prolog to the PATH (it's C:\Program Files
> \pl\bin on my system),
Hi Luke,
you should send this to the scipy user list: [EMAIL PROTECTED]
Bernhard
On May 28, 10:44 am, Luke <[EMAIL PROTECTED]> wrote:
> I'm trying to use Scipy's LU factorization. Here is what I've got:
>
> from numpy import *
> import scipy as Sci
> impo
Why not just have Lang1 and Lang2 inherit from WriteStruct as well?
On May 29, 8:52 am, glomde <[EMAIL PROTECTED]> wrote:
> Hi I wonder if you can set what subclass a class should
> have at instance creation.
>
> The problem is that I have something like:
>
> class CoreLan
On May 29, 3:22 pm, "Eric S. Johansson" <[EMAIL PROTECTED]> wrote:
> Warren Stringer wrote:
> > Hi Eric,
>
> > You make a compelling argument for underscores. I sometimes help a visually
> > impaired friend with setting up his computers.
>
> > I
I configured Eclipse according to the paper
http://www.ibm.com/developerworks/library/os-ecant/index.html.
But, when I build the ant file,it failed with the following message:
Could not create task or type of type: py-compile.
I hava added pyAntTasks.jar to ${eclipse}/plugins/
org.apache.ant_versi
On 30 mai, 04:14, Mike <[EMAIL PROTECTED]> wrote:
> Are there key listeners for Python? Either built in or third party?
What is a "key listener" ?
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I've been trying to write a PAM module using ctypes. In the
conversation
function (my_conv in the script below), you're passed in a
pam_response**
pointer. You're supposed to allocate an array of pam_response's and
set
the pointer's value to the new array. Then you fill in the array with
2801 - 2900 of 4914 matches
Mail list logo