Re: Location HTTP Header

2008-12-18 Thread Mohamed Yousef
use LiveHTTPHeaders with firefox and show us browser-server interaction -- http://mail.python.org/mailman/listinfo/python-list

Re: Deflate with urllib2...

2008-09-09 Thread Mohamed Yousef
Try this http://www.paul.sladen.org/projects/pyflate/ 2008/9/9 Sam <[EMAIL PROTECTED]>: > I'm using urllib2 and accepting gzip and deflate. > > It turns out that almost every site returns either normal text or > gzip. But I finally found one that returns deflate. > > Here's how I un-gzip: > com

Re: Read and write binary data

2008-09-08 Thread Mohamed Yousef
I don't know if this is going to help you but a free&open alternative to Matlap is FreeMat just search for it -- http://mail.python.org/mailman/listinfo/python-list

Re: Cancel instance create

2008-09-06 Thread Mohamed Yousef
Ù‹What about no Constructor , and a custom instancing function that can return either None or the instance wanted -- http://mail.python.org/mailman/listinfo/python-list

[ANN] PyDM 1.1

2008-09-05 Thread Mohamed Yousef
, Mohamed Yousef -- http://mail.python.org/mailman/listinfo/python-list

Re: python - mechanize/browser/POST issue

2008-09-03 Thread Mohamed Yousef
refox - so open it post the form in browser then see what you got in LiveHttpHeaders , it will also help you more read through the form being posted html code (knowing posted fields) Regards, Mohamed Yousef 2008/9/3 bruce <[EMAIL PROTECTED]>: > evening... > > using mechanize/Browser, i

Re: Fastest way to write huge files

2008-08-30 Thread Mohamed Yousef
sage make it a painful bug such that downloading a big file (say 1 GB ) would introduce a big cpu usage (already tested) Thanks , Regards, Mohamed Yousef -- http://mail.python.org/mailman/listinfo/python-list

Re: Fastest way to write huge files

2008-08-29 Thread Mohamed Yousef
good speed @James Mills : didn't understand fully what you mean and how it will improve writting effciency Thanks, Regards, Mohamed Yousef 2008/8/29 Tim Golden <[EMAIL PROTECTED]>: > Terry Reedy wrote: >> >> >> Mohamed Yousef wrote: >>> >>> let

Fastest way to write huge files

2008-08-28 Thread Mohamed Yousef
les in the following way , map first 20MB of file and after finishing them flush and map next 20MB -- which of them should be faster in writting to disk ? and less memory consuming or is there faster ways ? Thanks, Regards , Mohamed Yousef -- http://mail.python.org/mailman/listinfo/python-list

Re: QT 4.4 and timedelta

2008-08-25 Thread Mohamed Yousef
I'm not very sure about this , but it's logicallay enough to be said i think the QTableView ordering mechanism must provide some overriding functionality through accepting a comparing function from you check it On Mon, Aug 25, 2008 at 7:48 PM, admoore <[EMAIL PROTECTED]> wrote: > Maybe I'm missing

Re: In-place memory manager, mmap (was: Fastest way to store ints and floats on disk)

2008-08-24 Thread Mohamed Yousef
source-forge places no limits and is a very good place (specific project site / releases / usage counters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Imports awareness in Imported modules problem

2008-08-24 Thread Mohamed Yousef
On Sun, Aug 24, 2008 at 2:27 PM, alex23 <[EMAIL PROTECTED]> wrote: > On Aug 24, 8:34 pm, "Mohamed Yousef" <[EMAIL PROTECTED]> wrote: >> and sys ,string.. etc add them all twice or four / n times ? >> remove one and then forget to remove one of them in a file a

Re: Imports awareness in Imported modules problem

2008-08-24 Thread Mohamed Yousef
On Sun, Aug 24, 2008 at 9:59 AM, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Mohamed Yousef wrote: > >> why am i doing this in the first place >> I'm in the process of a medium project where imports of modules start >> to make a jungle and i wanted all neede

Re: Imports visibility in imported modules problem

2008-08-24 Thread Mohamed Yousef
On Sun, Aug 24, 2008 at 5:54 AM, Patrick Maupin <[EMAIL PROTECTED]> wrote: > On Aug 23, 7:27 pm, "Mohamed Yousef" <[EMAIL PROTECTED]> wrote: > >> The problem I'm asking about is how can imported modules be aware of >> other imported modules s

Imports awareness in Imported modules problem

2008-08-23 Thread Mohamed Yousef
many ways (debugging , modifying ...etc ) in PHP "Require" would do the trick neatly ... so is there is something I'm missing here or the whole technique is bad in which case what do you suggest Thanks, Regards, Mohamed Yousef -- http://mail.python.org/mailman/listinfo/python-list

Imports visibility in imported modules problem

2008-08-23 Thread Mohamed Yousef
many ways (debugging , modifying ...etc ) in PHP "Require" would do the trick neatly ... so is there is something I'm missing here or the whole technique is bad in which case what do you suggest ? Thanks, Regards, Mohamed Yousef -- http://mail.python.org/mailman/listinfo/python-list

Re: A variables variables

2008-08-23 Thread Mohamed Yousef
i don't know if this volatiles array condition or not but any way q='asd' asdasd=20 print globals()[q+'asd'] -- http://mail.python.org/mailman/listinfo/python-list