On Tue, Jun 1, 2010 at 10:31, murugadoss murugadoss2...@gmail.com 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
I am playing around with Pygments 1.3.1 source .I have a couple of questions.
1.Pygments docs says use python 2.4 or above.(from
Pygments-1.3.1/docs/build/installation.html) ;there are lots of print
statements in source but in 3.0 it has a become a function,so how does it work
in 3.0 ?
2.I have
On Tue, Jun 1, 2010 at 12:40 PM, Srinivas Reddy Thatiparthy
srinivas_thatipar...@akebonosoft.com wrote:
I am playing around with Pygments 1.3.1 source .I have a couple of questions.
1.Pygments docs says use python 2.4 or above.(from
Pygments-1.3.1/docs/build/installation.html) ;there are lots
On Tue, Jun 1, 2010 at 12:40 PM, Srinivas Reddy Thatiparthy
srinivas_thatipar...@akebonosoft.com wrote:
I have installed it from source (well,i have windows xp) by running python
setup.py install and when i looked for docs to invoke on a file say Test.cs
there is a pygmentize file to invoke
Hi,
I am trying to unpack a binary file,
rfile = open(filename,'rb')
print file Size, os.path.getsize(filename)
text = rfile.read()
print Text, text
while(text != 'EOF'):
text = struct.unpack(!c,text)
Message = Message +
On Tue, Jun 1, 2010 at 12:57 PM, murugadoss murugadoss2...@gmail.com wrote:
[..]
Can anyone please tell me, the way to unpack the binay data from the file.
It would depend on what is in the file. You need to know exactly
what's in there and how it's packed to 'unpack' it. If a file has, for
pygmentize is just a normal python script. You should have no problems
running it under windows.
Well, it's a shell script with no extension , i opened it in an editor ,it
contains python code.see the below code.
#here goes the path to python interpreter,actually i overriden that data,so
Oops,my bad! My version of python is 3.0.I didn't notice it and un-installed
it and Pygments working nice on 2.6.
ThanksRegards,
Srinivas Reddy Thatiparthy,
Mobile:9393099772,
___
BangPypers mailing list
BangPypers@python.org
What are the best python books you have read? should be at least on par with
python cookbook.
TIA for suggestions.
ThanksRegards,
Srinivas Reddy Thatiparthy,
Mobile:9393099772,
___
BangPypers mailing list
BangPypers@python.org
Dive into python is a really good book.
On Wed, Jun 2, 2010 at 10:59 AM, Srinivas Reddy Thatiparthy
srinivas_thatipar...@akebonosoft.com wrote:
What are the best python books you have read? should be at least on par
with python cookbook.
TIA for suggestions.
ThanksRegards,
Srinivas Reddy
10 matches
Mail list logo