On 11.09.2013 23:15, Ethan Furman wrote:
> On 09/11/2013 01:41 PM, Markus Rother wrote:
>> >>> () == []
>> False
>>
>> But:
>>
>> >>> bool(().__eq__([]))
>> True
>
> This is not a trap, this is simply
On 12.09.2013 01:27, Chris Angelico wrote:
> On Thu, Sep 12, 2013 at 6:41 AM, Markus Rother wrote:
>> 3. The default return value of methods is None instead of self.
>> If it was self, it would be possible to chain method calls (which
>> is called a
ny questions and comments, please contact the
[Mailing List](https://lists.sourceforge.net/lists/listinfo/registry-list)
the issue tracker [on github](http://git.libelektra.org/issues)
or by mail [email protected].
[Permalink to this NEWS
entry](http://doc.libelektra.org/news/3c00a5f1-c017-4555-
u can download the release at:
http://www.markus-raab.org/ftp/elektra/releases/elektra-0.8.6.tar.gz
md5sum: 4a59824e70a29295e9ef9ae7605d9299
Make sure to enable BUILD_SWIG and BUILD_SWIG_PYTHON.
Docu (C/C++) can be found here:
http://doc.libelektra.org/api/0.8.6/html/
best regards,
Markus
--
d5sum: 4996df62942791373b192c793d912b4c
Make sure to enable BUILD_SWIG and BUILD_SWIG_PYTHON2 or BUILD_SWIG_PYTHON3.
Docu (C/C++) can be found here:
http://doc.libelektra.org/api/0.8.7/html/
Best regards,
Markus
--
https://mail.python.org/mailman/listinfo/python-list
ect()
print "The End"
#-
for i in range(5):
t = ThreadUrl(queue)
t.setDaemon(True)
t.start()
#Fill the queue
for single_query in multi_query:
queue.put(single_query)
#Wait until query is empty a
Python section)
http://www.daniweb.com/techtalkforums/
http://www.python-forum.de (a german one)
Regards, Markus
--
http://mail.python.org/mailman/listinfo/python-list
ze() is an undefined reference.
My question to you: How can I change it so that the compiler sees that the
function call is defined?
Thanks in advance,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
n
> Py_Initialize() is an undefined reference.
>
> My question to you: How can I change it so that the compiler sees that the
> function call is defined?
Hi guys,
no need to reply, I solved it. This issue is simply due to a linker
statement... I need to link the according python2.3 lib
wo items)
Thanks in advance.
Best regards,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
ng this?
Hi!
Fredrik Lundh's ValidateEntry might be what you want.
http://tkinter.unpythonic.net/wiki/ValidateEntry
Regards, Markus
--
http://mail.python.org/mailman/listinfo/python-list
). Zope
is flexible but a beast to learn. And, well...there are just so many
others. ;o) I'm still looking, myself...
Markus.
Tim Parkin wrote:
> Leeuw van der, Tim wrote:
>
>> I think that in general, I don't like the fact that links to
>> high-profile users a
Fredrik Lundh wrote:
> Tim Parkin wrote:
>
>> How about designing a website and showing us what you think would be a
>> good idea? Or suggesting some way of managing all of the content and
>> building the system.
>
> I think I just did that:
>
> the easiest way to get there would be to use
If you build it, they will come.
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> Markus Wankus wrote:
>
>> Well I happen to agree whole-heartedly with Tim on that one. I can't
>> stand trying to navigate some of these Wiki-trying-to-be-website pages.
>> It is impossible to find anything on most of them (notice I didn'
e, well, it has nothing to do with my script... :-P
>
> Any ideas?
>
> Thanks,
> Mike
I had segmentation faults on Mac, they were coming from a unpatched
readline 5.1
Once compiled with readline 5.2 it was working flawlessly
Regards,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
quot; item (in this way, you can go only with the keyboard).
Another way to run a module is right clicking the module in the navigator
and choosing python->run (when a .py file is selected).
Markus.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 07 Jul 2006 19:41:36 -0400, Luis M. González <[EMAIL PROTECTED]>
wrote:
.
.
> OK, so I should include the global only if I plan to modify it.
> Otherwise, I don't need to include it. Am I right?
>
Correct. Globals are always available to read from. You need to declare
them if you wan
On 2006-11-19 15:50:14 +0100, Thomas Ploch <[EMAIL PROTECTED]> said:
> Hello,
>
> I followed the instructions in the Mac/README file.
>
> I ran ./configure --enable-framework
>
> But when I try to build from source with gcc 4.0.2, following happens:
>
>
> [snip]
> libtool: can't locate file f
43 44 45 46 47 48 49 50
> 51 52 53 54 55 56 57 58 59 60
>
> How would I read this data from the file into a two dimensional array
> in Python?
In case you have imported pylab:
myarray = pylab.load('textfile.txt')
Regards
Markus
--
http://mail.python.org/mailman/listinfo/python-list
f)) (fib
200)", V))).
==> 20,509 inferences, 0.02 CPU in 0.01 seconds (239% CPU, 1025450 Lips)
V = [fib, 280571172992510140037611932413038677189525] ;
Showing "eval" and "map":
?- run("(defun map (f xs) (if (equal xs '()) '() (cons (eval (list f (car
xs))) (map f (cdr xs) (defun plus1 (x) (+ 1 x)) (map 'plus1 '(1 2 3))", Vs).
==> Vs = [map, plus1, [2, 3, 4]] ;
Prolog's analogon to Lisp's macros is term_expansion/2 by the way.
All the best!
Markus Triska
--
http://mail.python.org/mailman/listinfo/python-list
John Salerno wrote:
> Yes, silly question, but it keeps me up at night. :)
>
> I know it comes from the suffix -tuple, which makes me think it's
> pronounced as 'toople', but I've seen (at m-w.com) that the first
> pronunciation option is 'tuhple', so I wasn't sure. Maybe it's both, but
> whic
ack this. Is
> this correct?
No. Well, I think you can't do it with print, but you can do this:
import sys
import time
signs = "|/-\\"
while 1:
for i in signs:
sys.stdout.write(i+"\r")
sys.stdout.flush()
time.sleep(0.2)
Regards, Markus
--
ns without any problem and it goes very well
If you speak German, there is a forum at www.python-forum.de .
There is also an english one at http://python-forum.org/py/index.php,
but as you can see, there's not much traffic :-/
Regards, Markus
--
http://mail.python.org/mailman/listinfo/python-list
.cpu, 0.30)
???
Thank.
Markus
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
If you press a key, a key-event is passed to the function, here to
self.quit. This is the misterious second argument, which can be
useful if you e.g. want to check which key was pressed. Here is
a snippet to show how you can do it:
from Tkinter import *
def quit_program(event):
print
StringIO(a)
Traceback (most recent call last):
File "", line 1, in
TypeError: expected a character buffer object
--->%---
Has this change been done on purpose or is it a regression?
If it's not a regression, is there another way to feed an array to
cStringIO without expensive conversion?
TIA, Markus
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy wrote:
> "Markus Schöpflin" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> | Hello,
> |
> | I just stumbled accross a difference between cStringIO in Python 2.4
> | and 2.5. You can no longer feed arrays to cStringIO.
> [snip]
>
Markus Schöpflin wrote:
[...]
> I think I'll file a bug at SF... maybe someone else will spot something.
Should have checked the bugtracker first... it was reported the day
after my original post:
http://sourceforge.net/tracker/index.php?func=detail&aid=1730114&group_id=5470&
numbers located like this
http://www.fliesen-niemann.de/img/upload/800px-Telephone-modele-W48.jpg,
so dialing e.g. 7 resulted in 7 impulses.
It would be nice, if the telephone type could be configured in the
menu of the game.
Kind regards,
Markus
--
http://mail.python.org/mailman/listinfo/python
[EMAIL PROTECTED] writes:
> Also some flavours of Prolog, as descrived in the classic book by
op/3 is part of the Prolog ISO standard:
http://pauillac.inria.fr/~deransar/prolog/bips.html#operators
so every compliant implementation has it.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I'm trying to link python statically with qt and pyqt. I've tried this in
several ways but never succeeded. At the moment the final make runs without
errors but I get import errors when accessing pyqt.
How can I solve this problem?
Markus
# installing zipimport hook
import
able is too small and the qt symbols are not known by it.
How can I just link qt statically?
Thank you.
Markus
--
http://mail.python.org/mailman/listinfo/python-list
least python and qt. How can this be done?
Of course a complete package with python, qt and pyqt would be the best
solution but there seem to be even more complications that way. If you can
help me with this I would be very grateful.
Thank you in advance.
Markus
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder? Wouldn't it be more clean to place it into
the Python installation folder beside the python.exe file?
Kind regards,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
On 23/12/2007, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
> > why does the Python installer on Windows put the Python DLL into the
> > Windows system32 folder?
>
> Are you sure it does?!
Yes.
Markus
--
http://mail.
On 23/12/2007, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Markus Gritsch wrote:
> > why does the Python installer on Windows put the Python DLL into the
> > Windows system32 folder? Wouldn't it be more clean to place it into
> > the Python installation f
On 24/12/2007, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
> > On 23/12/2007, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > > * Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
> > > > why does the Pyth
On 24/12/2007, Chris Mellon <[EMAIL PROTECTED]> wrote:
> On Dec 23, 2007 12:27 PM, Markus Gritsch <[EMAIL PROTECTED]> wrote:
> > On 23/12/2007, Christian Heimes <[EMAIL PROTECTED]> wrote:
> > > Markus Gritsch wrote:
> > > > why does the Python
ch easier when python24.dll is
> located there. That has to weigh in the equation.
Same doubts as above: For .py files to be executed it is not necessary
that the Python DLL is located in the Windows system32 folder.
Markus
--
http://mail.python.org/mailman/listinfo/python-list
/ms682586(VS.85).aspx), the
original Python DLL (compiled with MSVC 7.1) is used instead of your
own one.
Kind regards,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
On 24/12/2007, Markus Gritsch <[EMAIL PROTECTED]> wrote:
> On 24/12/2007, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > * Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
> > > On 23/12/2007, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > > > *
On 25/12/2007, Neil Hodgson <[EMAIL PROTECTED]> wrote:
> Markus Gritsch:
>
> > I assume that your Python applications are .py files. To be able to
> > run them it would be perfectly ok if the Python DLL would be located
> > beside the python.exe in the Python ins
On 26/12/2007, Lie Ryan <[EMAIL PROTECTED]> wrote:
>
>
> On Dec 25, 2007 4:43 PM, Markus Gritsch <[EMAIL PROTECTED]> wrote:
> > On 24/12/2007, Lie <[EMAIL PROTECTED]> wrote:
> > >
> > > (good programs are not DLL implementation specific
> >
king on the shortcut in the start menu, which sets the
CWD to the Python installation folder, it works also when Python is
installed "just for me".
Kind regards,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
from within
the browser. Watch the screencast at the Gluon homepage for a quick
overview.
Have fun,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 27, 11:38 am, "Riccardo T." <[EMAIL PROTECTED]> wrote:
> I wrote a little cheat sheet for this wonderful language, but because of
> my still little experience with it, I would like to have a feedback
> Could you have a look at it and tell me what do you think about, please?
>
> http://greyfo
Hi,
you should ask SQLObject related questions better at
"SQLObject discussion" <[EMAIL PROTECTED]>
Oleg Broytman and others are very helpful there.
Markus
--
http://mail.python.org/mailman/listinfo/python-list
()
wrapper.foo0() # calls wrapper.foo0() calls ppms.foo0()
Hopefully the idea is not to stupid.. ;)
Tnx for your help.
Markus
--
http://mail.python.org/mailman/listinfo/python-list
Wow.. :)
I think this is one kind of a stupid question.. ;)
Anyway.. thanks a lot.. :)
--
http://mail.python.org/mailman/listinfo/python-list
aphs sound quite negative. *I* like web2py
very much and am a happy user. I just fear that such examples will
not draw new users towards this great project. Maybe use a simple
example without Auth the next time, which is *really* complete and
fully functional.
Kind regards,
Markus
--
http://mail.python.org/mailman/listinfo/python-list
Great stuff!
Waiting for the 3.0 version.. :)
--
http://mail.python.org/mailman/listinfo/python-list
(using a generator)
L = [(1, 2), (3, 4, 5), (6, 7)]
g = ( ((e[0],None,e[1]) if len(e)==2 else (e[0],e[1],e[2])) for e in L)
for elem in g:
print elem
So long,
Markus
P.S: No, I don't consider that more readable than your example ;-)
--
"Hacking is like having sex: you get in, y
#x27;m also not exactly sure what you want to do.
i dont think its possible to switch the interpreter in case you import
your plugin as a module
best regards, markus
--
http://mail.python.org/mailman/listinfo/python-list
Best regards,
Markus
--
PGP/GPG key 0x2EB39BF9
--
--
PGP/GPG key 0x2EB39BF9
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch schrieb:
>
> By placing a __init__.py into project, and then
>
> import project.main
> import project.gui.mainwindow
>
>
> Diez
Ouch. Thanks.
Markus
--
PGP/GPG key 0x2EB39BF9
--
http://mail.python.org/mailman/listinfo/python-list
; scheme by now, didn't know
"as" was available as well. Perfect, that makes it a bit easier.
Thanks!
Markus
--
PGP/GPG key 0x2EB39BF9
--
http://mail.python.org/mailman/listinfo/python-list
where I should send this (and/or more) information to?
Best regards,
Markus
--
PGP/GPG key 0x2EB39BF9
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] schrieb:
> Markus Mayer:
>> Any idea where I should send this (and/or more) information to?
>
> You can send your note and and image to effbot.
> You can also put an image online somewhere and give here the link (a
> small image, to avoid saturating your s
age body to automatically subscribe to the list, or help to get
> additional information.
> """
Hum, I was hoping I could avoid that. :/ (The list, of course)
Markus
--
PGP/GPG key 0x2EB39BF9
--
http://mail.python.org/mailman/listinfo/python-list
Markus Mayer schrieb:
> Okay, for the* tip, here we go:
*2nd tip that is.
I need some sleep.
--
PGP/GPG key 0x2EB39BF9
--
http://mail.python.org/mailman/listinfo/python-list
> I want to control gnuplot with a python program.
Hi Anton,
here is a little snippet using os.popen:
import os
gp = os.popen('gnuplot -persist', 'w')
print >> gp, "set yrange [-300:300]"
for n in range(300):
print >> gp, "plot %i*cos(x)+%i*log(x+10)" % (n,150-n)
Rega
Hi guys i worked on this for severl days (or even weeks?!) now, but im
nearly finished with it: A complete C++ to Python API which allows you
to use python as a scripting language for your C++ projects. Simple
example:
--- python code ---
def greet( player ):
print( "Hello player " + player.get
Thanks for the answer
On 1 Sep., 22:29, Thomas Jollans wrote:
> On Wednesday 01 September 2010, it occurred to Markus Kraus to exclaim:
>
> > So the feature overview:
>
> First, the obligatory things you don't want to hear: Have you had a look at
> similar efforts
Xah Lee <[EMAIL PROTECTED]> writes:
> (if there is some demand, i will add a concrept, little programing
No. There ain't.
- M
--
http://mail.python.org/mailman/listinfo/python-list
about them?
And even more to the point -- why does he post now again the same
drivel he already posted on the 9th of May 2007? And will we now
treated to repeats of his garbage every 2 weeks?
The answer to your question is very simple: Xah Lee is a troll.
Regards -- Markus
--
http://mail.python.org/mailman/listinfo/python-list
>> f("some string")
>
> This is not really "typical" syntax for a functional language. LISP,
> for example, has the "function name" as an element of a list. (Some
> might argue that LISP isn't exactly a functional language.)
And nobo
"Xah Lee" <[EMAIL PROTECTED]> writes:
> • Please remind yourself what is on-topic and off-topic. Unless you
You, Sir, ARE off-topic. I suggest you make the experiment to post
your drivel on your web site and let your fans come to you. Should be
an eye opener, this experiment.
ant to look like a dolt in public?" "Umpf. No. God
that was embarrasing" .
But that won't happen to Xah.
Regards -- Markus
--
http://mail.python.org/mailman/listinfo/python-list
DjangoCon Europe[1] is a Django[2] conference that aims to bring
together the community and provide a wide range of sessions, panels,
lightning talks and showcases of Django usage within various businesses.
We aim to educate and bring people together to turn new ideas into
working code!
The c
101 - 170 of 170 matches
Mail list logo