Computer Science, asked by jeevithaguna10, 5 months ago

list and explain the resource file? answer for 5 mark level​

Answers

Answered by sangeetabhanwar
0

Answer:

Resource files are ASCII files containing lines of data in which values are assigned to resources.

There are three levels of resource files:

1) a system resource file,

2) a user resource file, and

3) an individual script resource file.

Each one of these, if they exist, are loaded in the order listed,

Explanation:

The first resource file loaded, the system resource file, is called "sysresfile" and must reside in the directory

The second resource file loaded (if it exists) is a user resource file called ".hluresfile" that should reside in a user's home directory. This resource file will be loaded every time that user runs PyNGL, and will be loaded after the system resource file.

The third resource file loaded (if it exists), is the individual script resource file. This file needs to have the same name as the name argument to Ngl.open_wks, with a ".res" appended. Any resources set in this file will override resources set in the ".hluresfile" or "sysresfile" files.

Similar questions