Re: [BangPypers] Extracting zipfile

2010-05-31 Thread Jeffrey Jose
Correct me if I'm wrong but tab-completion doesn't work out of the box for standard python interpreter. On Mon, May 31, 2010 at 11:05 AM, Noufal Ibrahim nou...@gmail.com wrote: On Mon, May 31, 2010 at 8:32 AM, Jeffrey Jose jeffjosej...@gmail.com wrote: Dear Murugadoss, If you're starting

Re: [BangPypers] UI Designing

2010-05-31 Thread Jeffrey Jose
For UI design, I 1. Start off with pen and paper, quickly mock up several designs and interaction patterns 2. Proceed onto Photoshop/Illustrator to get a feel of how things would look at the end. Repeat 1 and 2 over and over Once I'm ok with a design, I proceed to the next phase, probably

Re: [BangPypers] Extracting zipfile

2010-05-31 Thread Senthil Kumaran
On Mon, May 31, 2010 at 02:55:12PM +0530, Jeffrey Jose wrote: Correct me if I'm wrong but tab-completion doesn't work out of the box for standard python interpreter. You are right. Tab Completion does not work out of box for standard python interpreter. But IDLE has auto-completion on . (os.

Re: [BangPypers] UI Designing

2010-05-31 Thread Ankur Gupta
Pencil is a firefox extension with which you can make wireframes. If you want to make wireframes that look like paper prototypes then just search for stencils. On Mon, May 31, 2010 at 3:52 AM, Gaurav Kalra gvka...@gmail.com wrote: Hi. Can you please share what sort of UI Design tools the

Re: [BangPypers] Harvestman error

2010-05-31 Thread Anand Balachandran Pillai
On Sun, May 30, 2010 at 9:56 PM, JAGANADH G jagana...@gmail.com wrote: Dear All I was trying to run Harvestman(A Python tool for web harvesting). I got the following error http://pastebin.com/uPzUs0Xw My configuration file is http://pastebin.com/dfhiy2Q6 Can any body help me regarding

Re: [BangPypers] UI Designing

2010-05-31 Thread steve
Hi, Please, please, please ..do not top post ! On 05/31/2010 02:58 PM, Jeffrey Jose wrote: For UI design, I 1. Start off with pen and paper, quickly mock up several designs and interaction patterns 2. Proceed onto Photoshop/Illustrator to get a feel of how things would look at the end.

Re: [BangPypers] UI Designing

2010-05-31 Thread Kumar Gaurav
On Mon, May 31, 2010 at 3:52 AM, Gaurav Kalra gvka...@gmail.com wrote: Hi. Can you please share what sort of UI Design tools the members on the list currently use for designing web applications ? If you are talking about some quick wireframes and prototyping then check out

Re: [BangPypers] UI Designing

2010-05-31 Thread steve
Hi, addendum ... On 05/31/2010 03:23 PM, steve wrote: Hi, [...snip...] I stumbled upon this recently which might help with 1 and 2: http://konigi.com/tools/graph-paper I am not a designer, but a quick google threw up this:

Re: [BangPypers] UI Designing

2010-05-31 Thread Roshan Mathews
On Mon, May 31, 2010 at 15:27, steve st...@lonetwin.net wrote: http://www.geekchix.org/blog/2010/01/03/a-collection-of-printable-sketch-templates-and-sketch-books-for-wireframing/ That's a very nice find, Steve. Although I guess it's something that only the artistically inclined could use

Re: [BangPypers] Extracting zipfile

2010-05-31 Thread Noufal Ibrahim
On Mon, May 31, 2010 at 2:55 PM, Jeffrey Jose jeffjosej...@gmail.com wrote: Correct me if I'm wrong but tab-completion doesn't work out of the box for standard python interpreter. Not by default but you need to stick 2 or 3 lines into your startup file to get it going. -- ~noufal

Re: [BangPypers] Extracting zipfile

2010-05-31 Thread Shiv Shankar
You could try Dream Pie, its from the same guy who worked on code completion for idle. Its a pretty cool replacement for both IDLE and out of the box interpreter. -- shiv ___ BangPypers mailing list BangPypers@python.org

[BangPypers] packing floating data

2010-05-31 Thread murugadoss
Hi all, I am trying to pack a float value like 45.90,43.78,543.87. i am using struct.pack( ) function. When i unpack (using struct.unpack) and print it i am getting only real part of the number. Type of the variable is long, var = 45.90 data = struct.pack(!l,float(var)) when i unpack and print,

Re: [BangPypers] packing floating data

2010-05-31 Thread Noufal Ibrahim
On Mon, May 31, 2010 at 5:34 PM, murugadoss murugadoss2...@gmail.com wrote: Hi all, I am trying to pack a float value like 45.90,43.78,543.87. i am using struct.pack( ) function. When i unpack (using struct.unpack) and print it i am getting only real part of the number. Type of the variable

Re: [BangPypers] packing floating data

2010-05-31 Thread murugadoss
hi, When i pack and unpack, i am able to get real part of the float number. can anyone please tell me, how i can pack both the real and imaginary part. Do i need to split n store the values ?? -- Thanks Regards V.Murugadoss On Mon, May 31, 2010 at 9:14 PM, Noufal Ibrahim nou...@gmail.com

Re: [BangPypers] Extracting zipfile

2010-05-31 Thread S.Ramaswamy
Not by default but you need to stick 2 or 3 lines into your startup file to get it going. -- Tab completion with the standard interpreter doesn't work on Windows even with those 2-3 lines in the startup file - GNU Readline doesn't work on Windows AFAIK. With IPython you can get it working

Re: [BangPypers] packing floating data

2010-05-31 Thread Anand Balachandran Pillai
On Mon, May 31, 2010 at 6:22 PM, murugadoss murugadoss2...@gmail.comwrote: hi, When i pack and unpack, i am able to get real part of the float number. can anyone please tell me, how i can pack both the real and imaginary part. Do i need to split n store the values ?? You seem to keep

Re: [BangPypers] packing floating data

2010-05-31 Thread Srinivas Reddy Thatiparthy
Yes, you need to pack real and imaginary parts separately.I mean ,there is no way to pass Complex object to pack method(well,struct performs conversions between Python values and C structs represented as Python bytes objects),so struct.pack('ff',realpart,imaginarypart) #provided both parts are

Re: [BangPypers] packing floating data

2010-05-31 Thread Anand Balachandran Pillai
On Mon, May 31, 2010 at 6:22 PM, murugadoss murugadoss2...@gmail.comwrote: hi, When i pack and unpack, i am able to get real part of the float number. can anyone please tell me, how i can pack both the real and imaginary part. Do i need to split n store the values ?? Did I imagine this

[BangPypers] time in seconds and milliseconds

2010-05-31 Thread murugadoss
Hi, how to represent the time in seconds and milliseconds ?A function similar to gettimeofday() in c. gettimeofday(tv, NULL) Thanks for all ur support. -- Thanks Regards V.Murugadoss ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] time in seconds and milliseconds

2010-05-31 Thread Pradeep Gowda
On Mon, May 31, 2010 at 8:33 PM, murugadoss murugadoss2...@gmail.com wrote: how to represent the time in seconds and milliseconds ?A function similar to gettimeofday() in c. gettimeofday(tv, NULL) http://docs.python.org/library/time.html Which functions have you YOU tried so far? Your

Re: [BangPypers] time in seconds and milliseconds

2010-05-31 Thread murugadoss
It is done. Thank u -- Thanks Regards V.Murugadoss On Tue, Jun 1, 2010 at 10:19 AM, Pradeep Gowda prad...@btbytes.com wrote: On Mon, May 31, 2010 at 8:33 PM, murugadoss murugadoss2...@gmail.com wrote: how to represent the time in seconds and milliseconds ?A function similar to

[BangPypers] sending binary files over socket

2010-05-31 Thread murugadoss
hi, I need to pack and send a binary file over socket. The binary file is already existing. Do i need to unpack and read the file and then pack it once again using struct.pack or i can directly send the binary file. Since the binary file is very big,reading and packing is little difficult in