Re: i need advice

2013-03-24 Thread Omer
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

Re: pickle module doens't work

2013-01-02 Thread Omer Korat
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

Re: pickle module doens't work

2013-01-01 Thread Omer Korat
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

Re: pickle module doens't work

2012-12-27 Thread Omer Korat
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

Re: pickle module doens't work

2012-12-27 Thread Omer Korat
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

pickle module doens't work

2012-12-27 Thread Omer Korat
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

nested threading

2010-03-25 Thread Omer Ihsan
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

Re: device identification

2010-03-23 Thread Omer Ihsan
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

device identification

2010-03-21 Thread Omer Ihsan
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/

Re: What is Islam?-1

2009-11-01 Thread omer azazi
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

Re: What is Islam?-1

2009-10-21 Thread omer azazi
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

Re: Very Strange Problem

2009-07-29 Thread Omer Khalid
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

Very Strange Problem

2009-07-29 Thread Omer Khalid
to explain this behavior. Any insight would be much appreciated! Cheers Omer -- http://mail.python.org/mailman/listinfo/python-list

How to do CPU/Memory benchmarking in Python?

2008-08-05 Thread Omer Khalid
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

Re: What was that web interaction library called again?

2007-06-26 Thread Omer Khalid
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

sys.exit call from pythonw.exe gives error

2006-07-04 Thread Omer KORKMAZ
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

sys.exit call from pythonw.exe gives error

2006-07-04 Thread Omer KORKMAZ
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

sys.exit call from pythonw.exe gives error

2006-07-04 Thread Omer KORKMAZ
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

Display Adapter Information from Registry?

2004-12-03 Thread Omer Ahmad
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