I\'m just trying to write a little application that takes a value from a file named \'DATA.DAT\' and renames the folder which contains that file with that value.
Does anybody know how to calculate the amount of space occupied by the file system alone? I am trying to calculate how much space files and directories occupy in a disk without iterating thru the ent
I am writing a simple Python script to rename all files in a directory to replace all spaces in the file name with hyphens.I have the following which is crashing on os.rename
Im new to programmin开发者_StackOverflowg and Im having a problem with a listbox. Im reading text from a file, and I want the last file in the file to be the first in the listbox. How to I do this??
I am trying to create a tar with follwing command: tar -cv开发者_运维问答f myFile.tar -X exclude-files.txt myContentDirectory
Can anyone here tell me how files are usually saved in hard disk? Is the contents are represented using binary value i.e in 1\'s and 0\'s. I开发者_C百科f so, is it possible to print those 1\'s & 0
I need to parse a java file (actually a .pdf) to an String and go back to a file. Between those process I\'ll apply some patches to the given string, but this is not important in this case.
When dealing with a count mismatch fr开发者_开发问答om fwrite (and therefore error), dealing with the error, what is the correct approach?
I currently wrote a small program for a manager at work. It inputs an invoice number and creates that into a button, going down in a row. Then inputs a date of approval and creates that into a label(o
When our IT person added my Domain User Account to a Group Account, files which I created listed Group Account Name as Owner instead of my User Account Name. Is there a way to attach user to file owne