If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into regex in Python. It lets you describe patterns instead of writing ...
conda create -n targetdiff python=3.8 conda activate targetdiff conda install pytorch pytorch-cuda=11.6 -c pytorch -c nvidia conda install pyg -c pyg conda install rdkit openbabel tensorboard pyyaml ...