x2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gmpy
>>> gmpy.version()
'1.01'
>>>
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Try Esri
http://support.esri.com/index.cfm?fa=forums.gateway
or
http://geography.sdsu.edu/People/Pages/jankowski/public_html/web683/lectures683.htm
--
http://mail.python.org/mailman/listinfo/python-list
running as a
service which has the ability to launch python scripts as a logged on user)
Thanks, Martin.
--
http://mail.python.org/mailman/listinfo/python-list
"Thomas Heller" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Martin Evans schrieb:
>> I have converted a Python script using py2exe and have it set to not
>> bundle
>> or compress. The result is my exe and all the support files including
>
2007/11/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> On Nov 5, 3:10 pm, Erika Skoe <[EMAIL PROTECTED]> wrote:
> >
>
> That's funny, I can't see anything.
Of course, it's an empty dict!
tzz, *shaking head*
martin
--
http://noneisyours.marcher.name
http:/
2007/11/5, Frank Aune <[EMAIL PROTECTED]>:
> To prevent namespace pollution, I want to import and use this library in the
> following way:
>
> import Foo
> (...)
> t = Foo.module2.Bee()
from x import y as z
that has always worked for me to prevent pollution...
--
http://noneisyours.marcher.na
2007/11/7, Chris Mellon <[EMAIL PROTECTED]>:
> On Nov 7, 2007 12:11 PM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > How similar is Python's re module (regular expressions) compared
> > to Perl's and grep's regular expression syntaxes?
> >
>
> Somewhat.
>
> > I really hope regular expression
> If by 'this' you mean the global interpreter lock, yes, there are good
> technical reasons. All attempts so far to remove it have resulted in an
> interpeter that is substantially slower on a single processor.
Is there any good technical reason that CPython doesn't use the GIL on
single CPU sys
On Nov 9, 2007 10:37 AM, Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> "Martin Vilcans" <[EMAIL PROTECTED]> writes:
>
> >> If by 'this' you mean the global interpreter lock, yes, there are good
> >> technical reasons. All attempts so far
On Nov 10, 2007 12:48 AM, Rhamphoryncus <[EMAIL PROTECTED]> wrote:
> On Nov 9, 1:45 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> > 2. If micro-locked Python ran, say, half as fast, then you can have a lot
> > of IPC (interprocess communition) overhead and still be faster with
> > multiple process
unksize)
while len(chunk) == chunksize:
compute_data(chunk)
f.read(chunksize)
I just don't feel comfortable with it for some reason I can't explain...
thanks
martin
--
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours
--
http://mail.python.org/mailman/listinfo/python-list
;d create a "hidden" cache file parsable by configparser
and have filename = $favorite_checksum_algo - key value pairs in it if
it's not a long running process.
Otherwise I'd probably go with fam (or hal i think that's the other
thing that does that)
hth
mart
a heated topic but people please it's
"just spam" and every message regarding this topic is spam too (funny
enough, so is this message) please just add this stuff to your
killfile or whatever you use.
thanks
martin
PS: if you must discuss this opinion with me answer to me off li
I think that without further information from the OP about the
requirements all we can do is guessing. So both of our solutions are
just theory after all (just my personal opinion)
2007/11/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> On Nov 12, 11:27 am, "Martin Marcher" <[E
I just found this for win32 which seems to be the same as FAM provides:
http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_changes.html
So it's not about FAM as a definitive product to be used but more like
something nearer to the OS that is there anyway and will tell you
abou
2)
to get
-> Ukazka_moznosti_vyuziti_programu_OpenJUMP_v_SOA
Thanks for any hits! Regards, Martin Landa
--
http://mail.python.org/mailman/listinfo/python-list
ot;).read()
print my_var
with stuff.py containing
my_var="bye"
I use this exec open("stuff.py").read() mechanism to set
values in my scripts: the script sets a useful default,
a command-line argument in the form a valid python program
may override it. Why bother with inv
ing this instead of
> parsing the files and checking said types?
>
You might want to look at the eval, exec and execfile;
but bear in in mind Paddy's warning about security.
Regards
Martin
--
http://mail.python.org/mailman/listinfo/python-list
gt;exec open("stuff.py").read()
> >print my_var
> > with stuff.py containing
> > my_var="bye"
>
> It's not the same...
>
> from stuff import *
>
> ...is.
>
And indeed it is. Thanks.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
it's not yet stable.
(Actually not that hard rules, but I hope you get what I meant)
martin
--
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours
--
http://mail.python.org/mailman/listinfo/python-list
.obj.__class__)
return s
a_t = t()
print "a t obj: %s" % (a_t)
a t obj: __main__.t
x,1
y,2
obj,
HTH
Martin
--
http://mail.python.org/mailman/listinfo/python-list
r might help".upper()
"OR LOWER".lower()
HTH
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I need to get the date and time under Windows and Linux but need the
information visible to the user (cannot find my words) not the sytem
information (ex: a PC setup on greenwich but the date/time displayed are
relative to some other place.
Regards,
Philippe
--
http://mail.python.org/mailm
Thanks, yes, I guess the question is ... what date/time is it looking at ?
and is it the same under various OSs ?
Philippe
Jorge Godoy wrote:
> Philippe Martin wrote:
>
>> Hi,
>>
>> I need to get the date and time under Windows and Linux but need the
>> i
:-)
Thanks.
Philippe
Scott David Daniels wrote:
> Jorge Godoy wrote:
>> Philippe Martin wrote:
>>
>>> I need to get the date and time under Windows and Linux but need the
>>> information visible to the user (cannot find my words) not the sytem
>>> in
If your PC can handle eclipse ... memory-wise, I strongly suggest you give
pydev a shot.
Philippe
Neil Isaac wrote:
> I have been writing python my little python scripts in gedit and running
> them using the command line. At this point I'm thinking that I would like
> to start using a real ID
Yes, and then you have to answer Java/C/C++ job/contracts opening knowing
real well the mistake they're making ... as well as you are for
answering ;-)
Ant wrote:
> Python ruined my life.
>
> I am a Java programmer by profession, and ever since learning Python, I
> find it a real chore to open
Maybe like this ?
http://www.faqts.com/knowledge_base/view.phtml/aid/21215/fid/264
I noticed with wxWidget, which uses the same packing principle (xlib
inheritance ?) that hidding a widget can have a strange effect on the
layout of the "other guys" still visible ... so I just disable them now
in
Like this ?
http://aspn.activestate.com/ASPN/Mail/Message/python-list/1304518
Philippe
vduber6er wrote:
> I have a C program that calls my python script by
>
> exec_pycode(code);
>
> code = "import CheckFasta\nCheckFasta.CheckFasta (\"sampledata.txt\",
> %d)\n", PyNum);
>
> CheckFasta.p
unately, but is centralized using my table declaration that
lists the desired conversions for each column). See
http://furius.ca/antiorm/ for something simple that works well.
cheers,
--
Martin
Furius Python Training -- http://furius.ca/training/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have something like this:
Class A:
def A_Func(self, p_param):
.
Class B:
def A_Func(self):
.
Class C (A,B):
A.__init__(self)
B.__init__(self)
.
self.A_Func() #HERE I GET AN EXCEPTION "... takes at least 2 arguments
alling A_Func(self) as it was
checked against A_Func(self, p_param).
Regards,
Philippe
Lawrence D'Oliveiro wrote:
> In article <[EMAIL PROTECTED]>,
> "Ben Cartwright" <[EMAIL PROTECTED]> wrote:
>
>>Philippe Martin wrote:
>>
>>> I
Thanks,
I'll try that.
Philippe
Ben Cartwright wrote:
> Philippe Martin wrote:
>> I have something like this:
>>
>> Class A:
>> def A_Func(self, p_param):
>> .
>> Class B:
>> def A_Func(self):
>>
I had a similar but simple problem (the file was missing) and had to check
by hand before calling wxPython.
Can you check the tag by hand before calling wxPython ?
Philippe
Iain King wrote:
> I have a wxpython program that displays TIF images. Sometimes it will
> encounter a tag the tiff l
I think he did
from array import *
Philippe
bruno at modulix wrote:
> TG wrote:
>> Hi there.
>>
>> I'm trying to create a simple class called Vector which inherit from
>> array.
>
> Which array ?
>
> [EMAIL PROTECTED] ~ $ python
> Python 2.4.2 (#1, Feb 9 2006, 02:40:32)
> [GCC 3.4.5 (Ge
Besides the other anwsers, you might want to check the signal module.
Regards,
Philippe
[EMAIL PROTECTED] wrote:
> Here is another non-pythonic question from the Java Developer. (I beg
> for forgiveness...)
>
> Does Python have a mechanism for events/event-driven programming?
>
> I'm not ne
Hi,
This is an answer I got from the wxPython NG:
"""
If it is a wxLog message (I think it is) then you can temporarily
disable log messages by creating an instance of wx.LogNull. Or you can
do something like set the log target to some other object than the
default wx.LogGui, or set the log l
This might relevant.
http://www.aceshardware.com/read.jsp?id=153
Philippe
Robert Kern wrote:
> Martin v. Löwis wrote:
>> Srijit Kumar Bhadra wrote:
>>
>>>Is there any specific reason for not using MinGW to build the official
>>>distribution of Python fo
Hi,
I do not know if there is a way to overload the instantiation of all objects
in Python but I thought of something like this to fetch any object with its
name:
g_dict = {}
def create_object (v,s):
p = v
g_dict[s] = id(p)
return p
#ex
object = create_object ([1,2,3,4], 'A LIST')
Ph
OK, totally dumb !
g_dict[s] = p
Philippe Martin wrote:
> Hi,
>
> I do not know if there is a way to overload the instantiation of all
> objects in Python but I thought of something like this to fetch any object
> with its name:
>
> g_dict = {}
>
>
> def c
Why is that ? to me it makes sense when I see self.__m_var that I'm dealing
with a member variable taht derived classes will not see/access.
Philippe
Steven Bethard wrote:
> Panos Laganakos wrote:
>> we usually define private properties and provide public functions
>> to access them, in the f
he implementation later if you need
> > to. But python allows you to do this with properties:
> [snip]
> > Which should not be interpreted as saying you should start writing a
> > bunch of properties now. ;) Instead, only introduce a property when
> > you find that something
Edward Elliott wrote:
> Panos Laganakos wrote:
>> i.e. we usually define private properties and provide public functions
>> to access them, in the form of:
>> get { ... } set { ... }
>>
>> Should we do the same in Python:
>> Or there's no point in doing so?
>>
>> Some other techniques come to mi
Edward Elliott wrote:
> Philippe Martin wrote:
> ''
>
> On the other hand, foo.__doc__ and foo.__name__ work fine.
>
> (I was going to quote your post but my reader interprets everything after
> the two dashes as your sig and ignores it. And I won't
Duncan Booth wrote:
> Philippe Martin wrote:
>> Steven Bethard wrote:
>>> [Please don't top-post]
>>
>> OK I won't, is that a general rule? (I've been top posting for quite some
>> time now and it is the first time I see that warning)
>
&g
Hi,
I do not have the answer but am very interested in the issue. I tried this:
l_ev = wx.MouseEvent(wx.wxEVT_LEFT_DOWN)
l_ev.SetEventObject(self.GetCombo())
self.GetEventHandler().ProcessEvent(l_ev)
Which did send the event to the combo (which is in a pannel in my case) ..
but that is apparentl
Thanks,
Did not know that.
Philippe
Dennis Lee Bieber wrote:
> On Thu, 27 Apr 2006 14:32:15 -0500, Philippe Martin
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>>
>> What then is the point of the double underscore (if any) ?:
>
>
Hi,
>From the wxPython list:
> Hi,
>
> Which event must I catch to be called when the user clicks on the combo
> "button" to make the drop down list to appear ?
No, there isn't a specific event for the opening of the drop-down box.
Regards,
Philippe
Hi,
The second edition of "Programming Python - O'REILLY - Mark Lutz" shows how
to do that using "os.path.walk"
Philippe
Florian Lindner wrote:
> Hello,
> how can I get all subdirectories of a given directories? os.listdir()
> gives me all entries and I've found no way to tell if an object
That reminds me a session in an R&D lab a long time ago
One of the guys kept talking to himself, commenting code, bugs . he
drove me nuts
Eventually (weeks later) another guy silently stood up, went to the first
guy, and without a word attempted to strangle him.
He got stopped ... but did no
Hi,
This code works, but is it "appropriate" ?
l_init = False
if True == l_init and 1234 = l_value:
print 'l_value is initialized'
I know I can do this with a try but ...
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
I'm sorry (typo):
l_init = False
if True == l_init and 1234 == l_value:
print 'l_value is initialized'
Note that 1234 == l_value does not get evaluated.
Philippe
vbgunz wrote:
> you don't have to say:
>
> if True == l_init
>
> it is suggested you simply say:
>
> if l_init:
>
> Reme
Larry Bates wrote:
> Philippe Martin wrote:
>> Hi,
>>
>> This code works, but is it "appropriate" ?
>>
>> l_init = False
>>
>> if True == l_init and 1234 = l_value:
>> print 'l_value is initialized'
>>
>&
"Philippe Martin" schrieb
> Hi,
>
> This code works, but is it "appropriate" ?
>
> l_init = False
>
> if True == l_init and 1234 = l_value:
> print 'l_value is initialized'
>
> I know I can do this with a try but ...
>
I am a P
bruno at modulix wrote:
> Philippe Martin wrote:
> (snip)
>>
>> l_init really is a boolean parameter and l_value a value that _might_
>> exist in a shelve.
>>
>> So I just want to have a parameter to a method so if the first value
>> tested is false (
Benji York wrote:
> D wrote:
>> Is it possible to have Python authenticate with Active Directory?
>> Specifically what I'd like to do is have a user enter a
>> username/password, then have Python check the credentials with AD - if
>> what they entered is valid, for example, it returns a 1, otherwi
bruno at modulix wrote:
> Philippe Martin wrote:
>> bruno at modulix wrote:
>>
>>
>>>Philippe Martin wrote:
>>>(snip)
>>>
>>>>l_init really is a boolean parameter and l_value a value that _might_
>>>>exist in a shelve.
Fredrik Lundh wrote:
> Philippe Martin wrote:
>
>> l_init really is a boolean parameter and l_value a value that _might_
>> exist in a shelve.
>>
>> So I just want to have a parameter to a method so if the first value
>> tested is false (l_init) then the
Through Wine maybe ?
Philippe
Dennis Lee Bieber wrote:
> On 4 May 2006 09:57:15 -0700, [EMAIL PROTECTED] declaimed the
> following in comp.lang.python:
>
>> I am using python on a linux terminal.
>>
>> I want to shutdown a remote windows box. I found a script which does
>> something like this
Xiao Jianfeng wrote:
> Tim N. van der Leeuw wrote:
>> Your question is insufficiently clear for me to answer.
>>
>> Do you want to know how to read from standard-input in a Python
>> program?
>>
>> Do you want to know how to start an external program from Python, and
>> then connect something to t
[EMAIL PROTECTED] wrote:
>
> Hello together !!
>
> I have programmed a List Control and I introduced information in several
> rows. What I want to do is, modify this information when i select a row
> and press a button.
> There two options:
> - when i do this, a window appears and asks me to
Looking at their flash demo made me want to try it, but after all
dependencies installed, I get "Fatal Python error: can't initialise module
gtksourceview Aborted (core dumped)"
Is it stable ?
Philippe
mystilleef wrote:
> The powerful no-nonsense, no-frills, no-hassle, no-fuzz editor,
> S
Hi,
Are there any (even prototypes/proof of concept) gdm/kdm/xdm.../-style
packages written in Python ?
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
7;t decorating / wrapping usually
done at runtime, so that the @deco notation is pretty
useless (because you'd have to change the original
code)?
What do I miss here?
Martin
--
http://mail.python.org/mailman/listinfo/python-list
"Sybren Stuvel" schrieb
> Martin Blume enlightened us with:
Don't know if I enlightened anybody ... :-)
> > Another question: Isn't decorating / wrapping
> > usually done at runtime, so that the @deco
> > notation is pretty useless (because y
nal function)?
> It's not for module client code (but this of
> course doesn't prevent client code to dynamically
> add other wrappers...)
>
How do the clients it? The "oldfashioned"
deco(doSillyWalk)
way?
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> is much more readable than:
> def my_one_hundred_locs_func():
> ...
> # 100 LOCS later
> my_one_hundred_locs_func = decorator (my_one_hundred_locs_func)
>
That makes sense.
>
> Note that all this should be clear for anyone having
> read the doc...
>
Errm, yes, you're so right.
Thanks for reading the documentation to me
and clearing this up :-)
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Philippe Martin wrote:
> Hi,
>
> Are there any (even prototypes/proof of concept) gdm/kdm/xdm.../-style
> packages written in Python ?
>
> Regards,
>
> Philippe
I guess to further define my problem:
I am looking for clues as to how to launch an X11 session (remo
"bruno at modulix" schrieb
>
> [lucid introduction into decorators]
>
Thanks for the help in understanding decorators.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
>>You can get Python sources from python.org
>
> I'm unable to locate a source file brings that will work with WinZip.
> Can anybody please point me to the exact URL that will get me to the
> source code? but it it is tar ball format or a gzip format, than that
> will wor
John Machin wrote:
>> http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tar.bz2
>
> And the reason for posting that would be what? WinZip doesn't support
> bzip2 compression.
>
> http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tgz (a gzipped tar
> file) is what the OP would be better point
John Salerno wrote:
> Since the connect method of mysqldb requires a database name, it seems
> like you can't use it without having a database already created. So is
> there a way to connect to your mysql server (without a specified
> database) in order to create a new database (i.e., the CREATE D
Xah Lee wrote:
> Software Needs Philosophers
>
> by Steve Yegge, 2006-04-15.
>
> Software needs philosophers.
>
> This thought has been nagging at me for a year now, and recently it's
> been growing like a tumor. One that plenty of folks on the 'net would
> love to see kill me.
>
> People don'
uSE Linux 10.1 on Intel.
Any help would be much appreciated.
Thanks, Martin.
[EMAIL PROTECTED]:~> ldd /usr/local/debug/lib/python2.4/lib-dynload/readline.so
linux-gate.so.1 => (0xe000)
libreadline.so.5 => /lib/libreadline.so.5 (0xb7edd000)
libncursesw.
Mike Kent wrote:
> If anyone is successfully compiling Pyton 2.3 on an SCO OpenServer 5
> box, I'd appreciate hearing from you on how you managed to do it. So
> far, I'm unable to get a python that doesn't coredump.
>
Hey, I remember trying to compile Python 1.5 on an SCO OpenServer 5 box
back
look at the .deb developer documentation.
Again, for simple programs, just copying the .py file
is sufficient, provided that Python (and all the modules
your .py needs) is installed.
HTH
Martin
--
http://mail.python.org/mailman/listinfo/python-list
topic?
thanks and sorry for OT posting
martin
--
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours
--
http://mail.python.org/mailman/listinfo/python-list
ou have to adapt it to be able to match more than a single word
> If python in Linux accepts lines beginning with # as comment lines, please
> also a script to comment lines containing a specific word, or words, and
> back, to remove #.
yes lines starting with a "#" are comment
raise Exception("Can't uncomment Line with no comment")
You want to read up about:
* (new style) classes
* parameters with default values
* docstrings
* Exceptions
That code is untested and may contain errors. I
[EMAIL PROTECTED] wrote:
> The best thing about Python is ___.
it's pythonicness.
--
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 required to urinate publicly. Thank you.
--
On Monday 07 January 2008 21:25 Dustan wrote:
> On Jan 7, 11:40 am, Martin Marcher <[EMAIL PROTECTED]> wrote:
>> it's pythonicness.
>
> "it is pythonicness"???
not all here are native english speakers, but thanks for the correction.
I&
What am I doing wrong in this code? The callback doesn't work from the Entry
widget.
##start code
import Tkinter
tk = Tkinter.Tk()
var = Tkinter.StringVar()
print var._name
def cb(name, index, mode):
print "callback called with name=%r, index=%r, mode=%r" % (name, index, mode)
varValue =
-string')
> if has_match > 0:
> print 'Found in line %d' % (line_nr)
>
> Something to this effect.
apart from that look at the linecache module. If it's a big file it could
help you with subsequent access to the line in question
hth
martin
--
http://no
jo3c wrote:
> i need to read line 4 from a header file
http://docs.python.org/lib/module-linecache.html
~/2delete $ cat data.txt
L1
L2
L3
L4
~/2delete $ python
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "
ath.join(Host_Path, outfile)
>> > outfile = open(filename, 'w')
files = dict()
l = ['messages', 'recipients', 'viruses']
for f in l:
files[f] = open(s.path.join(Host_Path, outfile), "w")
files["messages].write("a string&q
Fredrik Lundh wrote:
> Martin Marcher wrote:
>
>>> i need to read line 4 from a header file
>>
>> http://docs.python.org/lib/module-linecache.html
>
> I guess you missed the "using linecache will crash my computer due to
> memory loading, because i a
On 1/7/08, Guilherme Polo <[EMAIL PROTECTED]> wrote:
> 2008/1/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > Anything written somewhere that's thorough? Any code body that should
> > serve as a reference?
>
> PEP 8
> http://www.python.org/dev/peps/pep-0008/
The problem with PEP 8 is that even code
Thank you for your replies. I understand there are better ways to handle
'normal' UI behavior, but I was curious about the trace feature and wanted to
understand how it worked. I may not actually need it in my project, but I
wanted to see what my options were.
Thanks again.
y don't have
>> to be Latin-1 (e.g. the sushi types file might not have a
>> lot of romanji).
Are you asking for
class SushiList(object):
types = [sushi1, sushi2, sushi3, ...]
I don't quite get that, any reference to the original discussion?
/martin
--
http://noneis
John wrote:
> import time
> s = '.'
> print 'working', # Note the "," at the end of the line
> while True:
> print s
> time.sleep(1)
see my comment in the code above...
if that's what you mean
/martin
--
http://noneisyours.marcher.
nd to mention the main use cases for test classes (especially) and also
a "human readable" description of what can happen (forgive me the missing
line breaks). Something like this:
class Test3(ar_test.AR_TEST):
"""Temperature Sense Test.
This class assures that th
ite sure how your question is related to
python. You might want to try a mailinglist specific to your problem...
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 required t
) In real life can I consider (on linux) that an installation of python
includes the sqlite stuff?
thanks
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 required to urinate
On Saturday 12 January 2008 21:34 Martin Marcher wrote:
> a) Is sqlite included in the python default distribution
> b) In real life can I consider (on linux) that an installation of python
> includes the sqlite stuff?
forgive my that was pebcack. I wasn't reading the docs fully
() for i in map_range])
self.map = self.map.reshape(dimensions)
mymap = Map((100, 100, 100))
mymap[10:20,15:20,:] # This line should work afterwards
Thanks in advance
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 13 Jan 2008 16:03:16 -0600
Robert Kern <[EMAIL PROTECTED]> wrote:
> Martin Manns wrote:
> > Hi,
> >
> > I have created a class that wraps a numpy array of custom objects. I
> > would like to be able to slice respective objects (without copying
> >
lp(dict.iteritems), help(dict.has_key))
(Note that for
if a_dict.has_key("def"): pass
one can also write
if "def" in a_dict: pass
but you won't find this in the simple on-line help,
at least in my version)
HTH
Martin
--
http://mail.python.org/mailman/listinfo/python-list
t;
I think this has to do with
http://docs.python.org/tut/node6.html#SECTION00671
especially the "Important Warning"
Regards
Martin
--
http://mail.python.org/mailman/listinfo/python-list
il is entirely up to the receiving mailserver and cannot
be tempered with without risking misdelivery (at least). If I'm wrong I'd
be gladly corrected, just point me to the references.
/martin
--
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours
You are not free
On Jan 20, 2008 8:58 PM, Martin Marcher <[EMAIL PROTECTED]> wrote:
> are you saying that when i have 2 gmail addresses
>
> "[EMAIL PROTECTED]" and
> "[EMAIL PROTECTED]"
>
> they are actually treated the same? That is plain wrong and would break a
>
801 - 900 of 3873 matches
Mail list logo