Getting a Google Drive Folder ID from a Path Using Google Colab

This is based on the following page. https://stackoverflow.com/questions/67324695/is-there-a-way-to-get-the-id-of-a-google-drive-folder-from-the-path-using-colab By writing the following code, you can get a Google Drive folder ID from a path. # f d # ! f # p f p r r p r a i r ド o i k i o 例 t d i ラ m v o p m ) h n イ e r マ = t ブ g . a i k イ = ( の o m の n o ド g " マ o o イ s r ラ " e h ウ g u ン t a イ / t t ン l n ス a . ブ c _ t ト e t ト l x へ o i p . ( ー l a の n d s c ' ル t i t ( : o / k t d e p / l c o r を n a / a o r 取 t t d b n a i 得 / h r t m す d ) i i e p る r v m n o i e p t r v . o / t e g r d / o t r g M o i e y g d v t D l r e _ r e i ' i i . v ) d v c e e o " m / d r i v e / u / 1 / f o l d e r s / { } " . f o r m a t ( f i d ) ) You can also try it from the following notebook. I hope you find this helpful. ...

July 25, 2022 · 2 min · Nakamura