Re: [BangPypers] python program to fetch input data in complete bit format

2010-07-07 Thread Gopalakrishnan Subramani
If I remember, Python 3.0 gas byte as a data type where you can play with bytes. Otherwise you can open file with read and binary mode rf = open("README.txt", "rb") bytes = f.read(n) # n bytes or simply read() but it returns string wf = open("README.txt", "wb") wf.write(bytes) #technically str

Re: [BangPypers] python program to fetch input data in complete bit format

2010-07-07 Thread Rahul R
On Thu, Jul 8, 2010 at 1:24 AM, Noufal Ibrahim wrote: > Rahul R writes: > > > i was wondering if there is a way to fetch the raw data of any file i > > input for example if i accept a text file or a video file (particualr > > large video files ). i could fetch the the equivalent bits and store >

Re: [BangPypers] python program to fetch input data in complete bit format

2010-07-07 Thread Noufal Ibrahim
Rahul R writes: > i was wondering if there is a way to fetch the raw data of any file i > input for example if i accept a text file or a video file (particualr > large video files ). i could fetch the the equivalent bits and store > it in another file [...] I'm not sure what you want to do. Wha

[BangPypers] python program to fetch input data in complete bit format

2010-07-07 Thread Rahul R
i was wondering if there is a way to fetch the raw data of any file i input for example if i accept a text file or a video file (particualr large video files ). i could fetch the the equivalent bits and store it in another file --- Rahu

[BangPypers] Fwd: [Inpycon] Registrations open

2010-07-07 Thread Noufal Ibrahim
Sorry again. My mail client forwards emails as attachments and that gets scrubbed by mailman apparently. Noufal Ibrahim writes: > The registrations for the conference are offically open as per what we > discussed on email. The link to the blog post with the details is here > http://in.pycon.or

[BangPypers] Fwd: Registrations open

2010-07-07 Thread Noufal Ibrahim
PyCon India registrations are open. Please spread the word and let your friends know. -- ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Fwd: [Inpycon] T-shirt/Logo designs

2010-07-07 Thread Santosh Rajan
Hi Noufal, I entirely agree with you, nothing like the community coming up with the design. On Wed, Jul 7, 2010 at 3:56 PM, Noufal Ibrahim wrote: > Santosh Rajan writes: > > > Why don't you contact these guys. > > http://www.inkfruit.com/ > > > > I am suggesting them

Re: [BangPypers] Fwd: [Inpycon] T-shirt/Logo designs

2010-07-07 Thread Noufal Ibrahim
Santosh Rajan writes: > Why don't you contact these guys. > http://www.inkfruit.com/ > > I am suggesting them because I read an article > about them in rediff recently. > http://getahead.rediff.com/slide-show/2010/may/28/slide-show-1-achievers-interview-with-founders-of-