Yeah, I mean Python Software Foundation. I am a developer and I want to
contribute. So, Can you please help me in getting started ?
Thanks
On Sunday, December 28, 2014 4:27:54 AM UTC+5:30, Steven D'Aprano wrote:
> prateek pandey wrote:
>
> > Hey, I'm new to PSF. Can som
Yeah, I mean Python Software Foundation. I am a developer and I'm want to
contribute. So, Can you please help me in getting started ?
Thanks
On Sunday, December 28, 2014 4:27:54 AM UTC+5:30, Steven D'Aprano wrote:
> prateek pandey wrote:
>
> > Hey, I'm new to PSF. Ca
Hey, I'm new to PSF. Can someone please help me in getting started.
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
Can somebody please provide me link to a good online resource or e-
book for doing natural language processing programming in Python.
Thanks,
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
Chk dis out ...
http://www.swaroopch.com/notes/Python
It's gr8 guide for beginners
Cheers!!!
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 5, 1:52 am, Duncan Booth <[EMAIL PROTECTED]> wrote:
> Prateek <[EMAIL PROTECTED]> wrote:
> > I've been using Python for a while (4 years) so I feel like a moron
> > writing this post because I think I should know the answer to this
> > question:
>
I've been using Python for a while (4 years) so I feel like a moron
writing this post because I think I should know the answer to this
question:
How do I make a dictionary which has distinct key-value pairs for 0,
False, 1 and True.
As I have learnt, 0 and False both hash to the same value (same f
On Oct 24, 5:25 pm, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 24 Okt, 14:20, Bjoern Schliessmann
> [EMAIL PROTECTED]> wrote:
>
> > I'm sorry I cannot help, but how many linux distros have no python
> > installed or no packages of it?
>
> It's not usually the absence of Python that's the problem.
any idea how to make cx_Freeze make a linux
executable which is portable across *nix distros?
Thanks in advance,
-Prateek Sureka
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 14, 1:00 am, Jonathan Gardner
<[EMAIL PROTECTED]> wrote:
> On Sep 12, 9:38 pm, Prateek <[EMAIL PROTECTED]> wrote:
>
> > Have you checked out Brainwave?http://www.brainwavelive.com
>
> > We provide a schema-free non-relational database bundled with an
On Sep 13, 1:36 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Prateek wrote:
> > Hi,
>
> > Recently there was some talk on removing the GIL and even the BDFL has
> > written a blog post on it.
> > I was trying to come up with a scalable and back
-- Ed Leafe
> --http://leafe.com
> --http://dabodev.com
Have you checked out Brainwave?
http://www.brainwavelive.com
We provide a schema-free non-relational database bundled with an app
server which is basically CherryPy with a few enhancements (rich JS
widgets, Cheetah/Clearsilver templates). Free for non-commercial use.
--Prateek Sureka
--
http://mail.python.org/mailman/listinfo/python-list
inks of it.
Mainly it revolves around dedicating one core for executing
synchronized code and doing context switches instead of acquiring/
releasing locks.
http://www.brainwavelive.com/blog/index.php?/archives/12-Suggestion-for-removing-the-Python-Global-Interpreter-Lock.html
Thanks,
Prateek Sureka
appen (i.e. is MROW really what I am looking for or is there
something else?).
Is there a good way to do this using the in-built Lock and RLock
objects?
This project is part of a commercial database product.
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 30, 12:37 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> [Prateek]
>
> > The reason why I'm casting to a list first is because I found that
> > creating a long list which I convert to a set in a single operation is
> > faster (although probably less
On Apr 30, 3:20 am, Prateek <[EMAIL PROTECTED]> wrote:
> Sorry, I forgot to mention - the RTH line only prints when the time
> taken is > 0.1 second (so that I don't pollute the output with other
> calls that complete normally)
I have some more information on this problem.
On Apr 30, 5:08 am, John Nagle <[EMAIL PROTECTED]> wrote:
> Prateek wrote:
> >> For the above example, it's worth sorting lists_of_sets by the
> >>length of the sets, and doing the short ones first.
>
> > Thanks. I thought so - I'm doing just tha
it:
>>> if sys.platform == "darwin": os.spawnlp(os.P_NOWAIT,
>>> '/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal')
9460
>>> 2007-04-30 05:19:59.255 [9460] No Info.plist file in application bundle or
>>> no NSPrincipalClass in the Info.plist file, exiting
Maybe I'm just calling it wrong and you'll have more luck.
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 30, 3:48 am, James Stroud <[EMAIL PROTECTED]> wrote:
> Prateek wrote:
> > I have 3 variable length lists of sets. I need to find the common
> > elements in each list (across sets) really really quickly.
>
> > Here is some sample code:
>
> > # Doesn
gt; some massive application that's slow and you need to fix it, even
> if it requires heavy implementation effort.
>
Its definitely not a homework assignment - its part of a commercial
database query engine. Heavy implementation effort is no problem.
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
Sorry, I forgot to mention - the RTH line only prints when the time
taken is > 0.1 second (so that I don't pollute the output with other
calls that complete normally)
--
http://mail.python.org/mailman/listinfo/python-list
47392010689
i_id: 2900 2.88293218613
So I have no idea why this is happening (it is also happening with
seek operations).
Any guidance on how to debug this?
thanks,
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
cause
they're immutable.
Any code suggestions? Maybe using something in the new fancy-schmancy
itertools module?
Thanks,
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
this. I'm on a different computer right now, I'll log
back in later and post more code if that helps.
Again, thanks to anyone who can help.
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
Oh dear god, I implemented this and it overall killed performance by
about 50% - 100%. The same script (entering 3000 items) takes between
88 - 109s (it was running in 55s earlier).
Here is the new Set implementation:
class SeaSet(set):
__slots__ = ['master', 'added', 'deleted']
de
Try creating a dict with sequential numeric keys.
If you already have a list called my_list, you can do:
com_array = dict(zip(range(len(my_list)), my_list))
This works when you want to convert Python objects to Javascript using
JSON. It may work for you.
-Prateek
--
http://mail.python.org
be much appreciated.
Try the following idiom:
try:
try:
fp = open("filename", 'r+')
except IOError:
fp = open("filename", 'w+')
fp.write(high_score)
finally:
fp.close()
-Prateek
--
http://mail.python.org/mailman/listinfo/python-list
uot;sets", since those table ARE exactly nothing but sets of tuples
> (and a 1-item tuple is a tuple for all that:-).
Thanks Alex, but we're actually implementing a (non-relational)
database engine. This particular file is one of many files (which are
all kept in sync by the engine)
On Apr 22, 11:09 am, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Sat, 21 Apr 2007 20:13:44 -0700, Prateek wrote:
> > I have a bit of a specialized request.
>
> > I'm reading a table of strings (specifically fixed length 36 char
> > uuids generated via uu
.
I also thought of using a hastable but I'm storing many ( > 1 million)
of these sets in the same file (most of them will be empty or contain
just a few values but a few of them will be very large - excess of
10,000 items). The file is already separated into tablespaces.
Does anyone have any i
rmation on the filesystem (as temp
files) and route all future requests via the static file processing
mechanism (which can be handled by Apache)... do you think that is a
good idea?
Prateek
On Jan 25, 3:11 pm, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
> "Prateek" w
et much more
than 65 requests per second) or PIL itself (even though I'm caching the
background images and source images)
Does anyone have a better solution? Is there a faster replacement for
PIL?
Thanks in advance.
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
Hey all,
As promised, I'm releasing v0.1 of JUnpickler - an unpickler for Python
pickle data (currently Protocol 2 only) for Java.
http://code.brainwavelive.com/unpickler
Do check it out and let me have your comments.
Prateek Sureka
Fredrik Lundh wrote:
> Paul Boddie wrote:
>
&g
pen
source contribution) which takes pickle data (protocol 2) and
deserializes it into a Java object.
http://code.brainwavelive.com/unpickler
I plan to use this in conjunction with a different process running a
Pyro daemon for IPC based object passing.
Thoughts? Comments? Contributors?
Prateek S
eeps! typo.
> if sys.platform == "darwin":
> macStuff()
> elif sys.platform == "win32":
> winStuff()
>
Not sure what the string is on linux. Just fire up the interpreter and
try it.
Prateek
Prateek wrote:
> also try:
>
> sys.platform
>
also try:
sys.platform
if sys.platform == "darwin":
macStuff()
elif sys.platform == "win32":
linuxStuff()
James Cunningham wrote:
> On 2006-12-13 19:28:14 -0500, [EMAIL PROTECTED] said:
>
> >
> >
> > On Dec 13, 6:32 pm, "Ian F. Hood" <[EMAIL PROTECTED]> wrote:
> >> Hi
> >> In typically
nce the server process uses Pyro for IPC and I
don't want to switch to XML (purely because of the overhead), I thought
it might be fun to write something in Java.
So I've started work on an Unpickler in Java. I'll post again soon with
the URL (haven't uploaded it yet). If anyo
n the community and contribute.
My past (pre-Python) experience has been mainly in web-technologies -
Java, PHP, ASP and a little bit of C.
Any ideas?
Prateek
--
http://mail.python.org/mailman/listinfo/python-list
38 matches
Mail list logo