On Sat, 04 Aug 2012 19:24:12 +0100, Mark Lawrence
wrote:
>On 04/08/2012 11:59, Stefan Behnel wrote:
>> Mark Lawrence, 04.08.2012 12:05:
>>> I agree so it's off topic and can't be discussed here. Isn't that right,
>>> Stefan?
>>
>> Hmm, in case you are referring to a recent friendly and diplomati
On Fri, 3 Aug 2012 06:54:04 -0700 (PDT), rusi
wrote:
>On Aug 3, 4:34 pm, lipska the kat wrote:
>> A while ago someone asked me what I thought of the Eclipse plugin for
>> python, well I just downloaded and installed the latest version of
>> Eclipse for Java (Juno) followed by the Python plugin.
On 21 Jul 2012 03:34:44 GMT, Steven D'Aprano
wrote:
>tl;dr
Easy there, tiger. No need to get riled up over a single nitpick over
phrasing.
~Temia
--
Invective! Verb your expletive nouns!
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 21 Jul 2012 13:02:55 +1000, Chris Angelico
wrote:
>On Sat, Jul 21, 2012 at 12:56 PM, Temia Eszteri
>wrote:
>> On 21 Jul 2012 00:50:13 GMT, Steven D'Aprano
>> wrote:
>>
>>>> Latest version has a simpler, cleaner API, and works on PyPy (and
&g
On 21 Jul 2012 00:50:13 GMT, Steven D'Aprano
wrote:
>> Latest version has a simpler, cleaner API, and works on PyPy (and
>> hopefully the other implementations as well ;), as well as CPython.
>>
>> Get your copy at http://python.org/pypi/dbf.
>
>I don't generally click on arbitrary links to find
I'm going to be looking into writing a wrapper for the Allegro 5 game
development libraries, either with ctypes or Cython. They technically
have a basic 1:1 ctypes wrapper currently, but I wanted to make
something more pythonic, because it'd be next to impossible to deal
with the memory management
On Wed, 27 Jun 2012 19:43:07 -0700 (PDT), alex23
wrote:
>There are two ways to help people: by trying to understand what
>they're doing, or by submitting them to endless pedantry. Only one of
>those is actually helpful.
Is it alright if I use that as a quote? Properly attributed, of
course.
--
On Wed, 27 Jun 2012 22:18:59 + (UTC), Grant Edwards
wrote:
>> Can you post a small example showing what you're doing?
>
>The best way to get help is to write as small a program as possible
>that demonstrates the problem, and post it. I'll help you get
>started...
>
>Does this program work?
>
On Wed, 27 Jun 2012 23:14:13 +0100, Mark Lawrence
wrote:
>On 27/06/2012 20:12, php...@gmail.com wrote:
>> EnTK (batteries included) http://stk.phpyjs.com/ntk.zip
>> EsTK (pilas incluidas) http://stk.phpyjs.com/stk.zip
>>
>> Reverse Engineer This
>>
>
>sihT
No no no, clearly it's sihT reenignE.
[Default] On Wed, 27 Jun 2012 18:37:52 +0530, prakash jp
wrote:
>Hi All,
>
>I am interested to interact with the command prompt, is there a module to
>control the input/output stream. Thanks in advance for the pointers
>
>Thanks
>Prakash
Well, from the start, the sys module gives access to the s
On Thu, 21 Jun 2012 10:12:07 -0700, Temia Eszteri
wrote:
>
>Try appending the dump command with f.flush() and os.fsync().
>
>~Temia
Actually, wait, no. The behavior you're describing is indicating that
the thread in question isn't even getting a chance to execute at all.
I&
On Thu, 21 Jun 2012 16:19:41 +0100, Rotwang
wrote:
>Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is
>acting strangely. I can reproduce the behaviour in question with the
>following:
>
>--- begin bugtest.py ---
>
>import threading, Tkinter, os, pickle
>
>class savethread
On Thu, 7 Jun 2012 22:23:47 +1000, Chris Angelico
wrote:
>On Thu, Jun 7, 2012 at 7:33 PM, Stanley Lee wrote:
>> Hey all,
>>
>> Can I only post jobs on Python's official website, or can I also
>> direct the message to the appropriate mailing list in http://mail.python.org/
>> ? Btw, do I have to
On 03 Jun 2012 16:20:11 GMT, Steven D'Aprano
wrote:
>And should I have known this from your initial post?
I did discuss the matter with Terry Reedy, actually, but I guess since
the newsgroup-to-mailing list mirror is one-way, there's no actual way
you could've known. :/ Sigh, another problem out
On 02 Jun 2012 03:05:01 GMT, Steven D'Aprano
wrote:
>I doubt that very much. If you are using threads, it is more likely your
>code has a race condition where you are modifying a weak set at the same
>time another thread is trying to iterate over it (in this case, to
>determine it's length), a
On Fri, 01 Jun 2012 18:42:22 -0400, Terry Reedy
wrote:
>I gather that the .references attribute is sometimes/always a weakset.
>To determine its boolean value, it computes its length. For regular
>sets, this is sensible as .__len__() returns a pre-computed value.
Indeed. Back when I was using
I've got a bit of a problem - my project uses weak sets in multiple
areas, the problem case in particular being to indicate what objects
are using a particular texture, if any, so that its priority in OpenGL
can be adjusted to match at the same time as it being (de)referenced
by any explicit calls.
On Mon, 28 May 2012 08:56:51 -0700 (PDT), rusi
wrote:
>Ive been wanting to try the sl4a for a new android phone Ive got hold
>of as spelt out at
>http://www.linuxjournal.com/article/10940
>
>Has anyone any experience/dos/donts for this?
>
>I am writing this while the update of the android sdk is
On Fri, 25 May 2012 23:30:24 -0600, Jason Earl
wrote:
>On Fri, May 25 2012, Jon Clements wrote:
>
>> Hi All,
>>
>> Normally use Google Groups but it's becoming absolutely frustrating -
>> not only has the interface changed to be frankly impractical, the
>> posts are somewhat random of what appear
[Default] On Fri, 25 May 2012 23:30:24 -0600, Jason Earl
wrote:
>On Fri, May 25 2012, Jon Clements wrote:
>
>> Hi All,
>>
>> Normally use Google Groups but it's becoming absolutely frustrating -
>> not only has the interface changed to be frankly impractical, the
>> posts are somewhat random of w
[Default] On 25 May 2012 02:47:11 GMT, Steven D'Aprano
wrote:
>Do you object to the ability to write standard Python modules?
>
># module.py
>def spam(obj, n):
>return len(obj) + n
>
>def ham(obj):
>return spam(obj, 23)
>
>
>By your apparent misunderstanding of the Zen, you think that thi
If the support you have from the other contributors is anywhere near
what you claim it is, I may as well be kissing Pyjamas goodbye.
Doubt it, though - this whole post reeks of vagueities and doublespeak
garbage. Too many undefined "whos". I'll wait until Leighton gets the
reins back.
And you kno
You know what I find rich about all of this?
>>>[ ... ]> I'd like to change the syntax of my module 'codeblocks' to make it
>>>more
>>>[ ... ]> pythonic.
Kiuhnm posted a thread to the group asking us to help him make it more
Pythonic, but he has steadfastly refused every single piece of help he
> if only Python wasn't so rigid.
what.
You realize you'd have a little more luck with Python if you weren't
wielding it like a cudgel in the examples you've posted here, right?
Because it looks like you're treating the language as everything it
isn't and nothing it is this whole time. No wonder
>Anyone else following the apparent hijack of the pyjs project from its
>lead developer?
Not beyond what the lead developer has been posting on the newsgroup,
no. Still a damn shame, though. What happens when you have an
unresolvable ideological seperation like that is you branch, not take
over.
>On 27/04/12 03:11, Xah Lee wrote:
>> John Carmack glorifying functional programing in 3k words
>>
>> http://www.altdevblogaday.com/2012/04/26/functional-programming-in-c/
>>
>> where was he ten years ago?
>>
>> O, and btw, i heard that Common Lispers don't do functional
>> programing, is that righ
>can anyone say me how to subscribe linux mailing list like 'python
>mailing list'. Actually i want to post question there.
It'd probably be best to visit the mailing list (if any) for the
distribution that you're using in particular. Odds are any such
mailing list would be available on the distro
Holy crap.
Easy there, tiger.
I understand you're frustrated, but the people here are trying to
help, even if they've decided the means of helping is trying to
explain why they feel your style of development isn't the best way to
do things.
You're going to wear out your welcome and not get any h
>I can't get it working : "No pygame module"...
>Tried without success :
>pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip
>pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
>
>I am using Python 3 last version on MacOS-X Lion.
>
>Where is a step-by-step installation procedure ?
>
>Thanks,
>
>
>> re.split(':|;|px', "width:150px;height:50px;float:right")
>
>You could recognize that the delimiter you want to strip is in fact px;
>and not px in and of itself.
>
>So, try:
>
>re.split(':|px;', "width:150px;height:50px;float:right")
>
>Emile
That won't work at all outside of the example case
>On Mon, Apr 30, 2012 at 2:50 PM, Xah Lee wrote:
>> jason, are you trolling me, or me you?
>
>Am I Turing dreaming I am a machine, or a machine dreaming I am Turing?
>
>Personally, I've never Turred.
>
>ChrisA
Turing got a pretty shit deal for all the great things he did - odds
are a machine woul
>jason, are you trolling me, or me you?
>
>?
>
> Xah
Depends on what you classify as "trolling" these days. In all honesty,
the original concept of trolling seems to have become a lost art, with
only a few people even knowing what the act actually was anymore, and
in its absence everyone seems to
>> Current Syntax:
>>
>> with res << func(arg1) << 'x, y':
>> print(x, y)
>>
>> with res << func(arg1) << block_name << 'x, y':
>> print(x, y)
>>
>> New Syntax:
>>
>> with res == func(arg1) .taking_block (x, y):
>> print(x, y)
>>
>> with res == func(ar
>On Sun, Apr 29, 2012 at 8:36 AM, Temia Eszteri wrote:
>> And what does this have to do with a multiplatform language like
>> Python? :P
>
>Nothing. Xah Lee is a professional troll. You can save yourself some
>trouble by ignoring his posts altogether.
>
>ChrisA
And what does this have to do with a multiplatform language like
Python? :P
~Temia
--
When on earth, do as the earthlings do.
--
http://mail.python.org/mailman/listinfo/python-list
>Yes, you're right. Being mutable and hashable are orthogonal properties.
>The implication
> mutable => non hashable
>is just a design choice.
>
>The reason for such a choice is the following. If a key-element pair K:X
>is added to a container C and then K is changed by some external Python
>
Steven, your posts are leaking out of their respective thread(s). Is
this intentional?
~Temia
--
When on earth, do as the earthlings do.
--
http://mail.python.org/mailman/listinfo/python-list
Assuming you're using the Python's random module, which works based on
the Mersenne Twister, you can preset the seed with
random.seed(hashable).
More details here:
http://docs.python.org/library/random.html#random.seed
~Temia
On Wed, 25 Apr 2012 07:51:18 +0200, you wrote:
>Hi,
>
>I'm working wi
Better yet, write them out as constants if they're referenced more
than once. In that case, if the planet gets knocked into a new orbital
and rotational pattern, you can update accordingly if you,
civilization, and Python all still exist.
~Temia
On Sun, 22 Apr 2012 13:44:15 +0400, you wrote:
>im
Oh, forgot to mention some things. Also poorly phrased other things.
Let me try that again.
>* ImageMagick (http://www.imagemagick.org/) as Ian suggested - the
>ctypes binding I found for this was too immature to use, and the other
>option will require compiling,
The 'other option' I meant here w
Okay, superpollo. I'm looking at a few possible ways to do this (the
Zen of Python hates me, even though I'm dutch-blooded!), and I'd like
to ask a couple more questions before I dive into writing up a
solution.
First, are you simply trying to capture the framebuffer of a
Pygame-made game in realt
On Mon, 16 Apr 2012 12:48:37 -0400, you wrote:
>On 4/16/2012 8:37 AM, superpollo wrote:
>> alex23 ha scritto:
>>> On Apr 16, 7:34 pm, superpollo wrote:
is there a way to convert the graphical output of a pygame application
to a mpeg file or better an animated gif? i mean, not using an e
>3) When ever I cllick on *.py file,
>it runs by so fast that I can't see what's going on.
> ?Is there a way to keep the pyconsole open 'til i decide to close
>it?
>Thanks...Vernon
This one's answered easily enough - just open a command prompt window
at that directory (shift-right click the folder
43 matches
Mail list logo