modules seem to accept
them anyway.
Regards,
Torsten.
--
Torsten Bronger
--
https://mail.python.org/mailman/listinfo/python-list
quot;/home/bronger/.saves"))
print("scandir:", time.time() - start)
yields
listdir: 0.045470237731933594
scandir: 0.08043360710144043
However, scandir is supposed to be faster than listdir. Why do I
see this?
Tschö,
Torsten.
--
Torsten Bronger
--
https://mail.python.org/mailman/listinfo/python-list
is year and
made by John”
- export to spreadsheets
- automatic lab notebooks
- server interaction with other programs through an HTTP/JSON interface
JuliaBase's sources include an "example institute" that programmers
can use as a starting point.
--
Torsten BrongerJabber ID: t
much doubt).
>
> Now, _that's_ funny. This is the internet. If you can't stand the
> heat get out of the kitchen.
Now, _that's_ funny. This is the internet. If you can't stand people
who can't stand the heat get out of the kitchen.
Tschö,
Torsten.
Hallöchen!
Torsten Bronger writes:
> Alan Bawden writes:
>
>> [...]
>>
>> You lost me right here. If list equality is determined by
>> comparing lists element-by-element, and the second element of old
>> is _not_ equal to the second element of data, then
on first tests for identity, and falls back to equality
(or the other way round). This behaviour is questionable in my
opinion.
Tschö,
Torsten.
--
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de
or http://bronger-jmp.appspot.com
--
https://mail.
Xah Lee wrote:
> So, is programing a art or science? is it art or science? I really
> need to know.
Sience? Almost never.
It's handcraft.
Seldom, in very rare cases, it's true art for a very limited audience,
mostly it's routine, and in many cases it's also idiocy.
T.M.
--
http://mail.python
sting code.
If you now say "Torsten, unfortunately it *is* so complicated" I'll
jump through the hoops, but I'd love to hear that with Python 2.6.5
there's an easier way. ;-)
Tschö,
Torsten.
--
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de
gh its
> UNO interface; but, I find that much more involved then simply accessing
> the files directly.
Thanks, i read about it but as i understood it, UNO needs Python 2.3.x and
i'd like to base on something actual.
Best regards,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
i search for a possibility to access OpenOffoce SpreadSheets from Python
with a reasonably new version of Python.
Can anybody point me to a package that can do this?
Best regards,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
Keith Thompson schrieb:
>>> print c # floating point accuracy aside
299792458.0 m/s
Actually, the speed of light is exactly 299792458.0 m/s by
definition.
Yes, but just in vacuum.
Greetings,
Torsten
--
http://www.dddbl.de - ein Datenbank-Layer, der die Arbeit mit 8
vers
out what i need to call? I haven't found much in
the documentation. From writing C extensions i knew about the "new" entry
in the PyTypeObject struct but it seems there's more behind it.
In docs.python.org i did not find much, is there an URL where i can read
more?
Best regards,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
class and then call array's __getitem__.
How do i best derive from array.array?
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
t?
Can i do this using just modules from the python library?
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
n Python?
The references only need to refer to entries in this structure.
The lists may change at runtime (entries removed / added), so
storing the index may not help.
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
,
wenn z.B. aus einer list() ein Eintrag gelöscht wird.
Der nachfolgende Eintrag würde dann nachrücken und sich damit sein
Index ändern.
Wie könnte ich in so einer verschachtelten Struktur Referenzen abbilden?
Viele Grüße,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
l items in that list, which is not happening
in the example above.
The conditions in the example are not real but much more complex
in reality.
Can anybody tell me how to do this?
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
hanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
ent
import measurement.adc
import measurement.adc.channels
import measurement.pwm
What do i need to do to create submodules within the initialisation code
of a python module written in C?
Maybe there is an example based on "noddy"?
Thanks for any hints,
Torsten.
--
http://mail.python.org/mai
Hallöchen!
Stefan Behnel writes:
> Torsten Bronger wrote:
>
>> Stefan Behnel writes:
>>
>>> Torsten Bronger wrote:
>>>
>>>> [...]
>>>>
>>>> My problem is that if there is only ASCII, these methods return
>>>>
Hallöchen!
Stefan Behnel writes:
> Torsten Bronger wrote:
>
>> [...]
>>
>> My problem is that if there is only ASCII, these methods return
>> ordinary strings instead of unicode. So sometimes I get str,
>> sometimes I get unicode. Can one change this
er the first style
> over the second?
I think that tools like epydoc can generate more accurate API
documentation if you write them as instance attributes.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: torsten.bron...@jabber.rwth-aachen.de
--
http://ma
s instead of unicode. So sometimes I get str,
sometimes I get unicode. Can one change this globally so that they
only return unicode?
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: torsten.bron...@jabber.rwth-aachen.de
--
http://mail.python.org/mailman/listinfo/python-list
ion?
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
27;extension')
>>
>> sys.path.append(here)
>> sys.path.append(mpath)
>>
>> FILE mymodule/__init__.py:
>
> So mymodule is actually a package. Packages should *not* appear in
> sys.path.
Oh, how does it find modules then? I thought that would be PYTHONPATH or
sys.path ?
Best regards,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
here works but gives a warning:
RuntimeWarning: Parent module 'ext_abc' not found while handling absolute import
Below are the files, i wonder what is wrong.
It would be great if anybody could give me a hint, what provokes that
warning?
Best regards,
Torsten.
FILE psys.
Thanks for that hint. Do you see a way that i could write in circle.py:
circle.py:
import graphic
class Circle(graphic.GraphicObject):
.
if __name__ == '__main__':
abc = Circle()
abc.some_test_code()
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
m.
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
.py is in the same directory as qwe.py ?
I'd like to keep the tests for qwe.py within qwe.py, the code that i want to
execute when i directly execute qwe.py and then:
if __name__ == '__main__':
some_test_code()
Or do i need to write an external test code?
Thanks for any
on language
and preferred would be just standard modules. Is there something
available that is maybe based on shlex?
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
>> I wonder how i can make AClass() known in that package.
>>
>
> Why don't you put the contents of smod1.py in mod/smod1/__init__.py?
> It'll work this way.
Of course, thanks for that hint.
Best regards,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
AClass() known in that package.
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
> If i call it without any parameters i get:
>
> opts {'verb': 'store_false'}
> args []
If i call it with parameter -v i get:
./script.py -v
opts {'verb': True}
args []
I wonder what's wrong here.
Best regards,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
e'}
args []
I would rather like to see the actual value False in "opts",
did i use some wrong parameters somewhere? I can't imagine
that this is the wanted behaviour of optparse.
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
.a
a = C2(7)
a.fct()
Best regards,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
elf):
print self.a
a = C2(7)
a.fct()
This way __new__ is not called, if i remove __init__ then
there are too many parameters to __new__, if i add a parameter
to __new__ then it says that __new__ does not take arguments.
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
Hallöchen!
Terry Reedy writes:
> Torsten Bronger wrote:
>
>> D'Arcy J.M. Cain writes:
>>
>>> On Sat, 26 Jul 2008 09:45:21 +0200
>>> Torsten Bronger <[EMAIL PROTECTED]> wrote:
>>>
>>>> Of course, "self" would have to be
Hallöchen!
Terry Reedy writes:
> Torsten Bronger wrote:
>
>> Terry Reedy writes:
>>
>>> [...]
>>>
>>> Or the proposal would have to be that 'self' is mandatory for
>>> all programmers in all languages. I think *that* would be
>
Hallöchen!
Kay Schluehr writes:
> On 26 Jul., 09:45, Torsten Bronger <[EMAIL PROTECTED]>
> wrote:
>>
>> Terry Reedy writes:
>>
>>> [...]
>>>
>>> Or the proposal would have to be that 'self' is mandatory for
>>> all progr
Hallöchen!
D'Arcy J.M. Cain writes:
> On Sat, 26 Jul 2008 16:25:18 +0200
> Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>>> Isn't this a showstopper all by itself?
>>
>> Yes. But I've seen no code that uses some other word. Emacs'
>&g
Hallöchen!
D'Arcy J.M. Cain writes:
> On Sat, 26 Jul 2008 09:45:21 +0200
> Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>> Of course, "self" would have to become a reserved word. You
>> could say that this may break some code, but I don't see much
od
> def sfoo(arg):
> print arg
See <news:[EMAIL PROTECTED]>. It is only added
to non-decorated methods within a class. This implies that you can
switch this mechanism off with a noop decorator.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
hey want instead of the 'self' version. And
> again, not everyone writes in English.
Of course, "self" would have to become a reserved word. You could
say that this may break some code, but I don't see much freedom
removed from the language. After all, being a Germ
Hallöchen!
Sebastian \"lunar\" Wiesner writes:
> Torsten Bronger <[EMAIL PROTECTED]>:
>
>> Bruno Desthuilliers writes:
>>
>>> Torsten Bronger a écrit :
>>>
>>>> Bruno Desthuilliers writes:
>>>>
>>>> [...]
Hallöchen!
Bruno Desthuilliers writes:
> Torsten Bronger a écrit :
>
>> Bruno Desthuilliers writes:
>>
>>> [...]
>>>
>>> How would you handle this case with an implicit 'self' :
>>>
>>> class Foo(object):
>>>p
Hallöchen!
Bruno Desthuilliers writes:
> Torsten Bronger a écrit :
>
>> Kay Schluehr writes:
>>
>>> On 24 Jul., 11:40, Torsten Bronger <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>> [...] Just like this. However, the compiler could ad
Hallöchen!
Kay Schluehr writes:
> On 24 Jul., 11:40, Torsten Bronger <[EMAIL PROTECTED]>
> wrote:
>>
>> Bruno Desthuilliers writes:
>>
>>> [...]
>>>
>>> How would you handle this case with an implicit 'self' :
>>>
self" to
non-decorated methods which are defined within "class".
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Hallöchen!
Bruno Desthuilliers writes:
> Torsten Bronger a écrit :
>
>> [EMAIL PROTECTED] writes:
>>
>>> On 16 juil, 10:35, Stefan Scholl <[EMAIL PROTECTED]> wrote:
>>>
>>>> Dave U. Random <[EMAIL PROTECTED]> wrote:
>>>>
d copy my data.
Is there a way to tell python to:
1. let python create a PyString with an allocated buffer
2. let my extension module fill the buffer
3. let python validate the strings hash value and whatever else is
necessary?
Thanks for any hints,
Torsten.
--
http://mail.python.org/mailman/listinfo/python-list
27;s policy is that "1.0"
equals "API is frozen". And I consider publishing a book four
months before the API is polished bad timing, too. Especially
because Django is exquisitely documented on its webpage, so there is
no urgent need for it.
I thought about buying a Django book, too
until everything is fully loaded -- for example, by wrapping the
access in a function which is called from the main program.
On the other hand, the above code was for debugging purposes I
assume. So maybe there's no real problem anyway because all your
uses of module b are wrap
Hallöchen!
Grant Edwards writes:
> On 2008-06-14, Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>>> You're saying that having the user or-together a bunch of
>>> bitmasks and pass the result as an integer is a common way for
>>> Python functions/obj
Hallöchen!
Grant Edwards writes:
> On 2008-06-14, Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>>> [...]
>>>
>>> IMO, a few of the "un-Pythonic" things about wxPython are:
>>>
>>> 1) Window ID numbers.
>>
>> Whe
matter of taste.
I don't think that because you didn't find sizers convenient, or
some parts too explicit, you can say that wxWidgets is un-Pythonic.
I rather have the impression that you like terseness, which is
totally okay but a different thing.
I agree that changing the naming con
on names as strings is also a wart, and *I*
have simply never understood signal and slots. Maybe we should
accept that there is no silver bullet in GUI toolkits, and any
personal preferences amongst the Big Four are just a matter of
taste. This "un-Pythonic" thing is arbitrary and u
Hallöchen!
Grant Edwards writes:
> On 2008-05-30, Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>> Duncan Booth writes:
>>
>>> [...]
>>>
>>> I don't understand your problem: it's just a single thread so
>>> killfile or skip i
Hallöchen!
Duncan Booth writes:
> [...]
>
> I don't understand your problem: it's just a single thread so
> killfile or skip it.
Although I agree with you that there is no problem, *this* is not a
good justification for this thread. One should stay on topic in
*every* t
torontolife.com is exactly as fast as Wikipedia.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
ement results. But
people simply don't trust cheap non-point'n'click programs which
don't occupy two shelves in the bookstore.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See
urce of python also uses
> goto at tons of places. Is that Arf! too?
In the hands of a skilled person who really knows what he/she does,
it can be a useful statement. But this collides with the goals of
FT, which claims to be simple to use. Besides, the above use case
for a goto is
ming Thunder itself is not free software, is it?
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
> and those awkwardnesses are already getting fixed. The
> difference: I can't afford to ignore users.
Really, the Python developers listen *very* carefully what the users
want. Of course, the response time in Python is months rather than
days, which has turned out to be a good t
languages (Java, C# come to mind.) I'm
> afraid that if I never use them I'll lose them and when I need them
> for something beside Python, I'll be lost. Thank you.
See also http://www.python.org/dev/peps/pep-3119/
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
; What you wrote is nonsensical there, no different from 'a' + 1 --
> which is why it quite rightly raises a TypeError.
No, the above expression should yield ''+'abc'+'efg', look for the
signature of sum in the docs.
Tschö,
Torsten.
--
Torsten Bronge
to Usenet. Welcome here. ;-)
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
Hallöchen!
D'Arcy J.M. Cain writes:
> On Fri, 02 May 2008 16:26:51 +0200
> Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>>> Certainly #! /usr/bin/python is fine if you never expect your
>>> software to run outside of your own little corner of the world
>&
env version and the answer is that
> we want to write software that runs everywhere that Python runs.
Granted, but you must draw the line somewhere anyway. I cannot
pollute my program with hundreds of if clauses just to make it work
on every quirky system. It's the *systems* where the s
Hallöchen!
Ivan Illarionov writes:
> On Fri, 02 May 2008 01:21:38 +0200, Torsten Bronger wrote:
>
>> [...]
>>
>> In contrast to many other areas of software, configuration files
>> needn't be compatible with anything except the user's brain. So
>
in. So
even if the rest of the world uses config format X, you can safely
stick with config format Y.
I mean, YAML is not really a complex thing, yet it was conceived not
before 2001. The reason is that traditional config files do a good
job.
Tschö,
Torsten.
--
n.key=value scheme so anything else would be
overkill.
Besides, YAML adds another dependency.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
Hallöchen!
Christian Heimes writes:
> Torsten Bronger schrieb:
>
>> How can I authorise to the Python Cheese Shop in order to use
>> setup.py upload? Currently, I get
>>
>> Upload failed (401): You must be identified to edit package
>> information
>
>
Hallöchen!
How can I authorise to the Python Cheese Shop in order to use
setup.py upload? Currently, I get
Upload failed (401): You must be identified to edit package information
Thanks!
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
No module named S".
>>
>> >> A silly question: is the directory that contains "S" in PYTHONPATH or
>> >> in sys.path?
>>
>> > It's in sys.path.
>>
>> "S" or its parent directory?
>
> I added r'C:\
t;>
>> > from S import p
>>
>> > in u.py Python gives "ImportError: No module named S".
>>
>> A silly question: is the directory that contains "S" in PYTHONPATH or
>> in sys.path?
>
> It's in sys.path.
"S" or its parent directory?
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
gt; sys.path, but when I execute
>
> from S import p
>
> in u.py Python gives "ImportError: No module named S".
I didn't look it up myself, but maybe a __init__.py file is missing
so that it can be recognised as a package.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, e
sing related
> method/functionality to a general purpose sequence type.
Okay, my wording was unfortunate. However, I've already twice
(before and after the above posting of mine) said what I mean,
namely join(list, separator), possibly with a default value for
"separator".
Tschö,
Torsten.
Hallöchen!
Marco Mariani writes:
> Torsten Bronger wrote:
>
>> However, join() is really bizarre. The list rather than the
>> separator should be the leading actor.
>
> No, because join must work with _any sequence_, and there is no
> "sequence" type to put
Hallöchen!
Duncan Booth writes:
> Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>> The biggest ugliness though is ",".join(). No idea why this should
>> be better than join(list, separator=" "). Besides, ",".join(u"x")
>&
s were chosen? Just curious
*Maybe* for aesthetical reasons. I find ord(c) more pleasent for
the eye. YMMV.
The biggest ugliness though is ",".join(). No idea why this should
be better than join(list, separator=" "). Besides, ",".join(u"x")
yields an unico
something printable is a
quite ugly kludge anyway in my opinion, so it needn't special
support.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.
Hallöchen!
Russell E. Owen writes:
> Torsten Bronger <[EMAIL PROTECTED]> wrote:
>
>> Russell E. Owen writes:
>>
>>> [...]
>>>
>>> So...to repeat the original question, is there any simpler
>>> unicode-safe replacement for str(exc
Hallöchen!
Russell E. Owen writes:
> [...]
>
> So...to repeat the original question, is there any simpler
> unicode-safe replacement for str(exception)?
Please show us the tracebacks you get becuae unicode(s) must fail,
too, if there are non-ASCII characters involved.
Ts
Path:
uni-berlin.de!fu-berlin.de!postnews.google.com!f63g2000hsf.googlegroups.com!not-for-mail
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Newsgroups: comp.lang.python
Subject: the pink patch
Date: Mon, 28 Apr 2008 00:52:20 -0700 (PDT)
Lines: 10
Organization: http://groups.google.com
N
noying IMHO.
My formulation was unfortunate. What doesn't work (at least for me)
is something like
"""This is a docstring in which some "variables" are quoted."""
Here, "variables" doesn't seem to belong to the docstring for
python-mode.
quot;
prefixes?), and it ends multi-line strings at single quotes. That's
bad.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
one of those who accept high amounts of false positives
in their anti-spam strategy.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
content of the files.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
t; things.
By the way, why does mailman change the Message-IDs when tunneling
postings to the newsgroup? This destroys the thread structure.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See h
at code that doesn't use stack frames nor stores
> references to exception objects/tracebacks is safe?
Circular referencing is no leaking on the C level but in a way it is
memory leaking, too.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
dy has thought of it
>>> before. [...]
>>
>> If I were you I would keep it a secret until a Hollywood producer
>> offers big bucks for the film rights.
>
> Who would play Guido, I wonder?
Ralf Möller. No other.
Tschö,
Torsten.
--
Torsten Bronger, aquisgr
sting. It was sent through the mailing
list.
By the way, the "References:" header seems to get lost sometimes
through the mailing list when reading it as a Usenet group, so that
the discussion trees become a mess.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Hallöchen!
Steve Holden writes:
> Torsten Bronger wrote:
>
>> [...]
>>
>> The admistrative overhead of mailing lists is tedious.
>> Fortunately, most important computer-related lists are on
>> gmane.org. We could list c.l.py there, too. ;-)
>
&
Hallöchen!
Michael Torrie writes:
> Torsten Bronger wrote:
>
>> The admistrative overhead of mailing lists is tedious.
>> Fortunately, most important computer-related lists are on
>> gmane.org. We could list c.l.py there, too. ;-)
>
> Running a few lists mys
it's much better since list
> subscription can actually be controlled by someone.
The admistrative overhead of mailing lists is tedious. Fortunately,
most important computer-related lists are on gmane.org. We could
list c.l.py there, too. ;-)
Tschö,
Torsten.
--
Torsten Br
;> Object Pascal/Delphi == the hobbyist/beginner's toolkit
>
> I'm pretty sure that there are more professional software products
> written in Delphi than in wxPython.
Certainly.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list
now. They tweaked it a little in recent years and it is
reasonable pythonic now. It still has its warts, but Qt definitely
has them, too. If you want to have it clean, you must climb up to
another level of abstraction (Dabo, Wax etc). I wouldn't do this
because it gets slowe
...]
> - WxPython is terribly unstable.
I can't confirm that. When I chose wxPython after thorough
consideration one year ago, my impression was that reports of
instability were indeed frequent but rather old. Apparently, the
situation had improved. Does your experience rely
os.path
rootpath = os.path.split(os.path.dirname(os.path.abspath(__file__)))[0]
sys.path.append(rootpath)
in order to be able to import the source modules. I surely have
missed something because this is only a workaround solution. Thanks
for any hints!
Tschö,
Torsten.
--
Torsten Bronger, aqui
moduleY
File "/home/bronger/temp/packages-test/package/moduleY.py", line 1, in
from . import moduleX
ImportError: cannot import name moduleX
If I turn the relative imports to absolute ones, it works. But I'd
prefer the relative notation for intra-package imports.
1 - 100 of 327 matches
Mail list logo