x27;t multiply
inherit from different built-in types, what's more you could not use
some builtin feature such as property.
BRs
William
On 01/-9/-28163 03:59 AM, Navkirat Singh wrote:
> Hi Guys,
>
> I have been wondering for a while now as to why some classes inherit
> Object? And
x27;t multiply
inherit from different built-in types, what's more you could not use
some builtin feature such as property.
BRs
William
On 01/-9/-28163 03:59 AM, Navkirat Singh wrote:
> Hi Guys,
>
> I have been wondering for a while now as to why some classes inherit
> Object? And
multiple
inheritance, you can't multiply inherit from different built-in types.
Some new features such as property() is not supported in type either.
BRs
William
On 01/-9/-28163 03:59 AM, Navkirat Singh wrote:
> Hi Guys,
>
> I have been wondering for a while now as to wh
I will answer myself. For those interested, because rpm will break the
dependencies on the OS, you can install 2.7 with a simple bash script:
http://willsani.com/2011/03/02/centos-5-5-x86_64-install-python-2-7/
Regards,
Will
--
http://mail.python.org/mailman/listinfo/python-list
When I run
I'm attempting to run "rpmbuild -ba SPECS/python-2.7.spec" I get the following
error:
ERROR 0001: file '/usr/lib/python2.7/lib-dynload/_bsddb.so' contains a
standard rpath '/usr/lib64' in [/usr/lib64]
ERROR 0001: file '/usr/lib/python2.7/lib-dynload/_sqlite3.so' contains a
s
Bubba wrote:
> William Ahern's log on stardate 16 vlj 2011
> /snip
> > I think that there's an asynchronous all-Python MySQL library, but
> > I'm not sure. Maybe one day I can open source my asynchronous MySQL C
> > library. (I always recommend people
Bubba wrote:
> import asyncore
> import socket
> import string
> import MySQLdb
> import sys
> def __init__(self, host, port):
> asyncore.dispatcher.__init__(self)
> self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
> self.set_reuse_addr()
> self.bind((ho
Pascal J. Bourguignon wrote:
> sthueb...@googlemail.com (Stefan Hübner) writes:
>
> >> Would it be right to say that the only Lisp still in common use is
> the Elisp >> built into Emacs?
> >
> > Clojure (http://clojure.org) is a Lisp on the JVM. It's gaining
> > more and more traction.
>
> Ther
I am attempting to install Mailman on a Sun Sunfire x4100 box running Solaris
ten. I keep running into brick walls that the Mailman group looks at, shrugs,
and says, that's a Python problem.
Has ANYBODY actually made this work?
Currently, I'm attempting to compile Python 2.4.4, which is the rec
Thanks everyone. These references will help greatly. I was about to
take some javascript examples and rewrite them in Python.
--
http://mail.python.org/mailman/listinfo/python-list
I am teaching an 11 year old who wants to learn programming. I chose
Python, and it is working well. I seem to remember lots of simple
script games, like quizzes, number games etc. that would be good for his
tutorial. However, now all I can find is more complex games using
Pygame. Can anyon
Hello,
I have a Python app that parses XML files and then writes to text files.
However, the output text file is "sometimes" encoded in some Asian language.
Here is my code:
encoding = "iso-8859-1"
clean_sent = nltk.clean_html(sent.text)
clean_sent = clean_sent.encode(encoding,
On Friday 09 July 2010, Les Schaffer wrote:
> but none of this has anything to do with Python itself. i am sure python
> servers have been running reliably for long periods of time, but i've
> never had to deal with a two-month guarantee before. is there something
> else i am missing here that i s
message --
> From: Steven D'Aprano
> To: python-list@python.org
> Date: 02 Jul 2010 23:59:52 GMT
> Subject: Re: Why defaultdict?
> On Fri, 02 Jul 2010 04:11:49 +, Steven D'Aprano wrote:
>
> > I would like to better understand some of the design choices
why pure python don't support "extended slice direct assignment" for lists?
today we have to write like this,
>>> aList=[0,1,2,3,4,5,6,7,8,9]
>>> aList
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>>> aList[::2]= [None]*len(aList[::2]) #or do the math by hand, what's not
always possible
>>> aList
[None, 1, No
I have a script which I would now put inside a loop. Is there any way to
³automatically² indent the old script so it can be put inside the new loop.
Doing it by hand seems so inelegant and time consuming.
By the way, thanks for the answer to my previous question.
Thanks!
Buff Miner
--
Enig Asso
I¹m relative new to python and I puzzled by the following strange (to me)
behavior. I was taking pieces from two old scripts to build a new one. When
I began to debug it I got the following error message:
Traceback (most recent call last):
File
"/Users/williamminer/ex2gen/ex2gen-3.0.5/src/Scrip
On May 7, 2010, at 10:18 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> See comments in-line.
>> On May 7, 2010, at 3:23 PM, MRAB wrote:
>>> William R. Wing (Bill Wing) wrote:
>>>> On May 7, 2010, at 2:08 PM, MRAB wrote:
[byte -byte- byte]
&
On May 7, 2010, at 4:12 PM, J. Cliff Dyer wrote:
> On Fri, 2010-05-07 at 15:36 -0400, William R. Wing wrote:
>
>>
>> Maybe I should have been more explicit. The first line in the Python
>> file is:
>>
>>
>> #!/usr/bin/env Python (alternatively #!/u
See comments in-line.
On May 7, 2010, at 3:23 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> On May 7, 2010, at 2:08 PM, MRAB wrote:
>>> William R. Wing (Bill Wing) wrote:
>>>> Hello World -
>>>> I'm new to both Python and this list, but
On May 7, 2010, at 2:08 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> Hello World -
>> I'm new to both Python and this list, but here's hoping someone can spot my
>> problem.
>> System: Mac OS-X, 10.6.3 (Intel dual quad processor)
>> Usi
Hello World -
I'm new to both Python and this list, but here's hoping someone can spot my
problem.
System: Mac OS-X, 10.6.3 (Intel dual quad processor)
Using Python 2.6.1, and pyserial-2.5_rc2-py2.6
The following snippet of code is designed to open a port via a KeySpan
USB-to-serial converter
On 26 Feb, 13:29, candide wrote:
> Suppose you have to put into a Python string the following sentence :
>
> The play "All's Well That Ends Well" by Shakespeare
>
> It's easy do it :
>
> >>> print """The play "All's Well That Ends Well" by Shakespeare"""
>
> The play "All's Well That Ends Well" by
Hello Everyone,
I'm working on setting up some software for a Peruvian non-profit to help
them organize their incoming volunteers. One of the features I'd like to add
is a calendar-like view of the different volunteers arrival dates and
staying time, with potentially some other info through some d
Hi All,
I have the following prolog program that I would really like to be able to
run in python in some elegant way:
q00(X01, R):- write('Are you over 80?'), read(INPUT), write(''), q11(INPUT,
R).
q11(X11, R):- X11=y, write(' You are passed the hardest year'), !.
q00(X01, R):- write('You are
MRAB wrote:
> I wonder whether it's complaining about the "as count" part because
> "count" is the name of a function, although you do say that the same
> query works elsewhere.
Hey, good catch. Thanks; I'll change that. (It wasn't the problem, but
no doubt someday it could be.)
-Wm
--
http://m
william tanksley wrote:
> Oh, this is Python 2.5 on Windows.
New result: this works on Python 2.6. Obviously the SQLite format
changed between the two runs.
I'll call this "problem solved"; my app appears to run now.
-Wm
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to modify an app I wrote a few months ago, but now it dies
on startup (it worked before). The app loads the SQLite Media Monkey
database, and crashes on its first query (when I try to get the number
of podcasts). At the end of this post is a reduced version of the
problem (which produces
For wxFormbuilder, does it also support AUI (dockable windows,etc.)?
Thanks,
William
--- On Wed, 8/26/09, Robert Kern wrote:
From: Robert Kern
Subject: Re: Python for professsional Windows GUI apps?
To: python-list@python.org
Date: Wednesday, August 26, 2009, 7:40 PM
On 2009-08-26 18:08 PM
For visual designers, you may try:
QTDesigner with PyQt
or WxForms or WxGlade or BoaConstructor with WxPython
It's not like VB.NET where you can put in callbacks write after doing layout,
but some prefer the above designers to hand coding guis.
Good luck,
William
--- On Fri, 8/28/09
Personally, I rather like Wing
From: Kee Nethery
To: python-list@python.org
Sent: Friday, August 14, 2009 3:28:54 PM
Subject: Re: Komodo(!)
>From the web site it looks like the free version does not include the
>debugging stuff.
I've been using the paid versi
I don't want to start a flame war and would just like some information before
diving in--
What are some the advantages and disadvantages of SQLObject compared to
SQLAlchemy?
Thanks,
William
From: Oleg Broytmann
To: Python Mailing List ; Python Ann
What you want is:
http://www.cgal.org/
I believe it has python bindings.
Cheers,
William
From: Emile van Sebille
To: python-list@python.org
Sent: Tuesday, August 11, 2009 12:49:19 PM
Subject: Re: Is there any package implanation the following arithmetics?
On
What about using the reimport library?
http://code.google.com/p/reimport/
Cheers,
William
From: AlF
To: python-list@python.org
Sent: Monday, August 10, 2009 1:48:31 AM
Subject: Re: reloading the module imported as 'from ... import ...'
Steven D
):
self.a=a
self.b=b
def myfunc(self):
return self.a+self.b
myclass=MyClass(3,4)
myclass.myfunc2=myclass.myfunc
Is there any way to find all the references to myclass.myfunc--in this case,
myclass.myfunc2?
Thanks,
William
is there a way to
--
http://mail.python.org/mailman
versions earlier than 2.6 for testing, although if there's
> sufficient need then I could tweak the sources for 2.5.
I understand now why i could'nt compile it !
So, i would like if it's not too much work for you.
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
ow list ? They wanted to hack on
RE also...
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
On 27-07-2009, Bearophile wrote:
> William Dode':
>> I updated the script (python, c and java) with your unrolled version
>> + somes litle thinks.
> [...]
>> c 1.85s
>> gcj 2.15s
>> java 2.8s
>> python2.5 + psyco 3.1s
>> unladen-2009Q2 145s (
On 24-07-2009, Christian Tismer wrote:
> On 7/24/09 1:04 AM, William Dode wrote:
>> On 23-07-2009, Christian Tismer wrote:
> ...
>
>>> Wasn't the project plan saying the opposite, borrowing
>>> some ideas from psyco? :-)
>>> http://code.google.com/
aden-swallow will grab the
best of psyco (if they can !) ?
Wait and see ?
Anyway, thanks a lot for your work that we can use NOW !
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
ing on
>>> how much you C-ify things.
>>
>> Was this link, shown by William, not enough?
>> http://hg.flibuste.net/libre/games/cheval/file/46797c3a5136/chevalx.pyx#l1
>
> I took a stab at converting the recent psyco-optimized code to cython,
> and got a speedup.
On 22-07-2009, William Dode wrote:
> c 1.65s
> gcj 1.9s
> java 2.4s
> python2.5 + psyco 2.9s
> shedskin 3.4s
with -bw i have 2.6s
> unladen-2009Q2 125s (2m05)
> Jython 2.2.1 on java1.6.0_12 176s (without array, like shedskin)
> Jython 2.2.1 on java1.6.0_12 334s (with
On 22-07-2009, George Sakkis wrote:
> On Jul 22, 7:38 am, William Dode wrote:
>
>> I updated the script (python, c and java) with your unrolled version
>> + somes litle thinks.
>>
>> I also tried with python3.1, unladen Q2, ironpython1.1.1
>>
>> Unfort
om/group/shedskin-discuss/browse_thread/thread/c1f47a7c21897b44
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
1s
unladen-2009Q2 145s (2m45)
python2.5 254s (4m14s)
python3.1 300s (5m)
ironpython1.1.1 680s (11m20)
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
On 21-07-2009, srepmub wrote:
>
>> With -bw and -O3 -fomit-frame-pointer -msse2 i have 5.5s (instead of 8)
>>
>> Let me know if you find better.
>
> thanks. now I'm wondering how fast does the C version become with
> these flags..? :-)
I don't see an
gt;
> Maybe it's the time difference between using a Python list from Cython
> and using a C "array" allocated with a malloc from Cython.
yes, it's this
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
(instead of 8)
Let me know if you find better.
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
gcj 7s
java 7s
shedskin 8s
python + psyco 18s
cython avec malloc *int 18s
cython 55s avec [] python
python 303s (5m3s)
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
tp://pilcrow.madison.wi.us/#pycdb
or Dee (for ideological reasons)
http://www.quicksort.co.uk/
--
William Clifford
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 17, 1:28 am, Steven D'Aprano
wrote:
> On Tue, 16 Jun 2009 22:46:14 -0700, William Clifford wrote:
> > I was staring at a logic table the other day, and I asked myself, "what
> > if one wanted to play with exotic logics; how might one do it?"
>
> Fir
n computer
def __init__(self, rdx, opr):
self._computer = Logic.make_computer(rdx, opr)
def __call__(self, *args):
return self._computer(*args)
This seemed to be working for the limited tests I did on it, while I
was doing them. The following checked out last time I tried:
Scott David Daniels wrote:
> William Purcell wrote:
>> I am writing a application to calculate pressure drop for a piping
>> network. Namely a building sprinkler system. This will be a
>> command line program at first with the system described in xml
>
> If you
Diez B. Roggisch wrote:
> William Purcell wrote:
>
>> I am writing a application to calculate pressure drop for a piping
>> network. Namely a building sprinkler system. This will be a
>> command line program at first with the system described in xml (at
>> least th
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml (at
least that is how I think I want to do it).
An important part of this calculation is finding the 'hydr
als or that sort of thing, I'd like to hear about those too.
Thanks!
--
William Clifford
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 27, 10:50 pm, Paul Rubin <http://phr...@nospam.invalid> wrote:
> William Clifford writes:
> > def enrag(start, stop=None, step=1):
> > '''Yield a range of numbers from inside-out, evens on left.'''
>
> >>> li
On Apr 27, 9:22 pm, Steven D'Aprano
wrote:
> On Mon, 27 Apr 2009 20:27:07 -0700, William Clifford wrote:
> > For some reason I thought I needed this code, but it turns out I don't,
> > really.
> > I need something weirder. Anyway, maybe someone else could use th
eld left
for right in xrange(step, stop, rstep):
yield right
--
William Clifford
--
http://mail.python.org/mailman/listinfo/python-list
On Monday 27 April 2009, TheIvIaxx wrote:
> Hello, I have searched for some solution to getting the object data
> from a ZODB Data.fs file into something i can work with for MySQL. So
> far, no such luck. I can open the DB and poke around, but im not sure
> where or what to even poke :)
>
Normal
>
> steve William wrote:
>
>> Hi All,
>>
>> I'm using SWIG for the first time and I am facing some problems with user
>> defined header files. I'm trying to use my own header file in a C program
>> which would be interfaced with python.
>>
>
act* which is a function that I want to access from python and is
declared in the interface file.
Is there any specific way in which user defined headers need to be declared
in the interface file? Should the user defined header be placed in the
/usr/include directory?
Any help on this is highly ap
act* which is a function that I want to access from python and is
declared in the interface file.
Is there any specific way in which user defined headers need to be declared
in the interface file? Should the user defined header be placed in the
/usr/include directory?
Any help on this is highly ap
Haines Brown wrote:
> If we have studied a field obsessively for some
> years, it is natural that we end in a position where our knowledge will
> generally be superior. But this does not make us superior.
What does make us superior? Are you so dishonest or insane as
to assert that everyone is eq
Hi All,
I am using py2exe to create a windows executable. I am curious if anyone
knows a way to automatically upgrade a py2exe windows executable while it is
running. Is that possible? If so how? If it isn't possible, what is the
next best thing? Also, if it is not available using py2exe is it
André Thieme wrote:
> (map #(map (fn [s] (Integer/parseInt s)) (.split % "\\s")) (line-seq
> (reader "blob.txt")))
An error results:
java.lang.Exception: Unable to resolve symbol: reader in this context
This works:
(map #(map (fn [s] (Integer/parseInt s)) (.split % "\\s"))
(.split (slurp "ju
Ive been learning the C-API lately so I can write python extensions for some of
my c++ stuff.
I want to use the new and delete operators for creating and destroying my
objects.
The problem is python seems to break it into several stages. tp_new, tp_init
and tp_alloc for creation and tp_del, t
w_a_x_...@yahoo.com wrote:
> On Dec 25, 5:24 am, Xah Lee wrote:
>
> > The JavaScript example:
> >
> > // Javascript. By William James
> > function normalize( vec ) {
> > var div=Math.sqrt(vec.map(function(x) x*x).reduce(function(a,b)
> >
André Thieme wrote:
> Xah Lee schrieb:
> > comp.lang.lisp,comp.lang.scheme,comp.lang.functional,comp.lang.pytho
> > n,comp.lang.ruby
> >
> > Here's a interesting toy problem posted by Drew Krause to
> > comp.lang.lisp:
> >
> >
> > On Jan 16, 2:29 pm, Drew Krause wrote [p
William James wrote:
> John W Kennedy wrote:
>
> > Xah Lee wrote:
> > > In lisp, python, perl, etc, you'll have 10 or so lines. In C or
> > > Java, you'll have 50 or hundreds lines.
> >
>
> > Java:
> >
> > static float[] norma
William James wrote:
> John W Kennedy wrote:
>
> > Xah Lee wrote:
> > > In lisp, python, perl, etc, you'll have 10 or so lines. In C or
> > > Java, you'll have 50 or hundreds lines.
> >
>
> > Java:
> >
> > static float[] norma
John W Kennedy wrote:
> Xah Lee wrote:
> > In lisp, python, perl, etc, you'll have 10 or so lines. In C or
> > Java, you'll have 50 or hundreds lines.
>
> Java:
>
> static float[] normal(final float[] x) {
>float sum = 0.0f;
>for (int i = 0; i < x.length; ++i) sum += x[i] * x[i];
>f
Jon Harrop wrote:
> Xah Lee wrote:
> > On Dec 10, 12:37 pm, [EMAIL PROTECTED] wrote:
> >> Ruby:
> > >
> >> def norm a
> >> s = Math.sqrt(a.map{|x|x*x}.inject{|x,y|x+y})
> >> a.map{|x| x/s}
> >> end
> >
> > I don't know ruby, but i tried to run it and it does not work.
> >
> > #ruby
> > def
On Dec 5, 6:21 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]>
wrote:
> I'd like this new way of defining methods, what do you guys think?
> Anyone ready for writing a PEP?
I think it's an awesome proposal. It's about time! With this change,
defining methods uses the same special syntax hack that call
On Fri, 05 Dec 2008 12:16:47 -0800, Fernando H. Sanches wrote:
> I agree that the tab/space thing should be changed. Would it be too hard
> to make the parser see if the indentation is consistent in the whole
> file?
*Something* has changed. I had a piece of code where, without realizing
it, I h
Before I spend the next couple weeks researching and testing, can anyone
tell me if what I want to do is possible, and possibly point me in the
right direction to get started.
I want to forward any email addressed to [EMAIL PROTECTED] to a python
script that will forward it to all the other su
,
William
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --
http://mail.python.org/mailman/listinfo/python-list
I believe that
myDict['TestName'] = {'NewFileName': {}, }
should be
myDict['TestName']['NewFileName'] = {}
-Bill
On Thu, Oct 16, 2008 at 3:44 PM, Chris Rebert <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 16, 2008 at 12:19 PM, John Townsend <[EMAIL PROTECTED]>
> wrote:
> > I'm working with a Dictiona
On Oct 13, 9:40 am, [EMAIL PROTECTED] wrote:
> I'm looking for a function which, given a regexp re and and a string
> str, returns whether re won't match any string starting with str. (so
> it would always return False if str is "" or if str itself matches re
> -- but that are only the easy cases)
6:37 PM, Roger Upole <[EMAIL PROTECTED]> wrote:
>
> William Heath wrote:
> >I don't know, how can I tell, sorry I am new to this.
> > -Tim
> >
>
> You can use the certificates snap in for MMC to view them.
>
> Start->Run and enter mmc.exe
> Fi
I don't know, how can I tell, sorry I am new to this.
-Tim
On Mon, Oct 6, 2008 at 5:57 PM, Roger Upole <[EMAIL PROTECTED]> wrote:
>
> William Heath wrote:
> > Hi Roger,
> > I managed to get the dll and register it. I am now getting this error:
> >
&
On Sat, Oct 4, 2008 at 12:30 PM, Roger Upole <[EMAIL PROTECTED]> wrote:
> William Heath wrote:
> > Hi All,
> > I thought I sent an email to the list regarding a need I have to self
> sign
> > a
> > py2exe windows executable. Does anyone know how to do that?
On Wed, 01 Oct 2008 17:56:34 +0200, Boris Borcic wrote:
> 42, for instance.
>
> Proof :
>
> >>> 42 is not object
> True
>
> QED
>>> isinstance(42, object)
True
--
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- pass it on
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I thought I sent an email to the list regarding a need I have to self sign a
py2exe windows executable. Does anyone know how to do that?
-Tim
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I am trying to figure out how to self sign a py2exe winxp executable with
signtool. Anyone know? I saw this which looked kind of promising:
http://markmail.org/message/zj5nzechzgmjuu7c#query:signtool%20python+page:1+mid:s4jrb2hter4zxvg3+state:results
-Tim
P.S.
Python rocks!
--
http:/
I want to use eval to evaluate wx.TextCtrl inputs. How can I keep python
from adding the __builtins__ key to mydict when I use it with eval? Other
wise I have to __delitem__('__builtins__') everytime I use eval?
>>> mydict = {'a':2,'b':3}
>>> eval('a*b',mydict)
6
>>> mydict
{'a': 2, '__builtins__'
I want to use eval to evaluate wx.TextCtrl inputs. How can I keep python
from adding the __builtins__ key to mydict when I use it with eval? Other
wise I have to __delitem__('__builtins__') everytime I use eval?
>>> mydict = {'a':2,'b':3}
>>> eval('a*b',mydict)
6
>>> mydict
{'a': 2, '__builtins__'
Here is a function that I have used with wvText to convert .doc files into
text files.
def readdoc(fpath):
tmp = 'tmp_readdoc.txt'
cmd = 'wvText %s %s'%(fpath,tmp)
os.system(cmd)
lines = open(tmp,'r').readlines()
os.unlink(tmp)
return lines
It's not a completely python dep
FYI...I found the site that I installed from besides MacScience. I think
that I have installed just about everything on this site.
http://www.pythonmac.org/packages/py25-fat/index.html
On Tue, Aug 26, 2008 at 10:05 PM, William Purcell <[EMAIL PROTECTED]
> wrote:
> I am new to the Mac/O
...
william-purcells-macbook:~ william$ python -c "import scipy"
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named scipy
Import
one day down the road, assembly).
Python is so clean, powerful, and simple that I think I am a little
spoiled.
Thanks again,
-Bill
On Fri, Aug 22, 2008 at 11:17 AM, Krishnakant Mane <[EMAIL PROTECTED]>wrote:
> hi william,
> I am slightly more experienced in python than you (2
Thanks for the replies.
I am still wondering if C++ would be worth learning and I think it could be
answered by these three questions...
1. Are programs written in C++ better (in any form of the word) than
programs written in python or vise versa or equal?
2. Is compiled better than interpreted?
Hi all,
I started programming with python about a year ago. I am now somewhat
experienced with python but have virtually no experience with any other
language. I use python to write little command line tools, GUI's to do
anything from my time sheet at work to balancing my checkbook, and for
school
I have been wanting to figure this out. I used a couple of your code
snippets below and I can get a scroll bar. When I scroll down, it doesn't
scroll the panel down. The only thing that happens is that the scroll bar
moves up and down. Any thoughts?
On Thu, Aug 21, 2008 at 8:36 AM, Gandalf <[EMAIL
Sorry, this last email was meant to be to the list.
On Thu, Aug 21, 2008 at 8:41 AM, William Purcell
<[EMAIL PROTECTED]>wrote:
> I have been trying to do the same thing. Here is something I came up with,
> although it's not completely dependent on Python. It requires pdftotext
Sorry, I ment to reply to the mail list
> Thanks for the info. Do you know if these files can be handled in Python?
>
On Thu, Aug 14, 2008 at 8:50 AM, William Purcell
<[EMAIL PROTECTED]>wrote:
> On Thu, Aug 14, 2008 at 8:36 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
This is how it cut and pasted..
bplist00Ô
This is what it looks like in a text editor (emacs)...
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@
On Thu, Aug 14, 2008 at 8:18 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> William Purcell wrote:
>
> : not well-formed
')
fileobj --->
---
Traceback (most recent call last)
/home/william/williamFAT/utilities/mac_projs/ in ()
/usr/lib/python2.5/plistlib.py in fromFile(cls, pathOrFile)
339 def fromFile(cls, pathOrFile):
340 """Depreca
I'd like a class method to fire every n seconds.
I tried this:
class Timed:
def.__init__(self):
self.t = Timer(3, self.dothing)
def.start(self):
self.t.start()
def.dothing(self):
print "Doing Thing"
s = new Timed()
s.start()
And:
class Scheduled:
def._
Message-
> From: [EMAIL PROTECTED]:
> python-list-bounces+edwin.madari =
> [EMAIL PROTECTED] Behalf Of William Purcell
> Sent: Tuesday, August 12, 2008 1:47 PM
> To: Python List
> Subject: Checking a file's time stamp.
>
>
> Hi all,
> I am wanting to check t
201 - 300 of 564 matches
Mail list logo