size tag

5 questions


1 answers
100 views
0
How do I check the file size?

We are working on Python code in the window environment.Depending on the size of the file, I'm working on a different code (such as writing an e-mail if it's over 100 kb)I can do everything else, but ...

2 years ago

1 answers
92 views
0
I want to find out the file size with C. Help me

I want to know how to find out the size of the file.Before saving the entire file as a string, I want to read it after malloc just the size of the file.I'm using malloc(MAXSIZE*sizeof(char)) together,...

2 years ago

1 answers
109 views
0
How do I figure out the length of the array?

How do I figure out how many elements can fit in an array?It's not how many values I've allocatedI'd like to know how many can fit.

2 years ago

1 answers
114 views
0
To determine the length of an array

Is arr._len_() the only function that returns the array length?As far as I know, I've learned that it's not good to write functions or variables that start with an underline (_), but I can't find any ...

2 years ago

1 answers
83 views
0
Obtaining Python Directory Capacity

Is there a way to get the capacity of the directory in Python?I thought that using os.path.getsize() as you would get the file size would give you the capacity of the directory, but it all comes out a...


© 2024 OneMinuteCode. All rights reserved.