Answer:
import sys, time
from os import walk, remove
from os.path import exists, join, getsize, getctime
file_counter = [ ]
folder_name, file_size = argv
isExist = exists( folder_name )
if folder_name == True:
for root, folder, files in walk( folder_name ):
for file in files:
if getsize( join ( root, file ) ) >= file_size:
file_log = [ ]
file_log.append( file )
file_log.append( join ( root, file) )
file_log.append( time.ctime( getctime( file ) ) )
file_counter.append( file_log )
else:
remove ( join ( root, file ) )
Explanation:
The python script above output the filename, size and file creation date of any folder passed to it.
Answer:
well techincly in windows 10 the only thing that is in the device manager is the services and software it doesn't tell you what devices are connected only what is running and the prefrmance
of your machine
Explanation:
Answer:
This code is written in MATLAB.
function [result] = isPalindrome(array,length)
if length == 0 || length == 1 %if the array is empty or contains only one element, the array is a palindrome
result = 1;
else
for i = 1:length/2 %check all the elements forward and backward until the middle is reached
if array(i) ~= array(end+1-i)
result = 0;
return
end
end
result = 1;
end
Explanation: Please read the comments in the code. In MATLAB, Boolean values are 1 or 0 instead of True or False.
Answer:
The answer is action eventlistener
Explanation:
It is an event handler and it is easy to implement.In java we call them even listeners it is function or a sub routine or a procedure that waits for an event to occur and respond to an event from a GUI component.
Answer:
Hope this helps pls mark brainiest
Explanation:
<h2> </h2><h2>So we know Student B is gonna get a computer, but its not stated if its A desktop or laptop. hmm,.. So ima do both for the desktop he would what a computer with "Ethernet Storage Fabrics: 25GbE, 50GbE" because If he going to do videos in todays standers it would be in 4k and 8k. he would also need at least 16 of ram if not 32gb. and since he has no cap budget I would personally go for the i9, but he can go for the i7, not much of a fan of the i5 for video productive, for storage he would need a lot for video editing or other stuff so I would go for the main boot (sys) a and for the actually storage for the videos I would go for a with good rpm. For I would go for something with 8-10 or higher.</h2>