My code is:
subprocess.call(["mv", "*.fasta", f"{my_model_dir}/."])
And the error code I got was:
mv: cannot stat '*.fasta': No such file or directory
I tried moving all the fasta files to other directory, but, I got an error message.
I think it's because the '*' is used as a regular expression in Python, so it's not working in this situation. To move files with a Python script to other directory, what should I do?