Python completes the same functions as C #.

Source: Internet
Author: User

Recently, the computer has been infected with viruses. Why? Ntldr file exception always reported, causing the computer to fail. Fortunately, there is a USB flash drive, and it is OK to copy the ntldr and ntdetct.com files to the C root directory,ProgramThe filesystemwatcher class is used as the simplest pallet program.

The same monitoring of ntldr and ntdetct.com filesCode:
In vs2008, the size of the EXE file written in C # is 16 KB, and the memory consumption is 22 MB.
Prthon is used to override sharpdevelop. The controls use icons, exe files 7 k, and runtime memory consumption 46 m.
Icon size: 3 K

The above data was tested last night, but this morning I found it changed. The memory consumption of the C # Edition program reached 57 MB, and the python program was about 46 MB... haha .....

Because it is only apparent data, there is no dedicated test tool ........

Record it and find that the Python code is written using sharpdevelop. This tool still has a lot to be improved and supports it (because sharpdevelop is much better than it was when I first came into contact at the end of 07 ).

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.