Category "directory"

How to test a php login connected to a mysql db through xampp?

hello this is my first post on stackoverflow i am at beginner level at php, mysql and work on a php log in page connected to a mysql database which i did try to

How to create a folder in C

How can I create a new folder for an email manager, I have this code but It doesn't work. void create_folder() { int check; char * dirname; clrscr();

Remove empty folders (Python)

This is the folder tree: FOLDER\\ \\1\\file \\2\\file \\3\\ \\4\\file The script should scan (loop) for each folder in FOLDER and

How to open file in another directory in java?

How to open a file that is not present in the current directory but in another directory. For example, I have a folder F:/test and my file is in F:/test/test2/d

Django Import Error: No module named apps

I just checked out a project with git. The project structure is project apps myapp settings __init__.py __init__.py manage.py

Getting Downloads Folder in C#? [duplicate]

I have made some code that will search directories and display files in a listbox. DirectoryInfo dinfo2 = new DirectoryInfo(@"C:\Users\Hunte

Is it possible to use "/" in a filename?

I know that this is not something that should ever be done, but is there a way to use the slash character that normally separates directories within a filename

JavaFX FileChooser and DirectoryChooser

I came across a little problem now with JavaFX. I tried to make a filechoosing in my code where I can point on a FOLDER instead of a file. Currently I don't hav

What is the correct way to setup multiple logically organized sub folders in a terraform repo?

Currently I am working on a infrastructure in azure that comprises of the following: resource group application gateway app service etc everything I have is in

How to know the folder size in a zipfile

I know that you can get the size in bytes of a file in a ZIP file using the .file_size method But is there any what I can get the size of a folder instead? Ex:

Listing all directories recursively within the zipfile without extracting in python

In Python we can get the list of all files within a zipfile without extracting the zip file using the below code. import zipfile zip_ref = zipfile.ZipFile(zipf

How to reliably open a file in the same directory as the currently running script

I used to open files that were in the same directory as the currently running Python script by simply using a command like: open("Some file.txt", "r") However,

How do I list all files of a directory?

How can I list all files of a directory in Python and add them to a list?