5 questions
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 ...
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,...
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.
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 ...
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.