Chilkat cracking of Python's MHT conversion module

Source: Internet
Author: User

Find a method to create the MHT format within half a day and find that only one library can complete the purpose. After downloading the file, I am surprised that there is a code!

In consideration of the fact that many male compatriots hate the registration code, the solution is released for your use.

Chilkat has implemented a lot of modules with code. After tracking, it finds that py extensions are written through C and then verified in extensions.

After the system comparison, it writes the Registry to record the date, and drops the date to a place after encoding to verify whether the current time has exceeded 30 days.

Well, there is no limit to the 30-day trial. My brother will always be 18 years old and will always be the first time.

Why does the author leave a hand on the subitem name? And press enter? Debugging takes only half a day to realize the cause of keyopen error.

Set the followingCodeIt will always be the first time you call the front of all Chilkat databases. For other modules, such as chilkatzip, you only need to change chilkatmht to chilkatzip ~ Remove the carriage return to chilkatzip ~ Other modules are too lazy to test.

Import WIN32API
Import win32con
Keypath = 'Software \ Chilkat software, Inc .'
Key = WIN32API. regopenkey (win32con. HKEY_LOCAL_MACHINE, keypath, 0, win32con. key_all_access)
WIN32API. regdeletekey (Key, 'chilkatmht \ r \ n ')

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.