问题:
So I'm trying to git clone and cd into that directory using Google collab - but I cant cd into it.因此,我正在尝试使用 Google collab 将 git clone 和 cd 复制到该目录中 - 但我无法 cd 进入该目录。 What am I doing wrong?我究竟做错了什么?
!rm -rf SwitchFrequencyAnalysis && git clone https://github.com/ACECentre/SwitchFrequencyAnalysis.git !rm -rf SwitchFrequencyAnalysis && git clone https://github.com/ACECentre/SwitchFrequencyAnalysis.git
!cd SwitchFrequencyAnalysis !cd 开关频率分析
!ls datalab/ SwitchFrequencyAnalysis/ !ls 数据实验室/ SwitchFrequencyAnalysis/
You would expect it to output the directory contents of SwitchFrequencyAnalysis - but instead its the root.您会期望它输出 SwitchFrequencyAnalysis 的目录内容 - 而不是它的根。 I'm feeling I'm missing something obvious - Is it something to do with being within the python interpreter?我觉得我错过了一些明显的东西 - 这与在 python 解释器中有关吗? (where is the documentation??) (文档在哪里??)