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.
therefore the frequency = 6×10^14
Answer:
Victoria has a tendency of playing with her hair when she gets nervous.
Explanation:
I believe this is what you are asking for.
:))))
Answer:
instrumental-rational
Explanation:
- A sociologist Max Weber interpreted the effects of Industrial Revolution on social actions. He described the four types of social actions:
Traditional Social Action
Affective/Affectional Social Action
Value Rational Social Action
Instrumental-Rational Social Action
- Instrumental-rational means to pursue most efficient means to achieve a specific goal.
- The goals of the actions are also used as a way of achieving certain objectives.
- So instrumental rational means doing anything it takes to reach a certain goal that does not take into account the consequences of the actions taken to achieve this goal.
- For example an organization's goal is to make maximize profit so it will use most effective and economical means to achieve this goal. For example by decreasing workers not considering the affects on the workers of this action.
- Another example is of a person who wants to gain money. He might rob others or sell drugs etc to get money. A student whose goal is to pass an exam in order to get a degree will give his time to study and might cheat in exam to pass the test.
- In short any actions can be taken which leads to the achievement of a certain goal.
- According to Weber instrumental rationality is destructive because rather than pursuing means and making decisions by taking moral values into consideration, the basic focus is to achieve a goal and make decisions using efficiency not considering moral values.