computing affairs.
--
ShenLei
在 2010年3月26日 上午2:55,Irmen de Jong 写道:
> On 25-3-2010 10:55, 甜瓜 wrote:
>> Thank you irmen. I will take a look at pytable.
>> FYI, let me explain the case clearly.
>>
>> Originally, my big data table is simply array of Item:
>>
Irmen de Jong :
> On 3/25/10 4:28 AM, 甜瓜 wrote:
>>
>> Howdy,
>>
>> Recently, I am finding a good library for build index on binary data.
>> Xapian& Lucene for python binding focus on text digestion rather than
>> binary data. Could anyone give me some reco
Thank you Rubin! Let me have a look at Judy. It seems good at first glance.
--
ShenLei
2010/3/25 Paul Rubin :
> 甜瓜 writes:
>> Well, Database is not proper because 1. the table is very big (~10^9
>> rows) 2. we should support very fast *simple* query that is to get
>> v
indexing
library is still a good choice for me.
--
ShenLei
2010/3/25 Gabriel Genellina :
> En Thu, 25 Mar 2010 00:28:58 -0300, 甜瓜
> escribió:
>
>> Recently, I am finding a good library for build index on binary data.
>> Xapian & Lucene for python binding focus on t
Howdy,
Recently, I am finding a good library for build index on binary data.
Xapian & Lucene for python binding focus on text digestion rather than
binary data. Could anyone give me some recommendation? Is there any
library for indexing binary data no matter whether it is written in
python?
In my
^_^ Oh! I did not read the document for time.clock before,
and supposed it was same with time.time().
Thank you very much.
ShenLei
--
http://mail.python.org/mailman/listinfo/python-list
2008/10/29 James Mills <[EMAIL PROTECTED]>:
> On Wed, Oct 29, 2008 at 12:14 PM, 甜瓜 <[EMAIL PROTECTED]> wrote:
>> I use python2.5 in WindowsXP. If using time.time() as timer, it seems
>
> On the win32 platform should you not
> be using time.clock vs. time.time
Howdy,
I use python2.5 in WindowsXP. If using time.time() as timer, it seems
the maximum precision is about 10-12ms. Maybe this is caused by
the time slice defined in process scheduler. However, in my project,
I have to get timer percision up to 1ms. What should I do? Do I have
to call Win32 API?
Really helpful!
2008/9/28 Mikolai Fajer <[EMAIL PROTECTED]>:
> The following link directly discusses using MVC and pygame.
>
> http://ezide.com/games/writing-games.html
>
> --
>
> -Mikolai Fajer-
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/lis
Howdy,
I am working on a small PC game by using pygame. Since there are many
graphical objects to display and intensive user interactions, I would
like to employ MVC pattern to keep the system maintainable.
However, I cannot find a good article which discussing the general
knowledge about MVC, esp
Oh, thank you very much. I did know that python can parse number '528'
and keyword 'or' without separator.
2008/8/12 Paul Rubin <"http://phr.cx"@nospam.invalid>:
> "ðÏ" <[EMAIL PROTECTED]> writes:
>> I saw a strange python code in pygame project. What does "while
>> not(x&528or x in l):" mean? Bel
Howdy everyone,
I saw a strange python code in pygame project. What does "while
not(x&528or x in l):" mean? Below code works in python2.5, so "x&528"
is not HTML strings.
# snake.py code:
import pygame as p,random
p.init()
q=p.display
T=16
b=q.set_mode([256]*2).fill
l=[]
d=a=x=1
c=p.event.get
whi
> I will program larger projects in 2.5 for a while and then perhaps
> look to move it to 2.6 and 2.7, I won't touch the 3.x series until it
> is the common choice, much as a lot of people still program in 2.3/4.
Oh, I see. It seems the gap between 2.5 and 3.0 is not so small.
Therefore, even if 3
Howdy,
I'm confused about the motivation of releasing python2.6 and python3.0
at the *same* time. IMO, 2.6 should be compatible with 2.5 while 3.0
is new style python. Currenly, most python projects works fine in 2.5.
When 3.0 becomes final release, those projects will be gradually moved
to 3.0. B
> The problem is not compiler, but runtime. For example, if python is
> built with runtime foo, and yours with runtime bar, and you use in bar
> a file handle, you're screwed:
>
> http://msdn.microsoft.com/en-us/library/ms235460(VS.80).aspx
>
> That's why you cannot build a python extension with VS
2008/6/4 David Cournapeau <[EMAIL PROTECTED]>:
> On Wed, Jun 4, 2008 at 11:38 AM, 甜瓜 <[EMAIL PROTECTED]> wrote:
>
>>Well, IMO, the format of binary files generated by VC2003 and
>> VC2005 is compatible in most cases.
>
> Problem arise with the C runt
2008/6/4 Christian Heimes <[EMAIL PROTECTED]>:
> 甜瓜 schrieb:
>> Howdy,
>> This problem have puzzled me for a long time. I usually use
>> python2.5 in Windows, while VC2005 is installed.
>> However python25.lib is compiled by VC2003. When I use disutil
Howdy,
This problem have puzzled me for a long time. I usually use
python2.5 in Windows, while VC2005 is installed.
However python25.lib is compiled by VC2003. When I use disutil to
build some C extensions, it complaints that
there is no VC2003.
Well, IMO, the format of binary files generat
2008/5/16 Hrvoje Niksic <[EMAIL PROTECTED]>:
> "甜瓜" <[EMAIL PROTECTED]> writes:
>
>> Howdy,
>> I wonder why below does not work.
>>
>> a = object()
>> a.b = 1# dynamic bind attribute failed...
>
> Because the default
Howdy,
I wonder why below does not work.
a = object()
a.b = 1# dynamic bind attribute failed...
To make it correct, we have to create a new class:
class MyClass(object): pass
a = MyClass()
a.b = 1 # OK
Does this strange behavior break the LSP (Liskov substitution principle)?
Howdy,
I wonder whether python compiler does basic optimizations to .py.
Eg:
t = self.a.b
t.c = ...
t.d = ...
.vs.
self.a.b.c = ...
self.a.b.d = ...
which one is more effective? Since each dot invokes a hash table lookup, it
may be time consuming. If the compiler can do expression folding, then
Howdy everyone,
This is a big problem puzzles me for a long time. The core question is:
How to dynamically create methods on a class or an instance?
Let me state it step by step.
1.
def gunc(self):
pass
class A(object):
def func(self):
pass
a = A()
a.func # gives "bound met
Howdy, all,
I want to use python to detect the accessibility of website.
Currently, I use urllib
to obtain the remote webpage, and see whether it fails. But the problem is that
the webpage may be very large; it takes too long time. Certainly, it
is no need to download
the entire page. Could yo
23 matches
Mail list logo