www.enmac.com.hk
GSM Mobile Phones, Digital iPods, Digital Clocks, Digital Pens,
Digital Quran. Enjoy these products with Islamic Features (Complete
Holy Quran with Text and Audio, Tafaseer books, Ahadees Books, Daily
Supplications, Universal Qibla Direction, Prayer Timing and much more)
visit our
I supposed the below code will print seven 2 and generate the list li
without 2.
Strangely it only print four 2. If you change the number of 2 in the
list, the results are all beyond expectation.
I know the other way to achieve the expected goal, but why this is
happening? Could somebody enlight m
On Wed, 30 Jan 2008 17:19:13 -0800, Ryszard Szopa wrote:
> BTW, can anybody explain me how is the hash function implemented in
> Python?
It calls the `__hash__()` method on the object that was given as argument.
So there's not *the* hash function, but every type implements its own.
Fallback is t
On Jan 30, 9:27 pm, MRAB <[EMAIL PROTECTED]> wrote:
> On Jan 31, 1:09 am, George Sakkis <[EMAIL PROTECTED]> wrote:> On Jan 30, 5:03
> pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
> > > On Wed, 30 Jan 2008 15:29:45 +0100, Wildemar Wildenburger wrote:
> > > > Gerardo Herzig wrote:
> > >
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>On Tue, 29 Jan 2008 16:23:28 -0800 (PST), "[EMAIL PROTECTED]"
><[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>> Telnet(192.168.2.75,5000): send '\n\n'
>
> Should that be "\r\n" (or, if two lines is intended, "\r\n\r\n")
I do
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>Thank You for the response. I did set the debugging level. I get back
>this.
>
>Telnet(192.168.2.75,5000): recv 'Password: '
>Telnet(192.168.2.75,5000): send '*\n'
>Telnet(192.168.2.75,5000): recv '\r\x00\r\nlogged in successfully\r\n'
>Telnet(1
Thanks folks - I'll have a think about both of these options.
--
http://mail.python.org/mailman/listinfo/python-list
A moron posting from google?
How unusual!
--
Posted via a free Usenet account from http://www.teranews.com
--
http://mail.python.org/mailman/listinfo/python-list
> On Behalf Of Daniel Fetchinson
> Actually, it turns out I might say I'm a world known expert
> of Gene Expression Programming.
> The only thing is that some higher powers are preventing me
> from telling you about it.
> I'm really sorry, I hope you understand. Please don't ask
> questions. It'
On Jan 31, 3:57 am, "Dan Upton" <[EMAIL PROTECTED]> wrote:
> Or: How to write Python like a Python programmer, not a Java
> programmer. This will be a little long-winded...
>
> ...
>
> and so on. The way I was going to approach it was to every time
> through the loop, read the data for one of th
(Top-posting corrected.)
On Wed, 30 Jan 2008 22:38:30 -0500, Sergio Correia wrote:
> On Jan 30, 2008 10:30 PM, Ben Finney
> <[EMAIL PROTECTED]> wrote:
>> MRAB <[EMAIL PROTECTED]> writes:
>>
>> > On Jan 31, 12:57 am, Asun Friere <[EMAIL PROTECTED]> wrote:
>> > > Ouch!! If on the other hand 'female
"Gabriel Genellina" <[EMAIL PROTECTED]> writes:
> En Thu, 31 Jan 2008 01:57:41 -0200, Dan Upton <[EMAIL PROTECTED]>
> escribió:
>
> > Or: How to write Python like a Python programmer, not a Java
> > programmer. This will be a little long-winded...
> >
> > So I just recently started picking up Py
I'm trying to debug a script on my server and it's taking forever
using print to find the error. I've tried to use the debugging
examples on this page http://webpython.codepoint.net/debugging but
they don't seem to be working for me.
Is there an easier/better way to debug online scripts? I was hop
>> To Anyone,
> >
> >
> >
> > Has anyone worked with Gene Expression Programming??? Specifically, has
> > anyone out there worked with pygep software package??? I have a few
> > questions
> >
> >
> > David Blubaugh
> > --
Actually, it turns out I might say I'm a world known expert of Gene
Hello, I've just picked up the Python language and am really enjoying it.
I've just signed up to this mailing list and I'm looking forward to taking
part in some discussions.
My first post is a question I've been pondering for the last couple of days:
For relatively static data (such as a list),
En Thu, 31 Jan 2008 01:57:41 -0200, Dan Upton <[EMAIL PROTECTED]>
escribió:
> Or: How to write Python like a Python programmer, not a Java
> programmer. This will be a little long-winded...
>
> So I just recently started picking up Python, mostly learning the new
> bits I need via Google and ot
[EMAIL PROTECTED] wrote:
> I am shravan tiwari, i want to know that how i'll run any python
> file(*.py) on command prompt r python GUI.
> i tried this
>
> python test.py
>
> but i have got error, syntax error. so can i get the solution.
I'm thinking you're running on a Windows computer, and that
"Blubaugh, David A." wrote:
> I do not understand why no one has answered the following question:
> Has anybody worked with Gene Expression Programming
Not me, and I'm not expecting too. In addition, I'm not actually trying to
figure out if anyone else is working with Gene Expression Progra
Or: How to write Python like a Python programmer, not a Java
programmer. This will be a little long-winded...
So I just recently started picking up Python, mostly learning the new
bits I need via Google and otherwise cobbling together the functions
I've already written. It occurred to me though
En Thu, 31 Jan 2008 01:01:30 -0200, Astan Chee <[EMAIL PROTECTED]> escribió:
> I have a html text stored as a string. Now I want to go through this
> string and find all 6 digit numbers and make links from them.
> Im using re.sub and for some reason its not picking up the previously
> matched cond
"Astan Chee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> I have a html text stored as a string. Now I want to go through this
> string and find all 6 digit numbers and make links from them.
> Im using re.sub and for some reason its not picking up the previously
> matched
See this:
http://www.regular-expressions.info/python.html
(the Search and Replace part)
You are referring to the group as "(?P=id)", when you should be using
r"\g".
HTH,
Sergio
On Jan 30, 2008 10:01 PM, Astan Chee <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a html text stored as a string. Now I w
So in this case it is REALLY better to ask for permission rather than
forgiveness?
On Jan 30, 2008 10:30 PM, Ben Finney <[EMAIL PROTECTED]> wrote:
> MRAB <[EMAIL PROTECTED]> writes:
>
> > On Jan 31, 12:57 am, Asun Friere <[EMAIL PROTECTED]> wrote:
> > > Ouch!! If on the other hand 'females' is pop
MRAB <[EMAIL PROTECTED]> writes:
> On Jan 31, 12:57 am, Asun Friere <[EMAIL PROTECTED]> wrote:
> > Ouch!! If on the other hand 'females' is populated by instances of
> > (or merely includes instances of) class 'Human', I suggest you
> > test for female.consent somewhere in your code!
> >
> The Pyt
Rob Wolfe wrote:
> The good news is that I managed to configure completion for Python
> in Emacs using pymacs, python-mode.el, pycomplete.el and pycomplete.py.
> For contents of my pycomplete.el, pycomplete.py and necessary
> settings in .emacs see below.
Thanks for that! I've been hoping someth
Try contacting "Ryan O'Neil ryanjoneil at gmail.com". He is the author
of pygep http://code.google.com/p/pygep/ , and is probably working
here: http://www.gepsoft.com/
If you don't get an answer, it means that THEY found him first.
This message will self destruct in ... range(3, 0, -1) ...
On Jan
Hi,
I have a html text stored as a string. Now I want to go through this
string and find all 6 digit numbers and make links from them.
Im using re.sub and for some reason its not picking up the previously
matched condition. Am I doing something wrong? This is what my code
looks like:
htmlStr = r
>>> from xml.etree import ElementTree as et
>>> from decimal import Decimal
>>>
>>> root = et.parse('file/with/your.xml')
>>> debits = dict((debit.attrib['category'],
>>> Decimal(debit.find('amount').text)) for debit in root.findall('debit'))
>>>
>>> for cat, amount in debits.items():
... print
Grant Edwards wrote:
> On 2008-01-31, Daniel Fetchinson <[EMAIL PROTECTED]> wrote:
>>> I do not understand why no one has answered the following question:
>>>
>>> Has anybody worked with Gene Expression Programming
>> Hm, maybe because nobody did? Just a thought. It can also be that
>> ever
On Jan 31, 1:09 am, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Jan 30, 5:03 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
> > On Wed, 30 Jan 2008 15:29:45 +0100, Wildemar Wildenburger wrote:
> > > Gerardo Herzig wrote:
> > >> I will use genital().extend(), thats for shure ^^
>
> > >
On Wed, 30 Jan 2008 17:14:32 -0800, Ryszard Szopa wrote:
> Hi all,
>
> I've just read PEP 285 so I understand why bool inherits from int and
> why, for example, ((False - True)*True)**False==1.
And don't think that the choice was uncontroversial.
> This was necessary for backwards compatibilit
"Ryszard Szopa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|
| (Also, it is not completely clear what it means for two Python objects
| to "have the same value".
Objects of different types compare unequal unless provision is made
otherwise.
See http://docs.python.org/ref/compa
On Jan 31, 12:57 am, Asun Friere <[EMAIL PROTECTED]> wrote:
> On Jan 31, 3:13 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> > Wildemar Wildenburger wrote:
> > > Well, you never go wrong with apply(genital(), females), do you?
>
> Never?!
>
> class PowerSocket () :
> def __init__ (self, plug=fem
--- sccs cscs <[EMAIL PROTECTED]> escribió:
> Gabriel Genellina <[EMAIL PROTECTED]> a écrit :
> En Tue, 29 Jan 2008 21:25:26 -0200, sccs cscs
> escribió:
>
> > I find an OPEN SOURCE tool
> (http://bouml.free.fr/) that Recently
> > generates Python code from UML model.
>
> Does it keep the mod
The answer is here:
http://www.google.com/search?q=gene+expression+programming+python
Tim Chase wrote:
>> I do not understand why no one has answered the following question:
>>
>> Has anybody worked with Gene Expression Programming
>>
>
> Well, my father's name is Gene, and he's exp
On 2008-01-31, ajaksu <[EMAIL PROTECTED]> wrote:
> On Jan 30, 10:40 pm, "Blubaugh, David A." <[EMAIL PROTECTED]>
> wrote:
>> I do not understand why no one has answered the following question:
>>
>> Has anybody worked with Gene Expression Programming
>>
>> David Blubaugh
>
> I see. You don't un
2008/1/30, J. Peng <[EMAIL PROTECTED]>:
> Hello,
>
> Is there a site for python,which collects most kinds of python modules?
> like CPAN for Perl.
> Sometime I want to use a module,like the time/date modules,don't know
> where I should search from.
> Sorry if I have repeated this question on t
Hello,
Is there a site for python,which collects most kinds of python modules?
like CPAN for Perl.
Sometime I want to use a module,like the time/date modules,don't know
where I should search from.
Sorry if I have repeated this question on the list.
Thanks!
--
http://mail.python.org/mailman/listi
Peter Schuller <[EMAIL PROTECTED]> writes:
> I *DON'T* want anything to depend on the physical location on disk.
Importing the code in the first place will — unavoidably, it seems to
me — depend on the file location from which to load the module.
After that, nothing depends on the physical locat
On Jan 30, 10:40 pm, "Blubaugh, David A." <[EMAIL PROTECTED]>
wrote:
> I do not understand why no one has answered the following question:
>
> Has anybody worked with Gene Expression Programming
>
> David Blubaugh
I see. You don't understand. That's a fact. I'm sure there are free
online resou
On 2008-01-31, Daniel Fetchinson <[EMAIL PROTECTED]> wrote:
>> I do not understand why no one has answered the following question:
>>
>> Has anybody worked with Gene Expression Programming
>
> Hm, maybe because nobody did? Just a thought. It can also be that
> everyone worked with it but ev
On Jan 31, 12:08 am, Dustan <[EMAIL PROTECTED]> wrote:
> The underlying order is a result, in part, of the key's hash codes*.
> Integers are hash coded by their integer values, therefore, they
> appear in numeric order. Strings, however, use an algorithm that
> ensures as unique hash codes as poss
Hi all,
I've just read PEP 285 so I understand why bool inherits from int and
why, for example, ((False - True)*True)**False==1. This was necessary
for backwards compatibility and to give the beast some ability to do
moral reasoning. For example, Python knows to value the whole truth
more than ju
On Jan 30, 5:03 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Wed, 30 Jan 2008 15:29:45 +0100, Wildemar Wildenburger wrote:
> > Gerardo Herzig wrote:
> >> I will use genital().extend(), thats for shure ^^
>
> > Well, you never go wrong with apply(genital(), females), do you?
>
> `app
On Wed, 30 Jan 2008 19:40:24 -0500, Blubaugh, David A. wrote:
> I do not understand why no one has answered the following question:
>
> Has anybody worked with Gene Expression Programming
Yes, people have worked with Gene Expression Programming.
I don't know who. I don't know where. But I'm
On Jan 30, 3:09 pm, Berteun Damman <[EMAIL PROTECTED]> wrote:
> On Wed, 30 Jan 2008 14:47:36 -0800 (PST), FireNWater <[EMAIL PROTECTED]>
> wrote:
> > I'm curious why the different outputs of this code. If I make the
> > dictionary with letters as the keys, they are not listed in the
> > dictionar
On Jan 30, 6:40 pm, "Blubaugh, David A." <[EMAIL PROTECTED]> wrote:
> I do not understand why no one has answered the following question:
>
> Has anybody worked with Gene Expression Programming
>
> David Blubaugh
>
Sorry, I was too busy reading the posts about the pubic hair.
And did you re
> I do not understand why no one has answered the following question:
>
> Has anybody worked with Gene Expression Programming
Well, my father's name is Gene, and he's expressed software wants
that I've implemented in Python...so yes, I guess I've done some
Gene Expression Programming...
;
On Jan 31, 3:13 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> Wildemar Wildenburger wrote:
> > Well, you never go wrong with apply(genital(), females), do you?
Never?!
class PowerSocket () :
def __init__ (self, plug=female, active=False) :
self.plug = plug
self.active = active
females
Hey Si,
The PEAK lib Trellis (http://peak.telecommunity.com/DevCenter/Trellis)
is worth checking out. I haven't had a chance to use it yet but am
keen to.
There are several other modules that may apply, I recommend searching
on the Python Package Index (http://pypi.python.org/pypi), for
"observer
> I do not understand why no one has answered the following question:
>
> Has anybody worked with Gene Expression Programming
Hm, maybe because nobody did? Just a thought. It can also be that
everyone worked with it but everyone is part of a big conspiracy not
to answer any of your emails
is this some kind of joke?
if you get no answers, then the answer is no
On Jan 30, 2008 7:40 PM, Blubaugh, David A. <[EMAIL PROTECTED]> wrote:
> I do not understand why no one has answered the following question:
>
> Has anybody worked with Gene Expression Programming
>
>
> David Blubaugh
>
>
I do not understand why no one has answered the following question:
Has anybody worked with Gene Expression Programming
David Blubaugh
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Wednesday, January 30, 2008 6:1
Thanks Rob. Your code should basically do the trick.
-- Richard
--
http://mail.python.org/mailman/listinfo/python-list
On 30 Jan, 21:27, walterbyrd <[EMAIL PROTECTED]> wrote:
> Thanks for all that posts. This thread has been helpful.
>
> I have seen a lot of posts about the importance of decoupling the
> deployment technologies from the framework technologies. This is how I
> have done that in PHP. I develop on my
On Wed, 30 Jan 2008 14:47:36 -0800 (PST), FireNWater <[EMAIL PROTECTED]> wrote:
> I'm curious why the different outputs of this code. If I make the
> dictionary with letters as the keys, they are not listed in the
> dictionary in alphabetical order, but if I use the integers then the
> keys are in
On Jan 30, 4:47 pm, FireNWater <[EMAIL PROTECTED]> wrote:
> I'm curious why the different outputs of this code. If I make the
> dictionary with letters as the keys, they are not listed in the
> dictionary in alphabetical order, but if I use the integers then the
> keys are in numerical order.
>
>
En Wed, 30 Jan 2008 20:47:36 -0200, FireNWater <[EMAIL PROTECTED]> escribió:
> I'm curious why the different outputs of this code. If I make the
> dictionary with letters as the keys, they are not listed in the
> dictionary in alphabetical order, but if I use the integers then the
> keys are in n
> It what sense will it not be? Why do you care so much about where the
> source code for Monkey is defined? If you actually want to read the
> source, you might need to follow the chain from "animal", see that Monkey
> is imported from "monkey", and go look at that. But the rest of the time,
>
> Well, all I will say is that many people on this list, myself
> included, do know Python internals, and we use the method we've been
> suggesting here, without problems.
Ok. That is useful to know (that it is being done in practice without
problems).
Thanks!
--
/ Peter Schuller
PGP userID: 0
FireNWater wrote:
> I'm curious why the different outputs of this code. If I make the
> dictionary with letters as the keys, they are not listed in the
> dictionary in alphabetical order, but if I use the integers then the
> keys are in numerical order.
>
> I know that the order of the keys is no
I'm curious why the different outputs of this code. If I make the
dictionary with letters as the keys, they are not listed in the
dictionary in alphabetical order, but if I use the integers then the
keys are in numerical order.
I know that the order of the keys is not important in a dictionary,
b
Hello, I'm trying to write a script which will allow me to initiate (spawn?)
an SSH reverse tunnel from an internal box (inside a firewall) to an
external box, while logged into the external box.
I posted to another list and was pointed in the direction of paramiko. I've
read the tutorials, but
> Compared to what, did you measure something?
As example, instantiation of Model classes in Django (Model.__init__)
sends two signals (pre_init and post_init) - they are rarely used in
practice - but they make instantiation about two times slower. Yes, I
measured that.
The creator of Louie (Patr
Ivan Illarionov wrote:
> Note that all those signals/events are very slow in Python.
Compared to what, did you measure something?
Regards,
Björn
--
BOFH excuse #38:
secretary plugged hairdryer into UPS
--
http://mail.python.org/mailman/listinfo/python-list
You may need Louie (http://louie.berlios.de)
Django (http://djangoproject.com) does the same in django.dispatch -
and Django version works about 33% faster.
Note that all those signals/events are very slow in Python.
--Ivan
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 30 Jan 2008 15:29:45 +0100, Wildemar Wildenburger wrote:
> Gerardo Herzig wrote:
>> I will use genital().extend(), thats for shure ^^
>
> Well, you never go wrong with apply(genital(), females), do you?
`apply()` is deprecated. And ``genital(*females)`` looks a bit odd. :-)
Ciao,
On Jan 25, 5:05 am, [EMAIL PROTECTED] wrote:
> Hallo pyPeople,
>
> I wrote a little snippet of code that takes a list representing some
> 'digits', and according to a list of symbols, increments the digits through
> the symbol list.
>
> so for example,
>
> digits=["a","a","a"]
> symbols=["a","b","
Thank you, Guilherme. I was running demo_sftp.py included in paramiko
download.
It seems that '.ssh/known_hosts' should be the path of a key file on my
working directory on local PC. (Right?) I replaced this with 'test_rsa.key'
in C:\paramiko-1.7.2\demos and this did not generate error. But the r
Thanks for all that posts. This thread has been helpful.
I have seen a lot of posts about the importance of decoupling the
deployment technologies from the framework technologies. This is how I
have done that in PHP. I develop on my home box. When I get something
working the way I want, I ftp thos
On Jan 30, 8:08 pm, Bruno Desthuilliers wrote:
> PurpleServerMonkey a écrit :
> (snip)
>
> > Out of the major frameworks is there one that stands out as being
> > particularly well suited for what I'm trying to do?
>
> > Django and CherryPy are on the short list so I'll give them a detailed
> > lo
Hi,
I have a stackless python app, using twisted in parts (.internet and
.adbapi).
I need a little help getting pythonic after years of c++ hell.
I'd like to use a system of events and observers, like c++ boost.signal.
I'd like to be able to subscribe multiple callbacks to a single function
a
17146031598
--
http://mail.python.org/mailman/listinfo/python-list
Hai Vu wrote:
> Why don't you try to use Code Colorizer:
> http://www.chamisplace.com/colorizer/cc.asp
Looks like it lacks support for one important language, though...
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
2008/1/30, Charles_hans <[EMAIL PROTECTED]>:
>
> I tried to get what host_key has been aquired after AutoPolicy is set. I
> added the following code just before client.close() in rosty's final code:
>
> try:
> host_keys =
> paramiko.util.load_host_keys(os.path.expanduser('~/.ssh/known_hosts'))
Iain Mackay wrote:
> Python Folks
>
> I'm a newbie to Python and am looking for a library / function that can help
> me fit a 1D data vector to a sine wave. I know the frequency of the wave,
> so its really only phase and amplitude information I need.
>
> I can't find anything in the most wi
I tried to get what host_key has been aquired after AutoPolicy is set. I
added the following code just before client.close() in rosty's final code:
try:
host_keys =
paramiko.util.load_host_keys(os.path.expanduser('~/.ssh/known_hosts'))
except IOError:
try:
host_keys =
paramiko.uti
On Jan 30, 11:16 am, Peter Nemeth <[EMAIL PROTECTED]> wrote:
> Hi ,
>
> I am working on a stellar spectral analysis pipeline in Python. My OS is
> Suse 10.0, and i use Python 2.5 . I have found difficulties with keyboard
> event handling. My code communicates with the user through an xterm window
En Tue, 29 Jan 2008 21:25:26 -0200, sccs cscs <[EMAIL PROTECTED]> escribió:
> I find an OPEN SOURCE tool (http://bouml.free.fr/) that Recently
> generates Python code from UML model.
Does it keep the model synchronized when you modify the Python code?
> I like to model the Python language met
Hi all,
The way that Lucene (and by extension, PyLucene) seems to work is that
updates to documents are implemented by the user as a document
addition (of the new version) and subsequent deletion (of the old
version).
My problem is that I'd like to update a number of documents which have
their Sto
Iain Mackay napisal(a):
> Python Folks
>
> I'm a newbie to Python and am looking for a library / function that can help
> me fit a 1D data vector to a sine wave. I know the frequency of the wave,
> so its really only phase and amplitude information I need.
>
> I can't find anything in the most w
Hi ,
I am working on a stellar spectral analysis pipeline in Python. My OS is
Suse 10.0, and i use Python 2.5 . I have found difficulties with keyboard
event handling. My code communicates with the user through an xterm window
and shows graphs in a Gnuplot window. At a certain point i start a
Did you managed to work out NetBeans and Python?
Ken McDonald wrote:
>
> Do any such exist? And do you find them worthwhile? I couldn't see any
> browsing the netbeans pages, but that doesn't mean they're not out
> there...
>
> Thanks,
> Ken
> --
> http://mail.python.org/mailman/listinfo/py
change:
I would prefer to have the key names consistent, so that event the
to:
I would prefer to have the key names consistent, so that *even* the
--
http://mail.python.org/mailman/listinfo/python-list
Hello all,
I am using MySQLdb 1.2.2 and have a question about the construction of
the dictionary keys of a result set.
Here is an example query, from which you may intuit some of the
structure of the tables:
SELECT
shots.*,
users.*,
sequences.*,
jobs.*
FROM
shots
LEFT JOIN
users ON
On Jan 30, 4:31 am, Peter Schuller <[EMAIL PROTECTED]>
wrote:
> I don't know Python internals enough to state of believe with any
> authority wither, let's say, stomping __module__ and hacking
> sys.modules would be enough to *truly* do it correctly in a proper way
> such that it is entirely transp
On Jan 29, 5:39 pm, kj <[EMAIL PROTECTED]> wrote:
[...]
> It's not the Python syntax that I'm having problems with, but rather
> with larger scale issues such as the structuring of packages,
> techniques for code reuse, test suites, the structure of
> distributions,... Python and Perl seem to come
subopt inTheVicinityOf geemail.com wrote:
> I'm trying to load a dll via ctypes by doing this:
>
> cdll.LoadLibrary('/path/to/mylib.so')
>
> But i'm getting this:
>
> /path/to/mylib.so: cannot open shared object file: No such file or
> directory What am i doing wrong?
>
> The dll in
Wildemar Wildenburger wrote:
> Gerardo Herzig wrote:
>> I will use genital().extend(), thats for shure ^^
>
> Well, you never go wrong with apply(genital(), females), do you?
>
> /W
That's enough genitalia [ed]
--
Steve Holden+1 571 484 6266 +1 800 494 3119
Holden Web LLC
On Wed, 30 Jan 2008 13:32:00 +0100, Helmut Jarausch
<[EMAIL PROTECTED]> wrote:
[snip]
> While I can bind '' to a callback, I haven't figured out how
> to get (and later on set) the cursor within the Entry widget.
> In other words I need to know at which character position the last
> character was
On 30. januar 2008 14:31, Gabriel Genellina wrote:
>On 30 ene, 07:54, <[EMAIL PROTECTED]> wrote:
>> On 30. januar 2008 10:48, Marc 'BlackJack' Rintsch wrote:
>>
>> >On Wed, 30 Jan 2008 09:57:55 +0100, David.Reksten wrote:
>>
>> >> How can I convert a string read from a database containing unicode
>
Thanks all! This is terrific, and a quick response... I have to go with the
2.4 version, but thanks to everyone...
Tim Golden-4 wrote:
>
> washakie wrote:
>> Hello,
>>
>> I have a list of datetime objects: DTlist, I have another single datetime
>> object: dt, ... I need to find the nearest DT
Gerardo Herzig wrote:
> I will use genital().extend(), thats for shure ^^
Well, you never go wrong with apply(genital(), females), do you?
/W
--
http://mail.python.org/mailman/listinfo/python-list
On 30 ene, 12:00, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> I call that a bug in the inspect module. In fact, looking at the source
> for the findsource() function, I can see no fewer than two bugs, just in
> the way it handles classes:
>
> (1) it assumes that the only way to
Python Folks
I'm a newbie to Python and am looking for a library / function that can help
me fit a 1D data vector to a sine wave. I know the frequency of the wave,
so its really only phase and amplitude information I need.
I can't find anything in the most widely known libraries (they seem t
Kay Schluehr wrote:
> On Jan 30, 12:38 am, Wildemar Wildenburger
> <[EMAIL PROTECTED]> wrote:
>>> Python has a JIT right no
>> You mean in the Java-sense (outputting native machine code)?
>>
>> /W
>
> Sure.
>
> http://psyco.sourceforge.net/
>
Oh, switcheroo! :)
/W
--
http://mail.python.org/ma
Sion Arrowsmith wrote:
>Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
>
>>On Tue, 29 Jan 2008 11:48:38 -0800, Tobiah wrote:
>>
>>
>>>class genital:
>>> def pubic_hair(self):
>>> pass
>>> def remove(self):
>>> del(self.pubic_hair)
>>>
>>>
>>I thi
Anyone else noticed that the OP has not actually replied to any of the
suggestions...
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 29 Jan 2008 06:48:59 -0600, Peter Schuller wrote:
>> You can also put, in animal/__init__.py:
>> from monkey import Monkey
>> and now you can refer to it as org.lib.animal.Monkey, but keep the
>> implementation of Monkey class and all related stuff into
>> .../animal/monkey.py
>
> The pr
Boris Borcic wrote:
> min(DTlist,key=lambda date : abs(dt-date))
In Python2.4:
Traceback (most recent call last):
File "", line 1, in ?
TypeError: min() takes no keyword arguments
Looks like min() only started taking keywords (key) from
Python2.5 forward.
But the min() solution is g
1 - 100 of 148 matches
Mail list logo