Martin Vilcans wrote:
> Try the SMTP spec. IIRC there's a passage there that says that the
> server should try to make sense of addresses that don't map directly
> to a user name. Specifically, it says that firstname.lastname should
> be mapped to the user with those first
Steven D'Aprano wrote:
> Postfix, I think, interpets "foo+bar" the same as "foo".
yup it does, but "foo" has to be a valid localpart so
"foo+bar" -> foo
foo+baz -> foo
f+oobar -> f - which is a different user (aliases set aside)
famous call on plus addressing, and you it's just a default you can
and I have no clue where the packages go. I can't think of a simpler
protocol than to just receive a fixed max UDP packet size and answer
immediately (read an "echo" server).
thanks
martin
### server
>>> from socket import *
>>> import SocketServer
>>&
you, so, this is wrong.
>
hmm then why do I receive every second request, shouldn't then no data at
all come up?
Also the next thing that would be a problem would be if I do
data = self.request[0]
I do get the data but where would I get the info from to which endpoint
be an alternative for
visualizing simulations and setting parameters even though it does not
provide all these fancy widgets around.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ROTECTED]
To: [EMAIL PROTECTED]
if by bottom you mean it's appended to the body...well that is a problem :)
hth
martin
--
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours
You are not free to read this message,
by doing so, you have violated my licence
and are requ
umber of characters per line is
> less than 2. Please check.
which would be true if 1.599.999.999 had 2 chars and the rest of the lines
just one :)
(but yes that would be an interesting question how to sort a 1 character
line based on the first 2 of that line)
martin
--
http://noneisyours
Hi,
I am looking for the code of pyfov, which is on the Package Index.
However, the link is broken and the author does not seem to respond to
e-mails.
Any chance to get hands on the code?
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> How can i get system information like CPU load and RAM usage in linux.
What about 'pystatgrab'?
It provides good info, with a limitation - it does not have CPU info
for particular CPUs, it takes just the cumulative CPU info.
http://www.i-scream.org/pystatgrab/
http://packages.debian.org/statgrab
Over-simplified yes, but it will work!
Python is beautiful :-)
--
http://mail.python.org/mailman/listinfo/python-list
in 332496 20080204 102153 "=?ISO-8859-1?Q?BJ=F6rn_Lindqvist?=" <[EMAIL
PROTECTED]> wrote:
>> In Python, the direct translation of this is a for loop. When the
>> index doesn't matter to me, I tend to write it as:
>>
>> for _ in xrange (1,n):
>>some code
>>
>> An alternative way of indicating
info in the subject line is
a) visually disturbing (subjective)
b) I guess that the risk of a user modifying the subject line is the
same than finding a programm that doesn't to some extent honor the
headers i mentioned...
c) Personally whenever I find a mail that says please keep this in
ks again mate.
>
> I try it too in my eclipse3.2. I got the same result.
> It seems very strange.
>
Print out "answer" and see if there is a difference ...
my $0.02
Martin
--
http://mail.python.org/mailman/listinfo/python-list
t for speed and
screen size issues).
HTH
Martin
--
http://mail.python.org/mailman/listinfo/python-list
to the entry widgets.
there are a few good ways around this, lambda, class with __call__ etc
etc most of these can be found with a little googling (in case this is
homework)
Cheers,
Martin.
--
signature file not found, must be something I ate
--
http://mail.python.org/mailman/listinfo/python-list
in 335100 20080222 123210 Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>On Fri, 22 Feb 2008 08:12:56 +, Marc 'BlackJack' Rintsch wrote:
>
>> A "variable" in
>> programming languages is composed of a name, a memory location, possibly
>> a type and a value. In C-like languages, where you put values
r) or command line 'yum install tkinter'
(I may have spelt the tkinter package name wrong so do search for it
first)
Fedora (like RedHat) has loads of Python related packages so worth
checking in the package manager - Search for python- you'll be
pleasantly surprised :)
Cheers,
Martin.
hon-hosting.com/). Then you get
binaries which are only linked against libc - and as it happens to be
the oldest version of libc around you shouldn't have problems running
the binaries with newer ones.
HTH,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
r embedded".
>>> "xxxaaaxxx".strip("x")
'aaa'
>>> "xxxaaaxxxaaaxxx".strip("x")
'aaaxxxaaa'
>>>
HTH
Martin
--
http://mail.python.org/mailman/listinfo/python-list
There is a macpython list that you can consult at
http://www.nabble.com/Python---pythonmac-sig-f2970.html. When you
search for your problem
http://www.nabble.com/forum/Search.jtp?forum=2970&local=y&query=mysqldb
you have the solution
http://www.nickshanny.com/2007/10/os-x-105-python-and-mysqldb.ht
of sequence?
python dicts can hold any kind of object (as a value). What you can't
do is have a list as the key, but that is easily circumvented by using
a tuple (or any other immutable type).
hth
martin
--
http://tumblr.marcher.name
https://twitter.com/MartinMarcher
http://www.xing.com/pro
in 337513 20080310 115744 "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>Roopan wrote:
>
>> Hello!
>>
>> I am looking at developing an enterprise-grade distributed data
>> sharing application - key requirements are productivity and platform
>> portability.
>>
>> Will it be sensible to use C++ for p
in 337600 20080310 222850 [EMAIL PROTECTED] wrote:
>On Mar 10, 2:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote:
>
>>
>> Java is more portable than most other languages, especially if your app
>> needs a gui.
>
>The promise of Java portability was one of the bi
use the glob module
import os, glob
dor = the path you want
for dir, subdir, files in os.walk(dor):
for file in files:
if glob.fnmatch.fnmatch(file,"*.txt"):
do what you want
--
http://mail.python.org/mailman/listinfo/python-list
look at
http://groups.google.be/group/comp.lang.python/browse_thread/thread/d75a491b8dbc3880/0ca1fb7f7deca194?hl=fr&lnk=gst&q=laloux#0ca1fb7f7deca194
There is a macpython list that you can consult at
http://www.nabble.com/Python---pythonmac-sig-f2970.html
--
http://mail.python.org/mailman/listinf
if you are not satisfied with the native version, why not install the
official version directly from python site
http://www.python.org/download/ (macpython) instead of using that of
macports. It moreover is provided with many utilities
There is a macpython list that you can consult at
http://www.
#x27;, s)
(516354996L,)
See help(struct) for further information.
This seems to imply that the Mac, although running now on Intel
processors, is still big-endian.
HTH
Martin
--
http://mail.python.org/mailman/listinfo/python-list
==struct.unpack(">I", s)[0]
Anyway, when handling binary data across machines, I think
it is proper to explicitly specify the endian-ness and to
do sanity-checking of the results.
Regards
Martin
--
http://mail.python.org/mailman/listinfo/python-list
27;, s)[0]==struct.unpack(">I", s)[0]
>
> Maybe a little more compact and readable:
>
> In [92]: sys.byteorder
> Out[92]: 'little'
>
Yes, indeed it is more compact and readable.
Thanks.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is there a way to create a function that is equal to 0?
I try to redefine __cmp__ but I am pretty stuck.
Something like:
>>> def f(): return ""
...
>>> # Some magic
>>> f == 0
True
Thanks in advance
Martin
--
http://mail.python.org/mailman/listinfo/python-list
quot; for more information.
>>> def f(): return 0
...
>>> f==0
False
>>> f()==0
True
>>>
I do not want the function to return 0 but to equal 0.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 21 Mar 2008 13:12:56 -0700 (PDT)
Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> On Mar 21, 7:48 pm, Martin Manns <[EMAIL PROTECTED]> wrote:
> Why do you want to do that?
First thank you for your help, the callable object works.
Basically I have a lot of functions inside
> cell in the array as a function.
>
> If you drop this condition then you could fill the array with zeroes
> as before, replace only the interesting ones with actual functions,
> and write:
>
> for item in myarray[nonzero(myarray)]:
> print item() if callable(item) els
rogram one could use to test this function...
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpuxR0RACuHg.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Mar 24, 2008 at 05:52:54PM -0700, Noah wrote:
> On Mar 24, 2:58 pm, Derek Martin <[EMAIL PROTECTED]> wrote:
> > If and only if the total amount of output is greater than the
> > specified buffer size, then reading on this file hangs indefinitely.
> I think this
On Wed, Mar 26, 2008 at 09:49:51AM -0700, Noah Spurrier wrote:
> On 2008-03-24 22:03-0400, Derek Martin wrote:
> >That's an interesting thought, but I guess I'd need you to elaborate
> >on how the buffering mode would affect the operation of select(). I
> >really
apter 3 for the stdio stuff, chapter 12
for non-blocking I/O, and chapter 14 for discussions about pipes,
popen(), and how buffering modes can be controlled by your program and
how that affects the child.
Don't get me wrong... pexpect is useful. But some of the problems
you're trying to
d the mod wants to import
a .py-file that is not in the game directory it will search for
the .py-file in the python directory that is installed on my computer.
Can I somehow prevent the embedded python to look in the python
directory?
Thanks!
Martin
--
http://mail.python.org/mailman/listinfo/python-list
"Istvan Albert" schrieb
>
> > Is subprocess.Popen completely broken?
>
> Your lack of faith in Python is somewhat
> disturbing ...
>
I have consistently made the experience that when
I was about to ask "is X completely broken", the
error was on my s
I don't known pjsip but this problem generally occurs when the library
(dylib) on which the file (.so) depends is not the good one
> Googling this issue show that it is happening to many
> libraries in python on mac.
?? I am working in python on mac since a lot of time I seldom have
such prob
Hi,
this is probably a trivial problem, but a google search for "python"
and "unicode" and" format string" gives too many hits: If I specify
e.g. "%20s" in a format string and the string value contains UTF-8
stuff (differing number of bytes per character), the length of the
resulting string (in ch
in 100686 20090203 181957 Catherine Heathcote
wrote:
>Tim Rowe wrote:
>> 2009/2/3 Jervis Whitley :
>>
>>> real programmers use ed.
>>
>> Ed? Eee, tha' were lucky. We had to make holes in Hollerith cards wi'
>> our bare teeth...
>>
>
>You had teeth!?!
>
>Oh and hi, I shall be a new face in the cro
r that it has (and needs) no intrinsic-value.
>
> To me, that seems just as silly as arguing that zero is not a number, or
> that white pixels are "nothing" and black pixels are "something". Or
> maybe they should be the other way around?
>
> None is No
You must install numpy or scipy before installing matplotlib. If you
do not want to do it yourself you cand download
Scipy superpack
"This shell script will install recent SVN builds of Numpy (1.3) and
Scipy (0.7), as well as Matplotlib (0.98), iPython (0.8.3) and PyMC
(2.0 beta) for OS X 10.5 (Le
You must install numpy or scipy before installing matplotlib. If you
do not want to do it yourself you cand download
Scipy superpack
"This shell script will install recent SVN builds of Numpy (1.3) and
Scipy (0.7), as well as Matplotlib (0.98), iPython (0.8.3) and PyMC
(2.0 beta) for OS X 10.5 (Le
sparse matrices
(or multi-dim arrays)?
Should I use another type of matrix in scipy.sparse? If yes which?
Does a different data-structure suit my above-stated needs better?
Best Regards
Martin
--
http://mail.python.org/mailman/listinfo/python-list
This is also false, it even has its own operator (which requires
Unicode to display): ≡
Still, the point you're trying to make is right: this stuff is hard to
talk about, and the model actually encourages the use of ambiguous or
even contradictory explanations.
--
Derek D. Martin
http://www.
fused at how this could possibly happen, and often enough actually
seem offended (or at least offensive) when it inevitably does happen...
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp6S7INF1qUN.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Jan 02, 2009 at 11:43:30AM -0500, Steve Holden wrote:
> Derek Martin wrote:
> > What the Python community often overlooks, when this discussion again
> > rears its ugly head (as it seems to every other hour or so), is that
> > its assignment model is BIZARRE, as
an experienced
programmer 10 minutes to understand variable assignment. :) [Note
that I'm including the semantics for passing arguments to functions as
part of "assignment" for purposes of this discussion.]
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpkihamKsYya.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
t of identity in
mathematics precisely because it is unnecessary: 1 is always 1, by
definition. But that is the definition of "is"... :)
But the discussion is bordering on philosophy, and I will resign from
it at this point, having previously made the points I intended to.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpAiEkpMH3gD.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Jan 03, 2009 at 10:15:51AM +, Marc 'BlackJack' Rintsch wrote:
> On Fri, 02 Jan 2009 04:39:15 -0600, Derek Martin wrote:
>
> > On Tue, Dec 30, 2008 at 02:21:29PM +, John O'Hagan wrote:
> > What the Python community often overlooks, when this discuss
On Sat, Jan 03, 2009 at 11:38:46AM -0600, Grant Edwards wrote:
> > Or are they also "BIZARRE"!?
>
> One presumes that Mr. Martin finds anything different from his
> first computer language to be BIZARRE. He should try out
> Prolog or something genuinely different.
raditional assignment model, and despite your
protestations of lack of proof, I'm pretty sure you agree. ;-)
Ultimately, none of this really matters, as perhaps my point is that
Python *is different* from what A LOT of folks learning it have
already seen (if anything), and it&
On Sun, Jan 04, 2009 at 09:56:33PM -0600, Grant Edwards wrote:
> On 2009-01-05, Derek Martin wrote:
> > On Sat, Jan 03, 2009 at 11:38:46AM -0600, Grant Edwards wrote:
> >> One presumes that Mr. Martin finds anything different from his
> >> first computer language to be
Forgive my indulgence, I find this rather academic discussion kind of
interesting, as it turns out.
On Sun, Jan 04, 2009 at 10:55:09PM -0600, Derek Martin wrote:
> > You can't argue that one semantic or another is more intuitive
> > without offering evidence.
>
> I think
fferent model than what
they are used to. Often this happens, but too often not without
someone also letting the OP know what a mindless jerk he is...
*This* is the "common understanding" which I'd hoped could be
reached... But you were right... it's very difficult for pe
specified warning category. The full class name must be given.
The module field matches the (fully-qualified) module name; this
match is case-sensitive. The line field matches the line num-
ber, where zero matches all line numbers and is thus equivalent
.
Please explain why it doesn't.
The most likely cause of the behavior you are seeing is the deadlock I
described, above. Using select() (i.e. using communicate()) should
generally fix about half the cases... The rest would be fixed by
redirecting STDIN of the child (or at least the Java p
n parsing, setting the
environment variables appropriately. A child process, in general, can
not insert environment variables into the environment of its parent.
If what you're trying to do isn't covered by the above, then I think
you'll need to try to explain it better.
--
Derek D. Mart
27;,'en-gb,en;q=0.5'), ('User-agent', 'Mozilla/5.0
(Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208
Firefox/3.0.1')]
webfile = opener.open(url)
Any help would be greatly appreciated!
Thank you!
Martin
--
http://mail.python.org/mailman/listinfo/python-list
But a site like gizmodo.com forwards me directly to the English site
(even though they have a German version available). But the Python call
returns the German version. How does that make sense?
Cheers,
Martin
Martin Bachwerk wrote:
Hello,
I'm trying to load a couple of pages using
is doesn't quit help :(
Thanks anyway,
Martin
On Oct 16, 2008, at 6:50 AM, Martin Bachwerk wrote:
Hmm, thanks for the ideas,
I've checked the requests in Firefox one more time after deleting all
the cookies and both google.com and gizmodo.com do indeed forward me
to the German site
away.. soo..
Is there a way to pretend I'm from the US and not from wherever else? I
tried setting the X_FORWARDED_FOR header, but that doesn't seem to
work.. There must be some way to override the client IP, or?
Thanks again.
Martin
On Oct 15, 2008, at 9:50 AM, Martin Bachwerk
python
# vim:ts=4:sw=4:expandtab
Though of course, using this kind of mechanism quickly becomes gross
if everyone is using a different editor, and they all support a
similar but different mechanism for doing so.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpWonPLlq6C1.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
ouldn't see the
parameter msg, which was passed via the call. Most unexpected, and
definitely undesirable.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp4DKmvYHFbt.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
uot;it" is "its" with no
apostrophe. This was the only thing of value which you contributed,
though really, using that is way overkill for my needs. If I've
written bad code, by all means, please correct it. If I've written
code in a style that you happen not to like, please
just trying to preempt the pound of attitude that often
goes with the ounce of answers. But if the choice is between no
answer, and an answer that barely manages to avoid calling me an idiot
(especially over coding style), I'd rather have no answer.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp1spA6WQhn4.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
d thing was, I remembered it actually working. And it had... In
between testing the two cases, I'd accidentally deleted the module and
had to recreate it. The first time no bug, second time, well,
resutled in this thread. I'm chalking the whole thing up to coding
when not sufficiently a
ea how to solve this?
Thanks for your ideas.
Best regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I'd like to handle two-dimensional arrays. My first choice, the numpy
library, doesn't seem to be an option due to compatibility issues (see
my other thread about python22.dll).
Is there a tutorial somewhere how to handle 2d-arrays with vanilla Python?
Thanks and best regar
Diez B. Roggisch schrieb:
Can't you just get Numpy (or it's predecessors, Numeric) compiled against
ptyhon2.2?
I tried Numeric, but e.g. it doesn't seem to feature transpose...
How do I compile Numpy against python2.2? :-)
Thanks for your answers and best regards,
Robert Kern schrieb:
Martin Schneider wrote:
I tried Numeric, but e.g. it doesn't seem to feature transpose...
Yes, it does. Numeric.transpose()
Then I must have made a mistake. I'll look into it. Thanks for the
correction.
How do I compile Numpy against python2.2? :-)
You c
's a semantic argument, but John's semantics are fine. A library is
code intended to be consumed by developers. The developers *are* the
users of the library. *End users* use applications, not libraries.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpug97
in 86949 20081024 205720 "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote:
>Steven D'Aprano wrote:
>
>>On Fri, 24 Oct 2008 14:53:19 +, Peter Pearson wrote:
>>
>>> On 24 Oct 2008 13:17:45 GMT, Steven D'Aprano wrote:
What are programmers coming to these days? When I was their age, we
>>>
Hi list,
I'm wondering if there's a tool that can analyze a Python program
while it runs, and generate a database with the types of arguments and
return values for each function. In a way it is like a profiler, that
instead of measuring how often functions are called and how long time
it takes, it
c.
There's more work to be done to make this a robust tool (which is why
I was hoping there already existed a tool for this). It should handle
varargs and keyword arguments properly, and probably needs to handle
exceptions better. I'll see if I can run it on real code tomorrow and
see if th
n two: one process manages the GUI, and the second is a back-end
process that plays the MIDI. Your GUI can even launch the back end,
which will inherit the priority of the GUI, after which the GUI can
reduce its own priority (the priority of the back end will not be
affected by the change)...
--
;libpython2.4.so.1.0"
"libpython2.3.so.1.0"))
(:windows (:or "python25.dll" "python24.dll" "python23.dll") )
(t (:default "libpython")))
Sage comes with it's own python, however, without a library. On the otherhand,
above I demonstrated that
's not "built in"
like it is in Windows). X works as a client-server model, and you
need to make sure X authentication is handled properly. Depending on
what you are doing, this can be either very easy, or very complicated.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID:
imple as:
cmd = "whatever your shell command is"
os.system(cmd)
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpjESdNVsDLA.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
iven expression or context.
If you like, you could think of the value of an object as the set of
all possible values to which the object may evaluate in every possible
context, given a particular state of the object.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75
sentation of the date when printed, and a numeric value
(or some other time object) when used in other expressions, both from
a philisophical and practical standpoint.
Furthermore it falls down semantically; an object has parts that are
not part of its value, and therefore the value and the objec
the value of x==y does indeed depend
on the behavior of the methods.
> I think the value of x is "a thing which claims to be equal to
> everything on Tuesdays, and equal to nothing every other day".
That isn't its *VALUE* -- it's its *IDENTITY*. My weight is not my
ide
>
> This definition looks a bit circular to me ;)
Why, because it has the word "value" in the definition? It's not
circular. The thing being defined is "value of an object". The word
"value" has a pre-existing well-understood natural language definiti
On Fri, May 8, 2009 at 5:48 PM, Andreas Rumpf wrote:
> Dear Python-users,
>
> I invented a new programming language called "Nimrod" that combines Python's
> readability with C's performance. Please check it out:
> http://force7.de/nimrod/
> Any feedback is appreciated.
Nice with a language with
On Tue, May 12, 2009 at 3:10 PM, wrote:
>> You can certainly have a string type that uses byte arrays in UTF-8
>> encoding internally, but your string functions should be aware of that
>> and treat it as a unicode string. The len function and index operators
>> should count characters, not bytes.
ttp://pyspread.sourceforge.net
Best Regards
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 13 May 2008 00:23:12 +0200
Martin Manns <[EMAIL PROTECTED]> wrote:
pyspread 0.0.5 has been released.
It is a bugfix release for Mac and Windows.
> --
>
> About:
> pyspread is a spreadsheet that accepts a pure python expression in
> each cell.
>
> --
>
&
search, search, it is a recurrent question
for example
http://groups.google.be/group/comp.lang.python/browse_thread/thread/7bef767753fe40f1/a3fd7c2dd7a50bef?hl=fr&lnk=gst&q=mysqldb+mac#a3fd7c2dd7a50bef
--
http://mail.python.org/mailman/listinfo/python-list
> earlier caused. Why is this ?
Well, what's the error? Sounds like your system could be b0rked (or
at least your python installation)... but depending on the error,
there could be other explanations.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpkARlxW8Y91.p
'Intended Audience :: End Users/Desktop',
],
author='Martin Manns',
author_email='[EMAIL PROTECTED]',
url='http://sourceforge.net/projects/pyspread/',
packages=['pyspread'],
package_dir={'pyspread':
roup.group
def addTask(self, task):
self.group.append(task)
hth
martin
On Tue, May 20, 2008 at 10:58 PM, <[EMAIL PROTECTED]> wrote:
> class TaskGroup:
>def __init__(self):
>self.group = []
>
>def addTask(self, task):
>self.group.append(task)
>
>
> is th
.
> BTW, I got it from http://docs.python.org/tut/node15.html. A little search
Didn't even think of that, now that I have it: I love you - it's great.
To the one that implemented this: If you ever come to vienna, drop me
a note I'll get you a $FAVORITE_DRINK_HERE
/martin
--
http://www.xing.co
you put your pth file in (same configuration:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/
--
http://mail.python.org/mailman/listinfo/python-list
for func in func_strings]
>>> len(funclist)
4
>>> len(set(funclist))
4
>>> funclist[0].func_code == funclist[3].func_code
True
>>> funclist[0] == funclist[3]
False
Thanks in advance
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 25 May 2008 12:14:25 + (UTC)
Ivan Illarionov <[EMAIL PROTECTED]> wrote:
> On Sun, 25 May 2008 13:43:15 +0200, Martin Manns wrote:
>
> Maybe make a set of code objects?
>
> func_code_set = set([f.func_code for f in funclist])
>
> funclist = []
> fo
;__reduce__', '__reduce_ex__', '__repr__',
'__setattr__', '__str__', 'func_closure', 'func_code', 'func_defaults',
'func_dict', 'func_doc', 'func_globals', 'func_name']
Should func_globals and func_name also be taken into account for
__eq__()?
Best Regards
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hello, I have two questions.
1/ If I want to use Python and let my WinPC communicate via RS-232
with external embedded computer I know there is a pyserial module,
which I can use it. But what will happen if I want to replace RS-232
by USB? I know I can have virtual COM port, but all the configurati
for relative reference
Requires: Python >=2.4, Numpy 1.0.4, and wxPython 2.8.7.1.
License: GPL
Project page: http://pyspread.sourceforge.net
Best Regards
Martin
--
http://mail.python.org/mailman/listinfo/python-list
901 - 1000 of 4141 matches
Mail list logo