Life is a series of choices. Every step is a choice, an option, a decision. We try our best to make these choices based on what we know. What we pick may not be based on what is right and what is wrong, but what we believe in our minds and hearts. Whatever we do decide, we have to compromise. It is always one or the other.

www.flickr.com
This is a Flickr badge showing public photos and videos from ntheother. Make your own badge here.

The Glider

The glider: an Appropriate Hacker Emblem

Categories

Banner

Power Content

N.

Python Fix: cp720 encoding

I recently found a fix for getting the error unknown encoding: cp720 in a third party python application. I had previously written a work around for your own created applications but for third party applications it would be somewhat tedious to go around and implement this solution, also it may provide unnecessary and unknown outcomes.

The Error:

Command failed: unknown encoding: cp720

The Solution:

  1. Download cp720.zip
  2. Deflate the zip file.
  3. Copy or Move the file cp720.py into your python encodings folder.
    • Example: C:\Python24\Lib\encodings\

Restart the python application and hopefully that should work for you now.

Resources:
http://bugs.python.org/issue1616979
https://lists.ubuntu.com/archives/bazaar/2006q4/020513.html

10 Responses to “Python Fix: cp720 encoding”

  1. Navy Girl |

    NO COMMENTS ?? OOPS sorry ! it hurts right :(

    i just woke up from my hibernation & realized that i missed lots of posts !

    anyways .. i’m not good at this .. but i’m sure its something good since you got it fixed it lol .. sooo good work buddy! :D

  2. Marzouq |

    Got to love code! Always a fix if you look at it long enough, then your eyes start tearing from the screen! looool!

  3. Vixen |

    I’m a mac user n__n but good job i guess! :P

  4. N. |

    Navy Girl,
    What hurts? lol. La its okay 3adi ;p and thanks!

    Marzouq,
    Tell me about it! Sometimes you feel you wanna tear your eyes out! That’s how I sort of feel now, trying to find a custom firmware for my psp slim lol.

    Vixen,
    Hmm, I’m not sure you’d get this error on a Mac or not. The codec is originally for Arabic something. And thanks :p

  5. Navy Girl |

    i guess since i’m hurt i feel kel shy hurts lol ! :P

  6. N. |

    Navy Girl,
    Matshofeen shar enshalla o salamat! :l

  7. Hasen |

    that’s awesome man, thanks! very much!

  8. mehdi |

    Hi,
    Thank you very much. I had a big problem with cp720 encoding.

  9. Free Gadget |

    Great reading, thank you

  10. someone |

    Thanks a lot. Yo saved me a lot of time.

Reserved, going to add something here later.