I know some people will disagree with me, but I recommend on "Dive Into
Python" by Mark Pilgrim. It assumes no prior knowledge whatsoever, and it
explains all the foundations of the language from the bottom up, without
skipping any steps. It also provides many examples that demonstrate how to
get
Hi all,
I'm working on a project in Python 2.7. I have a few large objects, and I want
to save them for later use, so that it will be possible to load them whole from
a file, instead of creating them every time anew. It is critical that they be
transportable between platforms. Problem is, when
You're probably right in general, for me the 3.3 and 2.7 pickles definitely
don't work the same:
3.3:
>>> type(pickle.dumps(1))
2.7:
>>> type(pickle.dumps(1, pickle.HIGHEST_PROTOCOL))
As you can see, in 2.7 when I try to dump something, I get useless string. Look
what I gen when I dump an N
I see. In that case, all I have to do is make sure NLTK is available when I
load the pickled objects. That pretty much solves my problem. Thanks!
So it means pickle doesn't ever save the object's values, only how it was
created?
Say I have a large object that requires a lot of time to train on
I am using the nltk.classify.MaxEntClassifier. This object has a set of labels,
and a set of probabilities: P(label | features). It modifies this probability
given data. SO for example, if you tell this object that the label L appears
60% of the time with the feature F, then P(L | F) = 0.6.
The
Yeah, right. I didn't think about that. I'll check in the source how the data
is stored.
Thanks for helping sort it all out.
--
http://mail.python.org/mailman/listinfo/python-list
si didn't prove to
be a reliable method.
Any suggestions? Please
Omer Ahmad.
ps: here is the code i'm using right now (minus all the debug strings)
def main():
"""Retrieves Machine information from the registry"""
try:
hHardwareReg
m for more information end quote
Did you find a solution for this problem?
Best Regards,
Omer Korkmaz
Ext: 3138
Dikkat:Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mes
m for more information end quote
Did you find a solution for this problem?
Best Regards,
Omer Korkmaz
Ext: 3138
Dikkat:Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mes
more information end quote
Did you find a solution for this problem?
Best Regards,
Omer Korkmaz
Ext: 3138
Dikkat:Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar
On the RESTFul web service, I would like to piggy pack my own question two
is there a way to make the connection secure between two Restful service
running on GNU/linux?
Thanks,
Omer
On 6/26/07, Kathryn Van Stone <[EMAIL PROTECTED]> wrote:
So does anyone know of any equivalent libra
Python's performance perspective rather than the performance of the system
it self.
Thanks in advance!
Omer
--
http://mail.python.org/mailman/listinfo/python-list
On 12 أكتوبر, 05:42, TerryP wrote:
> On Oct 11, 11:25 pm, omer azazi wrote:
>
> I appologise if I appear _rude_, but this is comp.lang.python -- it is
> for the discussion of Python and related projects that were created by
> men and women. A discussion about faith doe
from python to exe
py2exe turns Python programs into packages that can be run on other
Windows computers without needing to install Python on those
computers. Python is needed on the computer where py2exe itself is run
because py2exe is a Python program and it includes parts of Python in
the pack
i have installed pyusb now and run the sample usbenum.pyi have 3
usb ports on my PC but the results show 6 outputs to
dev.filename..they are numbers like 001 or 005 etc and they
changed when i plugged in devices...(i am no good with the usb
standards)i just want to identify each device/
On Mar 23, 9:22 am, Tim Roberts wrote:
> Omer Ihsan wrote:
>
> >i have installed pyusb now and run the sample usbenum.pyi have 3
> >usb ports on my PC but the results show 6 outputs to
> >dev.filename..they are numbers like 001 or 005 etc and they
> >cha
is there anything as "nested threading"that is, call a thread from
within a thread.
in this case how will thread locking take place.
for example initially there were two functions that were called using
threading.Thread. these wont get unlocked unless both of them are done
with whatever they n
to explain this
behavior.
Any insight would be much appreciated!
Cheers
Omer
--
http://mail.python.org/mailman/listinfo/python-list
t is stored, and is there a lock on it or else?
Thanks,
Omer
**
On Wed, Jul 29, 2009 at 8:56 PM, Dave Angel wrote:
> Omer Khalid wrote:
>
>> Hi,
>>
>> I am having a very strange problem with modifying a variable in a list in
>&g
19 matches
Mail list logo