1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Olegator [25]
3 years ago
8

Make a hierarchical directory structure under /root that consists of one directory containing three subdirectories.

Computers and Technology
1 answer:
Alika [10]3 years ago
5 0
You can make a hierarchical directory structure under /root that consists of one directory containing subdirectories  by using cd and mkdir
the mkdir command created the directories while the cd command changes which directory you're currently in
You might be interested in
The Go To feature can be accessed from which of the following dialog boxes?
Aliun [14]

Answer:

hoose the answer.

•Font

•Open

•Insert Hyperlink

Explanation:

4 0
3 years ago
What are the differences between tkinter toolkit and PyQt?
lesantik [10]

Answer:

See the explanation  

Explanation:

tkinter toolkit                                            

  • Easy to use
  • Easy to learn
  • Easy to debug
  • Good for simple tasks
  • TkInter applications are simpler as compared to PyQt because it is included in standard Python distribution.
  • Faster than PyQt.
  • Does not have advanced widgets.
  • No interface builder available.
  • Free for commercial utilization.

PyQt

  • More flexible in terms of coding.
  • Harder to debug as compared to tkinter
  • GUI is clearer in display than tkinter
  • Widgets are more interactive than that of tkinter
  • size of a PyQt program is larger than that of tkinter
  • uses a variety of paltform APIs and gives primary access to these APIs through a unique API.
  • Has an interface builder that allows to design interfaces without writing any code.
  • Has modern widgets.
  • Due to its vast interface and several UI components it is a bit confusing to learn as compared to tkinter.
  • Commercial license is required to release the code.
  • Cross-platform and native GUI.

Widgets are GUI components such as buttons, labels, menus.

a) Label

This is a tkinter widget to show the text or image on the screen. It looks like a display box. The user can easily edit or update label.

For example to display a label with text "Hello World" the following chunk of code is used:

import tkinter

widget = tkinter.Tk()

label =tkinter.Label(widget, text="Hello World")

label.pack()

tkinter.mainloop()

b) Entry

This is a tkinter widget to accept the text input from user. For example if you want to get a single line text from user then you can use Entry widget. The code below displays an entry widget with the message: Enter input text: Here the user can input the text.

import tkinter

widget = tkinter.Tk()

entry = tkinter.Entry(widget)

entry.insert(0, "Enter input text:")

entry.pack()

tkinter.mainloop()

c) Button

This is a tkinter widget to add a button in an application. You can enter some text or an image in this button convey its purpose. When you click on the button a function is called or an event is emitted.

The following chunk of code displays a button with the text "Click Me" on the button.

import tkinter

widget = tkinter.Tk()

button = tkinter.Button(widget, text="Click Me")

button.pack()

tkinter.mainloop()

d) Frame

This is a tkinter widget to group together and organize other widgets and arranges their position.

The following chunk of code displays an outer frame with a label with text "parent label" and an inner frame with a label of text "child frame".

import tkinter

widget = tkinter.Tk()

frame = tkinter.LabelFrame(widget,text="parent frame")  

label= tkinter.Label(frame,text="child frame")

frame.pack(padx=10, pady=10)

label.pack()

tkinter.mainloop()

5 0
4 years ago
The most direct way for Jonothan to gain on-the-jib experience and earn money while attending school is to apply for
Sholpan [36]
A part-time job would provide on-the-job experience while also giving him a flexible schedule competing with school.
4 0
4 years ago
What do you call the parts of the motor that do not move?.
olasank [31]

Answer:

The stator..?

Explanation:

Stators are the stationary parts of motors. Dunno if I'm right lol

3 0
3 years ago
private int product(int n) { if(n <= 1) return 1; else return n * product(n-2); } What is the output when product(6) is calle
sergeinik [125]

Answer:

48

Explanation:

In this code, there is a method i.e "product" of "int" type it means it returns the integer value. The description of the given code is given below

  • Initially when product(6) function is called the else block will be executed so return(6)*product(4).
  • As we saw that above product(4) is a recursion function " Function which calls itself again and again " . so again else block is executed now the value is return(6)*return(4) *return(2);

So it returns 48

7 0
4 years ago
Other questions:
  • Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a m
    6·2 answers
  • Type the correct answer in the box. Spell all words correctly.
    9·1 answer
  • Write down the complete procedure for creating ExcelSheet.
    8·1 answer
  • Dillion’s company has decided it wants to find a way to do a better job of tracking clothing inventories. Dillon has been asked
    5·1 answer
  • I'm stuck on this Java exercise problem and don't know how to organize my code with proper formatting and it's not helping that
    14·1 answer
  • Karen is learning about searching the Internet and collaborating with other people online. ​ ​ Karen has found and removed all W
    7·1 answer
  • SHOW ALL YOUR WORK. REMEMBER THAT PROGRAM SEGMENTS ARE TO BE WRITTEN IN JAVA.
    13·1 answer
  • Which of these communication avenues is not regulated by the Federal Communications Commission (FCC)?
    12·1 answer
  • Match the title of the work of fiction to the description given.
    8·1 answer
  • A two-dimensional array has been defined to hold the quantity of each of 5 different healthy snack products sold in a tuckshop d
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!