On 12/09/12 21:20, Aaron Pilgrim wrote:
Hello,
I am trying to write a small program that converts ascii to binary.
Can you explain what you mean by "ascii to binary"? Any of these
could be described that way:
'hello world'
=> '68656c6c6f20776f726c64'
=> 'begin 666 \n+:&5L;&\\@=V]R;&0 \n \nen
On Wed, Sep 12, 2012 at 7:20 AM, Aaron Pilgrim wrote:
> Hello,
> I am trying to write a small program that converts ascii to binary.
>
> I tried using the python reference library section 18.8 but had
> trouble understanding how to make it work.
>
> Here is the code I am currently trying to use:
On 09/12/2012 07:20 AM, Aaron Pilgrim wrote:
> Hello,
> I am trying to write a small program that converts ascii to binary.
>
> I tried using the python reference library section 18.8 but had
> trouble understanding how to make it work.
If you supplied a link, we might be able to figure out what s
On 09/12/2012 07:54 AM, Joel Goldstick wrote:
>
> A couple of thoughts. The section you reference suggests using higher
> level modules such as uu.
> uu seems to want to read an ascii file and write a uu encoded file.
>
> I just read the wikipedia article on uuencoding, since I have heard of
> i
On Wed, Sep 12, 2012 at 7:20 AM, Aaron Pilgrim wrote:
> Hello,
> I am trying to write a small program that converts ascii to binary.
>
> I tried using the python reference library section 18.8 but had
> trouble understanding how to make it work.
>
> Here is the code I am currently trying to use:
Hello,
I am trying to write a small program that converts ascii to binary.
I tried using the python reference library section 18.8 but had
trouble understanding how to make it work.
Here is the code I am currently trying to use:
def main():
import binascii
myWord = input("E