Am 08.01.12 23:12, schrieb Benjamin Kaplan:
On Sun, Jan 8, 2012 at 2:32 PM, Some Friend wrote:
Dear Friends,
with an international keyboard on mac os 10.6
an umlaut is inserted according to the chosen
keyboard layout with alt + u followed by a,
o or u for ä, ö or ü, or with cmd + " followed
by
On 1/8/2012 5:23 PM, Benjamin Kaplan wrote:
On Sun, Jan 8, 2012 at 5:37 PM, davidfx wrote:
I am not sure what file you mean. Where should I look for the file you are
talking about? By the way MySQL works fine within MAMP.
Thanks for your suggestions.
Like I said, it's likely an architect
On 1/3/2012 6:15 PM, alex23 wrote:
On Jan 4, 6:38 am, Terry Reedy wrote:
Shredskin compiles a subset of
Python, or a subset of usages, to C, with similar benefits.
That is, of course, 'Shedskin' and 'C++' :)
+1 for either Cython or Shedskin as your next step for more performant
Python.
On Jan 7, 2:06 am, Ian Kelly wrote:
> wrote:
> > Nonetheless, I'm still wondering if I could somehow replace the dict with an
> > OrderedDict.
>
> In Python 3, yes. This is pretty much the entire use case for the new
> __prepare__ method of metaclasses. See the "OrderedClass" example[...]
This
On Sun, Jan 8, 2012 at 8:44 PM, Sebastian Rooks
wrote:
> Hello everyone,
>
> I was wondering if you could help me. I'm looking for a python
> introductory book, kind of like Learning Python only smaller (?!)
> The thing is, I travel to and from work each day for about 1,5h in each
> direction, and
On Sun, Jan 8, 2012 at 11:38 PM, David George wrote:
>
> Sean Wolfe wrote:
>>
>> is anybody out there?
>>
>> On Sat, Jan 7, 2012 at 5:07 AM, abdullah zuberi
>> wrote:
>>>
>>> hello ?
>>>
>
> Hello there Sean, How are you doing?
> --
> http://mail.python.org/mailman/listinfo/python-list
I'm frea
Am 09.01.2012 03:21, schrieb Steven D'Aprano:
> What am I doing wrong?
You aren't doing anything wrong. It's just not possible to have
something different than a dict as a type's __dict__. It's a deliberate
limitation and required optimization. The __prepare__ hook allows to you
have a dict subcla
On 01/08/2012 08:46 PM, Yigit Turgut wrote:
On Jan 9, 12:02 am, Dave Angel wrote:
Then i'd try calling separate functions (declaring them in depfuncs).
And finally I'd try some 3rd party library.
Don't think will try another package for the same task. I am now
moving on to PP + PyCUDA to harn
Sean Wolfe wrote:
is anybody out there?
On Sat, Jan 7, 2012 at 5:07 AM, abdullah zuberi
wrote:
hello ?
Hello there Sean, How are you doing?
--
http://mail.python.org/mailman/listinfo/python-list
I'm using Python 3.1 and trying to create a class using an OrderedDict as
its __dict__, but it isn't working as I expect.
See http://www.python.org/dev/peps/pep-3115/ for further details.
Here is my code:
from collections import OrderedDict
# The metaclass
class OrderedClass(type):
#
On Jan 9, 12:02 am, Dave Angel wrote:
> On 01/08/2012 11:39 AM, Yigit Turgut wrote:
>
>
>
>
>
>
>
>
>
> > screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)
> > timer = pygame.time.Clock()
> > white = True
> > start = time.time()
> > end = time.time() - start
> > end2= time.time() - start
On Sun, Jan 8, 2012 at 5:37 PM, davidfx wrote:
> I am not sure what file you mean. Where should I look for the file you are
> talking about? By the way MySQL works fine within MAMP.
>
> Thanks for your suggestions.
Like I said, it's likely an architecture issue. If you have a 32-bit
MySQL ins
On Jan 9, 2:37 am, Sean Wolfe wrote:
> is anybody out there?
>
> On Sat, Jan 7, 2012 at 5:07 AM, abdullah zuberi
>
> wrote:
> > hello ?
Just nod if you can hear me!
--
http://mail.python.org/mailman/listinfo/python-list
On 1/8/12 1:45 PM, Yigit Turgut wrote:
There are no imports other than defined on the script, which are;
import pygame
import sys
import time
import math
import pp
You are correct about trying to pass two functions and second one is
in place where a tuple of arguments supposed to be. But what
Hello everyone,
I was wondering if you could help me. I'm looking for a python
introductory book, kind of like Learning Python only smaller (?!)
The thing is, I travel to and from work each day for about 1,5h in each
direction, and do most of my reading on the train :\
(seriously)
And I can't fi
i havnt read every post in great detail, but it doesnt seem like your
actual question has been answered, so ill give it a try.
AFAIK, changing __dict__ to be an ordereddict is fundamentally
impossible in python 2. __dict__ is a builtin language construct
hardcoded into the C API. There is no way t
On 01/08/2012 05:37 PM, davidfx wrote:
I am not sure what file you mean. Where should I look for the file you are
talking about? By the way MySQL works fine within MAMP.
Thanks for your suggestions.
In most Linux/Unix systems, there is a file utility on the system PATH.
To find the type of
I am not sure what file you mean. Where should I look for the file you are
talking about? By the way MySQL works fine within MAMP.
Thanks for your suggestions.
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Jan 8, 2012 at 4:37 PM, David George wrote:
> Hello there,
> I have been trying for awhile now to get MySQLdb working. I am currently
> getting this error when trying to import it:
>
import MySQLdb
>
> Traceback (most recent call last): File "", line 1, in File
> "build/bdist.macosx-1
On Sun, Jan 8, 2012 at 2:32 PM, Some Friend wrote:
> Dear Friends,
> with an international keyboard on mac os 10.6
> an umlaut is inserted according to the chosen
> keyboard layout with alt + u followed by a,
> o or u for ä, ö or ü, or with cmd + " followed
> by a, o or u for ä, ö or ü. Neither w
On 01/08/2012 11:39 AM, Yigit Turgut wrote:
screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)
timer = pygame.time.Clock()
white = True
start = time.time()
end = time.time() - start
end2= time.time() - start
def test1():
global end
global white
while(end<5):
end = time.ti
Hello there,
I have been trying for awhile now to get MySQLdb working. I am currently
getting this error when trying to import it:
>>> import MySQLdb
Traceback (most recent call last): File "", line 1, in File
"build/bdist.macosx-10.7-intel/egg/MySQLdb/init.py", line 19, in File
"build/bdist
Thanks for the feedback!
I took the time reading and understanding it and to let it getting into my
bones. And I also lost time on reading more of this freaky and interesting
documentation and was testing a lot of different stuff with my enviroment.
My current code can be seen here if you are int
Dear Friends,
with an international keyboard on mac os 10.6
an umlaut is inserted according to the chosen
keyboard layout with alt + u followed by a,
o or u for ä, ö or ü, or with cmd + " followed
by a, o or u for ä, ö or ü. Neither way works
in the IDLE console or file window of IDLE.
Both ways
On Jan 8, 10:37 am, Sean Wolfe wrote:
> is anybody out there?
Oh yes, in fact there are many of us who are "out there".
http://www.youtube.com/watch?v=bHNa_f28Q-s
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 8, 6:00 pm, Chris Angelico wrote:
> On Mon, Jan 9, 2012 at 2:45 AM, Yigit Turgut wrote:
> > job1 = job_server.submit(test1,())
> > job2 = job_server.submit(test2())
>
> The first of these passes test1 and an empty tuple as arguments to
> submit(). The second calls test2 with no arguments,
is anybody out there?
On Sat, Jan 7, 2012 at 5:07 AM, abdullah zuberi
wrote:
> hello ?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
--
htt
On Mon, Jan 9, 2012 at 2:45 AM, Yigit Turgut wrote:
> job1 = job_server.submit(test1,())
> job2 = job_server.submit(test2())
The first of these passes test1 and an empty tuple as arguments to
submit(). The second calls test2 with no arguments, then passes its
return value to submit(), which is no
On Jan 8, 4:34 pm, Dave Angel wrote:
> On 01/08/2012 08:23 AM, Yigit Turgut wrote:
>
>
>
>
>
>
>
> > Hi all,
>
> > I am trying to run two functions at the same time with Parallel
> > Processing (pp) as following ;
>
> > import pygame
> > import sys
> > import time
> > import math
> > import pp
>
>
On 01/08/2012 08:23 AM, Yigit Turgut wrote:
Hi all,
I am trying to run two functions at the same time with Parallel
Processing (pp) as following ;
import pygame
import sys
import time
import math
import pp
screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)
timer = pygame.time.Clock()
Hi all,
I am trying to run two functions at the same time with Parallel
Processing (pp) as following ;
import pygame
import sys
import time
import math
import pp
screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)
timer = pygame.time.Clock()
white = True
start = time.time()
end = time.ti
K Richard Pixley wrote:
[...]
> The doc says server.shutdown(), but if I call self.server.shutdown()
> from within handler.handle(), I seem to get a deadlock, which is exactly
> what I'd expect in a single threaded system with no way to "signal" the
> server.server_forever() loop which is several f
Am 06.01.2012 21:00 schrieb jmfauth:
Another simple approach, os independent.
You probably do not write your code in iso-6937, but
you only need to encode/decode some bytes sequence
"on the fly". In that case, work with bytes, create
a couple of coding / decoding functions with a
created [*] a
On Jan 8, 7:42 am, Steven D'Aprano wrote:
> On Sat, 07 Jan 2012 17:16:22 -0800, lars van gemerden wrote:
> > Hello,
>
> > I have an error message i do not understand:
>
> > My code is in essence:
>
> The code you give works fine. It does not show the error you say it does.
> Please test your code
Dear jmf, Tim
Thanks for these pointers. They look v useful.
I'll have a go and report back (with success I hope).
Best wishes
Ivan
On 06/01/2012 20:42, Tim Wintle wrote:
On Fri, 2012-01-06 at 12:00 -0800, jmfauth wrote:
The distibution of such a codec may be a problem.
There is a regist
35 matches
Mail list logo