On 7 oct, 22:07, "Sells, Fred" wrote:
> Hitting ctrl-c, twice quickly works for me.
>
?
what do you mean ?
Olivier
--
http://mail.python.org/mailman/listinfo/python-list
Machine Learning: An Algorithmic Perspective
http://www.crcpress.com/product/isbn/9781420067187
Associated python code:
http://seat.massey.ac.nz/personal/s.r.marsland/MLBook.html
On Wed, Oct 7, 2009 at 11:53 PM, ruchir wrote:
> I want to design and train a neural network in python. Can anyone
>
I want to design and train a neural network in python. Can anyone
guide me, from where can I get some useful material/eBook/libraries
etc. for the same. I have no prior experience in neural netwoks and
want to implement it urgently.
Thanks in advance :)
--
http://mail.python.org/mailman/listinfo/p
Carl Banks writes:
> On Oct 7, 8:29 pm, Chris Jones wrote:
>> Always felt that syntax highlighting for instance is way
>> overrated.
>
> I have all syntax colors turned off except for strings and comments.
> I highly recommend this low-key syntax coloring for those who don't
> care for the norma
Hans Mulder wrote:
Errrhm, no. He is not deleting the PyQt4 module from sys.modules;
he's only deleting the name QtGui from his own namespace. Next
time Python comes across
from PyQt4 import QtGui
, it finds that the module PyQt4 already exists in sys.modules, so
Python does not have to
On Oct 7, 8:29 pm, Chris Jones wrote:
> Always felt that syntax highlighting for instance is way
> overrated.
I have all syntax colors turned off except for strings and comments.
I highly recommend this low-key syntax coloring for those who don't
care for the normal psychodelic syntax coloring.
On Oct 8, 3:29 am, Chris Jones wrote:
> I do have a question:
>
> You mentioned Vim's clientserver mode.
>
> What's it good for?
It's most valuable for sending data to an existing instance of vim, by
name. Both files and keystrokes can be sent fwiw.
vim basically organizes it self into buffers,
On Wed, 07 Oct 2009 17:32:16 -0700, Carl Banks wrote:
>> >> One feature I have that emacs don't is that I'm able to efficiently
>> >> edit a file on a remote machine with vim on a terminal (without
>> >> graphical interface), and I'm using it. Apart from that, both
>> >> solutions are
>>
>> > emac
En Wed, 07 Oct 2009 08:16:19 -0300, Stephane Wirtel
escribió:
I have a problem with locale.RADIXCHAR, it seems this constant isn't
defined on the Windows platform.
Is there a way to use an equivalent of locale.RADIXCHAR ?
You can obtain that info from localeconv, available on Windows too
Fred Chevitarese wrote:
Hello all... I'm new here and a search in tis group but unfortunately
i didn't find any kind of solution/code/question etc ...
I have to made a python script that communicates with an websevice
over the web. I tried out use SoapPy, ZSI, BeautifullSoap and others,
but get
On Wed, Oct 7, 2009 at 1:59 AM, Ken Elkabany wrote:
> Hello,
>
> I am hoping to get feedback for a new, commercial platform that
> targets the python programming language and its users. The product is
> currently in a closed-beta and will be free for at least a couple
> months. After reviewing th
On Wed, 07 Oct 2009 19:45:29 -0700, Carl Banks wrote:
> 2.6.3 breaks setuptools:
>
> http://bugs.python.org/issue7064
>
> I might upgrade to 2.6.3 just for that benefit alone.
Well, I knew some people disliked setuptools, but I didn't realize the
antipathy was so high!
--
Steven
--
http:/
On Wed, Oct 07, 2009 at 07:06:08PM EDT, TerryP wrote:
[..]
> I am a freak: I do not use nor want syntax highlighting. I don't want
> my editor to understand mail, irc, or the www either, I want it to
> edit text efficiently so I can go on with the rest of my life as soon
> as possible. Given the
On Oct 7, 6:28 pm, Robert H wrote:
> On Oct 7, 1:18 pm, Barry Warsaw wrote:
>
>
>
>
>
> > Hello everyone.
>
> > The source tarballs and Windows installers for Python 2.6.4rc1 are now
> > available:
>
> >http://www.python.org/download/releases/2.6.4/
>
> > Please download them, install them, and
On Oct 7, 4:35 pm, Irmen de Jong wrote:
> I just got my solution accepted, it ran in 14 seconds though.
Hey, that's pretty good. Until n00m instigated the most recent
INOUTEST craze, the only accepted answer besides numerix's was one
that barely squeaked in at 19.81s, and that result was achieve
David Jackson wrote:
ok, cut and pasted, but changed the username/password to protect the innocent.
this is from interactive prompt.
let me know if i am still not doing the slashes correctly please.
i doubt authentication is the issue.; i can get pid information using
WQL queries.
objCreateProc.C
On Oct 7, 1:18 pm, Barry Warsaw wrote:
> Hello everyone.
>
> The source tarballs and Windows installers for Python 2.6.4rc1 are now
> available:
>
> http://www.python.org/download/releases/2.6.4/
>
> Please download them, install them, and try to use them with your
> projects and environments.
Thomas Lehmann wrote:
> Hi!
>
> Is there a way to recognize short tags in a XML?
> I'm implementing a SAX handler...
>
> Problem: storing the XML code I would need this information
> in the startElement ...
>
> How can I handle this?
>
>
> any text
So ... are you writing as you read? If so,
Carl Banks wrote:
On Oct 7, 10:29 am, Tim Chase wrote:
Perhaps this is a reference to the alt/meta/control/buckey/super
key-chords that emacs is infamous for using
It's Esc-Meta-Alt-Ctrl-Shift
Sure that's not Winkey+Tab+Fn? :-)
-tkc
:wq!
--
http://mail.python.org/mailman/listinfo/py
On Oct 7, 5:11 pm, Roger Binns wrote:
> Curious wrote:
> > Did you mean to say that Ubuntu does come pre-installed with 64-bit
> > Python?
>
> I am saying that 64 bit Ubuntu comes with 64 bit Python. (32 bit Ubuntu
> comes with 32 bit Python.)
>
> > When I used the same command as you did, I see
On Oct 7, 10:29 am, Tim Chase wrote:
> >> One feature I have that emacs don't is that I'm able to efficiently edit
> >> a file on a remote machine with vim on a terminal (without graphical
> >> interface), and I'm using it. Apart from that, both solutions are
>
> > emacs has the same efficiency on
On Oct 7, 4:55 pm, Christian Heimes wrote:
> Curious schrieb:
>
>
>
> > On Oct 7, 4:07 pm, Roger Binns wrote:
> >> Curious wrote:
> >>> Ubuntu comes pre-installed with Python2.6 but this python installation
> >>> is a 32 bit installation.
> >> For 64 bit Ubuntu you are mistaken:
>
> >> $ file /us
Curious wrote:
> Did you mean to say that Ubuntu does come pre-installed with 64-bit
> Python?
I am saying that 64 bit Ubuntu comes with 64 bit Python. (32 bit Ubuntu
comes with 32 bit Python.)
> When I used the same command as you did, I see a 32-bit
> version there.
It is most likely that yo
Curious schrieb:
> On Oct 7, 4:07 pm, Roger Binns wrote:
>> Curious wrote:
>>> Ubuntu comes pre-installed with Python2.6 but this python installation
>>> is a 32 bit installation.
>> For 64 bit Ubuntu you are mistaken:
>>
>> $ file /usr/bin/python2.6
>> /usr/bin/python2.6: ELF 64-bit LSB executabl
On Oct 7, 4:07 pm, Roger Binns wrote:
> Curious wrote:
> > Ubuntu comes pre-installed with Python2.6 but this python installation
> > is a 32 bit installation.
>
> For 64 bit Ubuntu you are mistaken:
>
> $ file /usr/bin/python2.6
> /usr/bin/python2.6: ELF 64-bit LSB executable, x86-64, version 1 (
Heikki Toivonen wrote:
Mike Driscoll wrote:
EVP.Cipher(alg="aes_256_ecb", key=SomeKey, iv=SomeIV, op=dec,
padding=False)
I don't really see where I pass the data that needs the decrypting
though. Can someone shed some light on this?
Look at test_AES method in
http://svn.osafoundation.
I typically use several editors: /bin/ed, nvi, EDIT.COM, and Vi
Improved.
These are the advantages that I find these various editors give me:
ed -- I can quickly edit files without having to wait on an ncurses
app to start up. Although I rarely have access to GNU versions of ed,
they use readlin
Curious wrote:
> Ubuntu comes pre-installed with Python2.6 but this python installation
> is a 32 bit installation.
For 64 bit Ubuntu you are mistaken:
$ file /usr/bin/python2.6
/usr/bin/python2.6: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GN
Jean-Michel Pichavant wrote:
> alex23 wrote:
> > To me, the explicit reference to the base class violates DRY. It also
> > means you need to manually change all such references should the base
> > class ever change, something that using super() avoids.
>
> I found the correct answer
> (http://www.
What's the best way to make a realtime loop in Tkinter? I know in
perl you can use "repeat" and it will call a function every x seconds,
in python it seems like "after" may be the equivalent though it
doesn't seem to behave like the perl repeat function. Any ideas?
Thanks,
Jonathan
--
http://mai
Hello All,
Ubuntu comes pre-installed with Python2.6 but this python installation
is a 32 bit installation. I need to use 64-bit Python on Ubuntu - how
do I update the current installation to 64-bit installation? Is there
any separate package that I need to apt-get?
I do the following to know if
On Wed, 07 Oct 2009 02:31:00 -0700, Ryan wrote:
> Thanks everyone for your insight. I'm going to have to agree with the
> paranoid desire to prevent people importing his module and then using
> the
> classes he imports from elsewhere (I'm not ruling out the lead paint
> theory until I can gather m
[Please do not email me *and* the list - it is highly annoying]
Tom Cumming wrote:
> Thanks!, but I already thought of your suggestion. I've already gotten
> the clear impression that the amount of work to implement this is more than
> the ROI.
It isn't anywhere near as hard or as much work as y
Sorry for the toppost, I'm on a mobile, but if I'm understanding you then
you might want to try graphine- its a graph theory library with experimental
dot language support, which you can use to draw your graphs. Give it a try-
graphine.org.
On Oct 7, 2009 2:12 AM, "Dylan Palmboom" wrote:
Hi eve
On Oct 7, 2:31 am, Ryan wrote:
> Thanks everyone for your insight. I'm going to have to agree with the
> paranoid desire to prevent people importing his module and then using
> the
> classes he imports from elsewhere (I'm not ruling out the lead paint
> theory until I can gather more evidence).
I
ok, cut and pasted, but changed the username/password to protect the innocent.
this is from interactive prompt.
let me know if i am still not doing the slashes correctly please.
i doubt authentication is the issue.; i can get pid information using
WQL queries.
objCreateProc.Create expects 4 strings
On Wed, 07 Oct 2009 14:05:25 -0700, Victor Subervi
wrote:
print 'Content-Type: image/jpeg'
print 'Content-Encoding: base64'
print
print content.encode('base64')
I did change it to text/plain, but I don't know how I'm supposed to
manually
decode it. Yes, it printed out a bunch of crap to t
Thanks!, but I already thought of your suggestion. I've already gotten
the clear impression
that the amount of work to implement this is more than the ROI.
Having said that, it might work if on exiting the app could re-zip itself.
One _big_ problem with zip files or compiled python executables
print 'Content-Type: image/jpeg'
print 'Content-Encoding: base64'
print
print content.encode('base64')
I did change it to text/plain, but I don't know how I'm supposed to manually
decode it. Yes, it printed out a bunch of crap to the screen. I've gotten
that far before, and once I read "Adobe" som
On Wed, 07 Oct 2009 13:24:28 -0700, Victor Subervi
wrote:
I did that. In fact, just to make things easier, I wrote out exactly
what is
supposed to be rendered, as below:
#!/usr/local/bin/python
import cgitb; cgitb.enable()
import MySQLdb
import cgi
import sys,os
sys.path.append(os.getcwd()
I tried these combinations:
print '''Content-Type: image/jpeg
Content-Encoding: base64
'''
print
print content.encode('base64')
and
print '''Content-Type: image/jpeg
Content-Encoding: base64
'''
print content.encode('base64')
Neither worked :(
V
On Wed, Oct 7, 2009 at 3:40 PM, Carsten Haese w
Hitting ctrl-c, twice quickly works for me.
> -Original Message-
> From: python-list-bounces+frsells=adventistcare@python.org
> [mailto:python-list-bounces+frsells=adventistcare@python.org] On
> Behalf Of OdarR
> Sent: Wednesday, October 07, 2009 12:02 PM
> To: python-list@python.o
Victor Subervi wrote:
> [...]
> print '''Content-Type: image/jpeg
>
> Content-Encoding: base64
> '''
> [...]
You have a spurious blank line between those header lines.
HTH,
--
Carsten Haese
http://informixdb.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-list
n00m wrote:
numerix's solution was excelled by Steve C's one (8.78s):
http://www.spoj.pl/ranks/INOUTEST/lang=PYTH
I don't understand nothing.
I just got my solution accepted, it ran in 14 seconds though.
I have no idea how to shave more seconds off, so I think 7.5 seconds for the fastest
solu
I did that. In fact, just to make things easier, I wrote out exactly what is
supposed to be rendered, as below:
#!/usr/local/bin/python
import cgitb; cgitb.enable()
import MySQLdb
import cgi
import sys,os
sys.path.append(os.getcwd())
from login import login
user, passwd, db, host = login()
form =
En Wed, 07 Oct 2009 12:00:13 -0300, Victor Subervi
escribió:
> print '''Content-Type: image/jpeg
>
> '''
> print
> print content
On Wed, Oct 7, 2009 at 9:51 AM, Gabriel Genellina wrote:
> That's still wrong. The output should be:
>
> - a line containing Content-Type: image/jpeg
> - a blank line
Hello all... I'm new here and a search in tis group but unfortunately
i didn't find any kind of solution/code/question etc ...
I have to made a python script that communicates with an websevice
over the web. I tried out use SoapPy, ZSI, BeautifullSoap and others,
but get no success...
I have to ge
On Wed, 07 Oct 2009 11:51:13 -0700, Victor Subervi
wrote:
My misunderstanding. Here's the new code:
print '''Content-Type: image/jpeg
Content-Encoding: base64
'''
Ah, sorry, I wasn't clear -- Content-Encoding is a header, and needs to go
with Content-Type, before the newlines. So
pri
My misunderstanding. Here's the new code:
#!/usr/local/bin/python
import cgitb; cgitb.enable()
import MySQLdb
import cgi
import sys,os
sys.path.append(os.getcwd())
from login import login
user, passwd, db, host = login()
form = cgi.FieldStorage()
picid = int(form['id'].value)
x = int(form['x'].val
Ryan wrote:
[] It does beg the question for
me. Consider the example from his code below
from PyQt4 import QtGui
class LauncherWidget( QtGui.QWidget ):
# A Specialization of QWidget
del QtGui
Next time python comes across
from PyQt4 import QtGui
it would have to re-import the class,
On 7 oct, 19:29, Tim Chase wrote:
> Perhaps this is a reference to the alt/meta/control/buckey/super
> key-chords that emacs is infamous for using that don't always get
> reliably transmitted by all terminal-emulation programs and
> consoles. It was one of my nudging factors towards vi (and later
Mike Driscoll wrote:
> EVP.Cipher(alg="aes_256_ecb", key=SomeKey, iv=SomeIV, op=dec,
> padding=False)
>
> I don't really see where I pass the data that needs the decrypting
> though. Can someone shed some light on this?
Look at test_AES method in
http://svn.osafoundation.org/m2crypto/trunk/tests/
PyPM is now released!
http://groups.google.com/group/comp.lang.python/browse_thread/thread/e9efdedf264a3b8a
On Oct 1, 4:42 am, flebber wrote:
> On Oct 1, 11:28 am, srid wrote:
>
>
>
>
>
> > On Sep 30, 4:51 pm, Robert Hicks wrote:
>
> > > I am just curious which I should use. I am going to s
Apart of trolling which is also an activity I like,
what are the features vim proposes to Python ?
Olivier
Many, but none that you won't find with emacs, so when I'm stating it is
just a matter of personal preference, I mean it :o) "Vi or Emacs" is the
same question as "straight or gay"
On Wed, 07 Oct 2009 10:50:00 -0700, Victor Subervi
wrote:
Well, since the code is automatically generated, it printed this:
#!/usr/local/bin/python
import cgitb; cgitb.enable()
import MySQLdb
import cgi
import sys,os
sys.path.append(os.getcwd())
from login import login
user, passwd, db, host
Well, since the code is automatically generated, it printed this:
#!/usr/local/bin/python
import cgitb; cgitb.enable()
import MySQLdb
import cgi
import sys,os
sys.path.append(os.getcwd())
from login import login
user, passwd, db, host = login()
form = cgi.FieldStorage()
picid = int(form['id'].valu
One feature I have that emacs don't is that I'm able to efficiently edit
a file on a remote machine with vim on a terminal (without graphical
interface), and I'm using it. Apart from that, both solutions are
emacs has the same efficiency on a terminal.
or maybe I don't understand your sentence.
On Oct 7, 12:16 pm, MRAB wrote:
> Felix wrote:
> > Hello,
>
> > I keep running into a deadlock in a fairly simple parallel script
> > using Multiprocessing.Queue for sending tasks and receiving results.
> > It seems to be the workers cannot finish pusing buffered results into
> > the output queue
[Hrvoje Niksic]
> Note that stable sort has additional memory requirements. In situations
> where you don't need stability, but do need memory-efficient in-place
> sorting, an unstable sort might well be preferred. This is why
> libraries such as C++'s STL offer both.
FWIW, the "additional memor
Hello everyone.
The source tarballs and Windows installers for Python 2.6.4rc1 are now
available:
http://www.python.org/download/releases/2.6.4/
Please download them, install them, and try to use them with your
projects and environments. Let us know if you encounter any problems
with th
On Wed, 07 Oct 2009 09:38:09 -0700, Victor Subervi
wrote:
Yes it is. I have had it print to screen already, and there is data in
the
database.
V
If you're confident that the data is correct and hasn't been corrupted,
then I'm afraid I'm out of ideas. Perhaps you could try transmitting i
On 7 oct, 18:44, Jean-Michel Pichavant wrote:
> Being a vi fan, I can just tell you that emacs is for loosers, and no
> one will dare to challenge this.
vi is very good for newbees, I recommend it.
> vi/emacs is like choosing between the Celtics or the Lakers, there is no
> reason for that, the
On Oct 7, 10:44 am, Jean-Michel Pichavant
wrote:
> OdarR wrote:
> > hello,
>
> > * this is not a troll *
>
> > which kind of help you have with your favorite editor ?
>
> > personnally, I find emacs very nice, in the current state of my
> > knowledge, when I need to reindent the code.
> > you know
OdarR wrote:
hello,
* this is not a troll *
which kind of help you have with your favorite editor ?
personnally, I find emacs very nice, in the current state of my
knowledge, when I need to reindent the code.
you know how this is critical in python...:-)
I don't use other python-mode features
Yes it is. I have had it print to screen already, and there is data in the
database.
V
On Wed, Oct 7, 2009 at 10:03 AM, Rami Chowdhury wrote:
> On Wed, 07 Oct 2009 06:37:08 -0700, Victor Subervi <
> victorsube...@gmail.com> wrote:
>
> I took out the line in question (with text/html). Now it prin
Felix wrote:
Hello,
I keep running into a deadlock in a fairly simple parallel script
using Multiprocessing.Queue for sending tasks and receiving results.
From the documentation I cannot figure out what is happening and none
of the examples seem to cover quite what I am doing. The main code is
hello,
* this is not a troll *
which kind of help you have with your favorite editor ?
personnally, I find emacs very nice, in the current state of my
knowledge, when I need to reindent the code.
you know how this is critical in python...:-)
I don't use other python-mode features for the moment
Hello the list,
I have question about ElementTree module, I didn't find a specific list
so I post here. I hope I'm not wrong.
I would like to know how to change the namespace URI of all the Element
of my XML tree without changing anything else.
I want that because I have to compare 2 XML tr
On 26 sep, 17:54, devilkin wrote:
> I'm just starting learning python, and coding inemacs. I usually
> splitemacswindow into two, coding in one, and run script in the
> other, which is not very convenient. anyone can help me with it? is
> there any tricks likeemacsshort cut?
>
> also please recomm
On Oct 7, 10:04 am, "M.-A. Lemburg" wrote:
> Mike Driscoll wrote:
> > Hi,
>
> > I am working on a project where I need to decrypt some data that has
> > been encrypted with AES. It looks like M2Crypto is the module of
> > choice for these sorts of things, but I cannot figure out how to do
> > this
On Tuesday 06 October 2009 02:40:46 pm Paul Rubin wrote:
> > The problem is that if you allow to use the cmp, lot of programmers
> > will use it straight away, not even bothering to know what that
> > strange 'key' argument may be useful for. And they miss the how much
> > handy 'key' is.
>
> Given
On 2009-10-07 05:46 AM, bbarb...@inescporto.pt wrote:
Good morning all!
I am trying to build a data matrix, but I am not able either to write to
file with a proper structure nor to get the data from the matrix.
I want to sort some music by similarity content, and I just have the
indexes of the
On 2009-10-07 03:59 AM, Ken Elkabany wrote:
Hello,
I am hoping to get feedback for a new, commercial platform that
targets the python programming language and its users. The product is
currently in a closed-beta and will be free for at least a couple
months. After reviewing the only rules I coul
Ken Elkabany wrote:
I am hoping to get feedback for a new, commercial platform that
targets the python programming language and its users. The product is
currently in a closed-beta and will be free for at least a couple
months. After reviewing the only rules I could find
(http://www.python.org/co
Ben Finney wrote:
Scott David Daniels wrote: ...
class Initialized(ClassBase):
@classmethod
def _init_class(class_):
class_.a, class_.b = 1, 2
super(Initialized, class_)._init_class()
Mea culpa: Here super is _not_ a good idea,
[…]
Why is ‘super’
Mike Driscoll wrote:
> Hi,
>
> I am working on a project where I need to decrypt some data that has
> been encrypted with AES. It looks like M2Crypto is the module of
> choice for these sorts of things, but I cannot figure out how to do
> this stuff from the docs. I have the following PHP code tha
On Wed, 07 Oct 2009 06:37:08 -0700, Victor Subervi
wrote:
I took out the line in question (with text/html). Now it prints to screen
the url. It did that before. Strange. Any other ideas?
TIA,
V
Looking at the output, it seems the reason for this (for me) is that
Firefox can't find the ima
Gabriel, don't you remember fighting this through with me a year or two ago?
It worked just fine back then, but now the same code doesn't work! Go
figure! We've tweaked it to this point:
#!/usr/local/bin/python
import cgitb; cgitb.enable()
import MySQLdb
import cgi
import sys,os
sys.path.append(os
En Tue, 06 Oct 2009 17:26:19 -0300, Victor Subervi
escribió:
The code in question is generated automatically from another script. I
took
your idea of the \r\n\r\n and added triple quoting and now it prints out
this:
That's still wrong. The output should be:
- a line containing Content-Type
En Tue, 06 Oct 2009 18:01:34 -0300, Joel Smith
escribió:
Gabriel Genellina wrote:
Note that you don't *have* to use partial in this case, as you're
building the suite yourself. Just create the TestCase instances
manually:
suite = unittest.TestSuite([
TestGenericWindow('testit',
Christian Heimes wrote:
> M.-A. Lemburg schrieb:
>> Christian Heimes wrote:
>>> Ben Finney wrote:
If you're committed to changing the epoch anyway, I would recommend
using http://en.wikipedia.org/wiki/Astronomical_year_numbering>
(epoch at 4004 BCE) since it is widely used to unify d
Hrvoje Niksic:
> Note that stable sort has additional memory requirements. In situations
> where you don't need stability, but do need memory-efficient in-place
> sorting, an unstable sort might well be preferred. This is why
> libraries such as C++'s STL offer both.
There are stable sorts that
Hi,
I am working on a project where I need to decrypt some data that has
been encrypted with AES. It looks like M2Crypto is the module of
choice for these sorts of things, but I cannot figure out how to do
this stuff from the docs. I have the following PHP code that needs to
be translated into Pyt
Hello,
I am hoping to get feedback for a new, commercial platform that
targets the python programming language and its users. The product is
currently in a closed-beta and will be free for at least a couple
months. After reviewing the only rules I could find
(http://www.python.org/community/lists/
alex23 wrote:
Jean-Michel Pichavant wrote:
a possible answer:
- explicit >> implicit
I'm not sure this is the correct one though :)
To me, the explicit reference to the base class violates DRY. It also
means you need to manually change all such references should the base
class ever c
I took out the line in question (with text/html). Now it prints to screen
the url. It did that before. Strange. Any other ideas?
TIA,
V
On Tue, Oct 6, 2009 at 3:40 PM, Rami Chowdhury wrote:
> On Tue, 06 Oct 2009 13:26:19 -0700, Victor Subervi <
> victorsube...@gmail.com> wrote:
>
> The code in q
Bearophile writes:
> What I meant is that a general sorting routine, even in D, is better
> to be first of all flexible. So I think it's better for the D built-in
> sort to be stable, because such extra invariant allows you to use the
> sort in more situations.
Note that stable sort has addition
Hi
Is there a python book that resemble this
http://www.amazon.com/Enterprise-Recipes-Ruby-Rails-Schmidt/dp/1934356239/ref=sr_1_1?ie=UTF8&s=books&qid=1254914183&sr=8-1-spell
Also is there a active record version or port of Python ?
regards
--
http://mail.python.org/mailman/listinfo/
Good morning all!
I am trying to build a data matrix, but I am not able either to write
to file with a proper structure nor to get the data from the matrix.
I want to sort some music by similarity content, and I just have the
indexes of the playlist like this:
dm = numpy.array(songs)
[0
On Wed, Oct 7, 2009 at 2:31 AM, Ryan wrote:
> Next time python comes across
>
> from PyQt4 import QtGui
>
> it would have to re-import the class, which seems a waste of cycles
> that could accumulate.
Python only imports modules once. The next time Python comes across that, it
looks in sys.modu
M.-A. Lemburg schrieb:
> Christian Heimes wrote:
>> Ben Finney wrote:
>>> If you're committed to changing the epoch anyway, I would recommend
>>> using http://en.wikipedia.org/wiki/Astronomical_year_numbering>
>>> (epoch at 4004 BCE) since it is widely used to unify dates referring to
>>> human his
Christian Heimes wrote:
> Ben Finney wrote:
>> If you're committed to changing the epoch anyway, I would recommend
>> using http://en.wikipedia.org/wiki/Astronomical_year_numbering>
>> (epoch at 4004 BCE) since it is widely used to unify dates referring to
>> human history.
>
> I prefer JDN or MJD
Jean-Michel Pichavant wrote:
> a possible answer:
> - explicit >> implicit
>
> I'm not sure this is the correct one though :)
To me, the explicit reference to the base class violates DRY. It also
means you need to manually change all such references should the base
class ever change, something th
On Wed, Oct 7, 2009 at 1:32 PM, Schedule wrote:
> That was great ! Now I am able to insert the values from the file.
>
> Somehow I am not able to update a specific field with all the vaues in the
> file. For eg:
> [...]
> c.execute("UPDATE a SET last = %s", row)
The database does what you
Paul Rubin:
> Bearophile:
> > sorting, and something that's surely not bug-prone. In such situation
> > having a 'key' argument is *better*. Such sort can be stable.
>
> Nothing stops comparison sorting from being stable. Since the rest of
> your post seems premised on the opposite, I hope that cl
Hi all,
I have a problem with locale.RADIXCHAR, it seems this constant isn't defined on
the Windows platform.
Is there a way to use an equivalent of locale.RADIXCHAR ?
Thank you
Stephane
--
Stephane Wirtel - "As OpenERP is OpenSource, please feel free to contribute."
Developper - Technical Le
That was great ! Now I am able to insert the values from the file.
Somehow I am not able to update a specific field with all the vaues in the
file. For eg:
Before the update my table contents are:
+---+---+
| first | last |
+---+---+
| Sara | Jones |
| Terry | Burns |
| Filiz |
Ben Finney wrote:
Scott David Daniels writes:
Scott David Daniels wrote:
class Initialized(ClassBase):
@classmethod
def _init_class(class_):
class_.a, class_.b = 1, 2
super(Initialized, class_)._init_class()
Mea culpa: Here super is
Chris Colbert wrote:
> if you want to use it with apapache, you need mod_wsgi.
Or you can use mod_proxy alone or with mod_rewrite if you want to stick
to the builtin webserver of cherrypy.
Christian
--
http://mail.python.org/mailman/listinfo/python-list
Thanks everyone for your insight. I'm going to have to agree with the
paranoid desire to prevent people importing his module and then using
the
classes he imports from elsewhere (I'm not ruling out the lead paint
theory until I can gather more evidence). It does beg the question for
me. Consider th
1 - 100 of 110 matches
Mail list logo