i used this
but as the directory has whitespace in path-name it cause error ,how i can solve this?
I am trying to make a simple piece of software that automatically makes a list based on the file contents of any newly inserted USB memory stick.
using ubuntu 14.04.
now using os.listdir() and glob.glob() work fine on their own...
I Have a directory and i have some files below
How can use glob function to grep abc files , i have created a variable "text" and i assigned value as "abc", please suggest me how can we use glob.glob( ) to get the output as below
i have written like below
text = abc