-
-
Save kagermanov27/4930dbeab6de25facef4543b9c473967 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if self.query.q in os.listdir("datasets/test"): | |
file_names = os.listdir("datasets/test/{}".format(self.query.q)) | |
else: | |
os.mkdir("datasets/test/{}".format(self.query.q)) | |
file_names = os.listdir("datasets/test/{}".format(self.query.q)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment