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:
D. All of these choices are correct
Explanation:
Electronic invoice presentment and payment, otherwise known as EIPP are business-to-business systems that combine e-invoicing and e-payment processes for the purpose of sending invoices to customers via Web portal or via a secure network by the use of a third party service provider. They are also used for receiving payer-initiated, third-party-processed, and ACH-network-settled wire transfers.
Answer:
B. assistant director
Explanation:
Filmmaking can be defined as the art or process of directing and producing a movie for viewing in cinemas or television. The process of making a movie comprises of five (5) distinct phases and these are;
1. Development.
2. Pre-production.
3. Production.
4. Post-production.
5. Distribution.
An assistant director can be defined as an individual who is primarily saddled with the responsibility of reviewing and making script-breakdown, making daily call sheets of the crew, arranging logistics, and tracking the film production schedule. Also, an assistant director normally functions in the pre-production process of a movie and are expected to work closely with the director and other crew members, so as to understand their requirements or needs.
Hence, an assistant director is a specific job that usually includes the important pre-production step of making the script breakdown.
Answer:
File transfer protocol (FTP)
Explanation:
An information can be defined as an organized data which typically sent from a sender to a receiver. When a data is decoded or processed by its recipient it is known as information.
Generally, there are several channels or medium through which an information can be transmitted from the sender to a receiver and vice-versa. One of the widely used media is the internet, a global system of interconnected computer networks.
There's a standard framework for the transmission of informations on the internet, it is known as the internet protocol suite or Transmission Control Protocol and Internet Protocol (TCP/IP) model. One of the very basic rule of the TCP/IP protocol for the transmission of information is that, informations are subdivided or broken down at the transport later, into small chunks called packets rather than as a whole.
The three (3) main types of TCP/IP protocol are;
I. HTTP.
II. HTTPS.
III. FTP.
File transfer protocol (FTP) is used between two or more computers. One computer sends data to or receives data from another computer directly through the use of network port 20 and 21.