On Tue, Jun 1, 2010 at 10:31, murugadoss wrote:
> I need to pack and send a binary file over socket. The binary file is
> already existing.
>
Define a protocol, using http://code.google.com/p/protobuf/
That's one way.
Roshan Mathews
___
BangPypers maili
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
my
It is done. Thank u
--
Thanks & Regards
V.Murugadoss
On Tue, Jun 1, 2010 at 10:19 AM, Pradeep Gowda wrote:
> On Mon, May 31, 2010 at 8:33 PM, murugadoss
> wrote:
> > how to represent the time in seconds and milliseconds ?A function similar
> to
> > gettimeofday() in c.
> >
> > gettimeofday(&t
On Mon, May 31, 2010 at 8:33 PM, murugadoss 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 attempts at getting other
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
http://mail.py
On Mon, May 31, 2010 at 6:22 PM, murugadoss wrote:
> 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 or did you say "im
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 fl
On Mon, May 31, 2010 at 6:22 PM, murugadoss wrote:
> 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 posting without takin
>
> 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 wo
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 wrote:
> On Mon, Ma
On Mon, May 31, 2010 at 5:34 PM, murugadoss 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 is long,
> var =
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
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
http://mail.python.org/mailman/li
On Mon, May 31, 2010 at 2:55 PM, Jeffrey Jose 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
http://nibrahim.net.in
__
On Mon, May 31, 2010 at 15:27, steve 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 well. I usually pref
On Mon, May 31, 2010 at 3:16 PM, Anand Balachandran Pillai <
abpil...@gmail.com> wrote:
> On Sun, May 30, 2010 at 9:56 PM, JAGANADH G 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
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:
http://www.geekchix.org/blog/2010/01/03/a-collection-of-printable-s
On Mon, May 31, 2010 at 3:52 AM, Gaurav Kalra 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 http://www.balsamiq.com/builds/mo
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.
Repe
On Sun, May 30, 2010 at 9:56 PM, JAGANADH G 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 this.
>
> I was t
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 wrote:
> Hi.
>
> Can you please share what sort of UI Design tools the members on the
> li
On Mon, May 31, 2010 at 2:55 PM, Jeffrey Jose 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 it is quite easy to enable.
http://docs.python.org/library/rlcompleter.html
>
>
--
--Anand
__
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. w
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 writ
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 wrote:
> On Mon, May 31, 2010 at 8:32 AM, Jeffrey Jose
> wrote:
> > Dear Murugadoss,
> >
> > If you're starting out Python, I highly recommend
25 matches
Mail list logo