Answer:
import os
def create_python_script(filename):
comments = "# new python script file"
with open(filename,"w+") as file:
file.write(comments)
filesize = os.path.getsize(filename)
print(f"The size of the file is: {filesize}")
create_python_script("program.py")
Explanation:
The os module is a built-in python file that is used to interact with the operating system terminal. The with keyword is used to create and open a file with write privileges with no need to close the file.
The path.getsize() method is used to get the size of the newly created file which is printed in the console.
Answer: object that persist set of values and operations as behavior
Explanation: Abstract data types(ADT)are those object value which are dependent upon the collection of the values and collection of the operations.The organization of the data object is not specified in ADT but the operations that are to be carried out are defined in it.
The implementation individuality displayed by the ADT and hiding of the representation or design makes it abstract.
Answer:
People have been ringing the death knell for email on and off for a few years now. But should we be listening?
The latest peal came from French IT company Atos, which declared that it would phase out internal emails by 2013. And for reasons we’ll all recongize: too much time spent dealing with too many emails, of which too few are useful and too many are spam. CEO Thierry Breton said his staff would instead use good old face-to-face communication, as well as instant messaging (IM) and social media tools.
Home page usually refers to the page that initially displays if you type in http://www.example.com/ It's usally named index.html, index.shtml or the like.
Answer:
<h3>You can place watermarks and other recurring elements on a DTP document by following the points below:</h3><h3 />
- Open the DTP document on which watermark is to be placed.
- Click on Page Layout tab
- Locate the Page Background group and click it.
- Select the Watermark Option and then select Custom watermark.
- A box will open when you click the Text Watermark.
- Type the text you want and click on Insert.
- All other changes can be done using options.
<h3>I hope it will help you!</h3>