Original address: http://blog.csdn.net/zanfeng/article/details/52164124Use the print output for each type of
String
Integer
Floating point number
Out-of-degree and precision control
Strhello = ' Hello Python ' print
Print and print previews are often used in general software development, and for the document/view (Doc/view) framework in VC6.0, the default print and print previews are easy to use. However, if the application is based on a dialog box, there is no
System. Drawing. printing;Classes in The namespace can be used for application.Program.The printed category isPrintdocument, MethodPrint ()Will trigger a series of trial use, and finally useOnprintpage (),Send the response to the printer.
Print
I want to explain the print of Python and learn pythonprint.
Eval ()
Let's take a look at this stuff before we print it. It is not useless, because it may be used in some cases.
Copy codeThe Code is as follows:>>> Help (eval) # This is a rare
Recently, a winform printing function is provided. I don't know much about this because I made it for the first time. So I found a lot of information online. Finally, sort out the source code as follows:
Using system;Using system. Collections.
Some basic usage of print is also involved in the previous article. This article focuses on the basis of the review and try to add as much content as possible.
Eval ()
Let's take a look at this stuff before we print it. It is not useless, because
This article introduces the differences between the three output functions echo and print and Print_r, let's take a look at the usage speed issue.
The difference between 1.echo and print
The functions of Echo and print in PHP are basically the same (
eval ()
Before print does anything, look at this stuff first. It's not useless, because it might be used at some point.
Copy the Code code as follows:
>>> Help (eval) #这个是一招鲜, if you don't understand how to use it, use this to read the
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.