How to import files and run in google colab

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • This video explains how you can run your files by importing from google drive and then run it using google colab. The entire process along with code is mentioned in the file given in the link below. Please SUBSCRIBE to our channel to help us.
    LINK: drive.google.c...
    If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)

Комментарии • 175

  • @rohank9292
    @rohank9292 4 года назад +17

    The best video out there explaining how to import a file into colab. Thank you. Its made my work of getting started working with data in colab much more easier than before.

  • @littarizkiardiningrum1258
    @littarizkiardiningrum1258 2 года назад +1

    uploading files to python have been buggin me since the first time I learn how to operated it. you've been really helpful thank you :')))

  • @tshegophale2622
    @tshegophale2622 4 года назад +4

    I haven't seen any of your other videos, but I'm subscribing right away. Beautiful stuff.

  • @quratulainshoukat5676
    @quratulainshoukat5676 3 года назад +2

    God bless you soul! You saved me from so much stress. This was so helpful and easy to follow!

  • @CEPI_Cameroon
    @CEPI_Cameroon 4 года назад +2

    Excellent video! The explanation and step-by-step guide make it so understandable. Keep up the great work. I'll be watching intently.

  • @user-pg6zg2sj8h
    @user-pg6zg2sj8h 8 месяцев назад

    Thank you mere sir ko b nai ata tha kehty tutorial dekh ao.... thanks i get it you explained step by step.

  • @hssp1534
    @hssp1534 4 года назад +1

    Thank you brother..I was looking for a long time to make colab use a .bin file from my google drive..your steps helped me do it..thanks a ton!!!

  • @terrancekayton007
    @terrancekayton007 4 года назад +1

    Thanks for the quick walk-through, helpful tutorial, bro!

  • @bhaskartripathi
    @bhaskartripathi 4 года назад +4

    If we have multiple files in a python project and there is a main.py file which calls other files via importing other files. can we still run it on collab?

  • @bhaskartripathi
    @bhaskartripathi 4 года назад +1

    Very nice and precise video. The code works like a charm !

  • @uroojmughal2986
    @uroojmughal2986 3 года назад +2

    i want to execute python file on a dataset ..but in this vedio csv file is executed.. kindly tell me how to execute python file with a dataset

  • @shoyebmuhammad6308
    @shoyebmuhammad6308 4 года назад +2

    Thanks a lot brother......best wishes for you

  • @fatimaghani8253
    @fatimaghani8253 4 года назад +1

    Thanks for the simplest guidance

  • @TheALEXGallo
    @TheALEXGallo 2 года назад +3

    Hi , thanks for your video. I have a question regarding Importing folders. How do we import the complete contents of a folder from google drive that has multiple data sets within? It would take a long time to individually import the files on their own. Thank you.

  • @waleedazam6916
    @waleedazam6916 4 года назад +1

    Excellent Job

  • @kamakshisoni2091
    @kamakshisoni2091 3 года назад +1

    thank you so much .... you just saved my lots of time

  • @Dannygoler
    @Dannygoler 2 года назад +1

    Thank you, that was super helpful!

  • @revasseurborn2000
    @revasseurborn2000 3 года назад +1

    Super clear ! Thanks !

  • @stephentidi7320
    @stephentidi7320 3 года назад +1

    Thanks for the excellent video. My first import seems to be going on well

  • @rahimaagha7578
    @rahimaagha7578 4 года назад +6

    what about zip file? how can we upload zip file having images in it?

    • @techdose4u
      @techdose4u  4 года назад +1

      Search about python unzipper on Google. You should get required help :)

  • @decioferreirajr392
    @decioferreirajr392 3 года назад +1

    Thank you very much!!. Save my day.

  • @oshin33anika
    @oshin33anika 4 года назад +1

    Very helpful ... Thanks

  • @prdfrnd
    @prdfrnd 3 года назад +2

    HI could you you please help me with updated drive link, In my case the '=' sign is not appearing and at the right end I'm getting share, so please help with this.

  • @timuk2008
    @timuk2008 3 года назад

    Simply the best

  • @oumaimasouid5229
    @oumaimasouid5229 3 года назад +1

    thank you so so so so so very very very very very very much

  • @mp3311
    @mp3311 4 года назад +9

    what if i have a whole project with more files and directories?

    • @JavaidIqbal-wx9yt
      @JavaidIqbal-wx9yt 4 года назад

      We should mount the drive then will get all the files and directory her.
      from google.colab import drive
      drive.mount('/content/drive/')

  • @shubhampawar7486
    @shubhampawar7486 4 года назад +1

    Thanks a lot for helping, great video🙌🙌

  • @pushparay5554
    @pushparay5554 4 года назад +1

    Thank U so much.. So clear.

  • @suganyamurthy
    @suganyamurthy 4 года назад

    Very very useful to us

  • @user43643
    @user43643 4 года назад +2

    ur the best bro,liked, subscribed and shared hoping more videos 🔥

  • @shukumarpattnaik6921
    @shukumarpattnaik6921 3 года назад +1

    Thanks for this video 😊

  • @ochoonce9882
    @ochoonce9882 2 года назад +1

    nice, ty for the video!

  • @njoy2075
    @njoy2075 2 года назад

    Sahi bhai

  • @CSMinecraft
    @CSMinecraft 2 года назад +1

    Thanks

  • @Fran-nq2hf
    @Fran-nq2hf 4 года назад +1

    excellent and helpful!!

  • @gustavovaldivia6160
    @gustavovaldivia6160 4 года назад +1

    Thank you very much, dear friend. ¡Great video!

  • @hssp1534
    @hssp1534 4 года назад +3

    Do i have to run those pieces of code in colab every time im trying to run the same notebook?

    • @techdose4u
      @techdose4u  4 года назад +2

      Yes.......you need to authenticate your Google account in each session of colab.

  • @AmirKhan-xe5ne
    @AmirKhan-xe5ne 3 года назад

    In my get link in Google drive...id= not showing...rather something else showing...what should i do

  • @tejasbs167
    @tejasbs167 4 года назад +1

    In step 1 after copynig and paste and it is running

  • @fernandocaballero6620
    @fernandocaballero6620 3 года назад

    Very Good video bro Thx you so much

  • @JohannSuarez
    @JohannSuarez 4 года назад +1

    Thanks, dude.

  • @VishnuVardhan-vy1ve
    @VishnuVardhan-vy1ve 2 года назад

    Thanks bro for you help

  • @josevictor25101997
    @josevictor25101997 4 года назад +1

    Are you Russian? Its pronunciation is very similar to the Brazilian speaking English.
    Thanks, great video !!!

    • @techdose4u
      @techdose4u  4 года назад +1

      Welcome :) I am INDIAN 😅

    • @bostonlights2749
      @bostonlights2749 4 года назад

      More of a light Bengali Indian accent :)

  • @emeraldgreens6575
    @emeraldgreens6575 3 года назад +1

    I love the video already and say a big thank you to you. However, I noticed your video addresses .csv files, please how do we handle .py files?

  • @rashah5555
    @rashah5555 8 месяцев назад

    Please tell me how to replace URL /pages and run the code incolab for indexing

  • @apolinarcamacho5176
    @apolinarcamacho5176 4 года назад

    Thank you good sir!

  • @tram3634
    @tram3634 4 года назад +1

    Thank you sir! :)

  • @kubidem83
    @kubidem83 4 года назад

    very good

  • @priyanaik1088
    @priyanaik1088 4 года назад +1

    Thank u sir....

  • @sourhitadas3257
    @sourhitadas3257 5 лет назад +2

    How can I use the whole folder in my code in collabotary?

    • @techdose4u
      @techdose4u  5 лет назад

      You need to upload the files....the entire folder to your google drive and then you need to load the files which you need in your code in google colab. I hope this helps. Feel free to ask many times as needed.

  • @mrutyunjayashiremath5589
    @mrutyunjayashiremath5589 4 года назад +1

    thank you sir

  • @ceobe6872
    @ceobe6872 4 года назад +1

    How to extract zip,rar & tar file which present in my google drive?

  • @nimraashraf7490
    @nimraashraf7490 2 года назад

    My file is in zip form, give any suggestion, thank you, this video is very good

  • @BASSTHANAWAT
    @BASSTHANAWAT 4 года назад +1

    thank u 😁😁

  • @KRISHCHAUHAN1
    @KRISHCHAUHAN1 3 года назад +1

    I need to run mysql query in colab. Can I do this? If yes then how? Please guide

    • @techdose4u
      @techdose4u  3 года назад

      SQL queries can run on jupyter therefore it should run in colab. It is using the same notebook. You can try with the same format which you use in jupyter. Otherwise you can copy after searching on net.

  • @LearnWithHafiz1
    @LearnWithHafiz1 3 года назад

    there is nothing in the description. where is the file?

  • @harlem-amv9924
    @harlem-amv9924 3 года назад

    Can you make a video on how to run minecraft on chrome os without linux?
    Btw thanks for the tutorial needed it xd

  • @TholangJafta
    @TholangJafta 4 месяца назад

    how to use this platform to run my files and use my code to get some plots?

  • @ericksilva6689
    @ericksilva6689 4 года назад +1

    Hi, thx for the video. i have one question, this avoid gdrive quota exceeded?

    • @techdose4u
      @techdose4u  4 года назад +1

      Your memory got exhausted. You need to clear your memory I guess.

  • @jyotishikha219
    @jyotishikha219 3 года назад +1

    Pls upload tutorial to import dat file also

  • @avinashraparthi8551
    @avinashraparthi8551 4 года назад

    getting this error "module 'google.colab.drive' has no attribute 'CreateFile'" .. please help

  • @sermadreda399
    @sermadreda399 4 года назад +2

    great vedio,thankx, when I use this code to show the txt,csv files it will show distorted ! not same order in file,specially matrices
    import pandas as pd
    df = pd.read_csv('c.csv')
    df.head()

    • @techdose4u
      @techdose4u  4 года назад

      Did you forget to download the data according to code? If you didn't then try with some other file and check if it works.

  • @robnell
    @robnell 4 года назад

    What's the code to MOVE a folder in gdrive and to a Shared Drive?

  • @bhanuprakashkonapala6731
    @bhanuprakashkonapala6731 4 года назад +2

    When I run the code it shows this,
    module 'google.colab.drive' has no attribute 'CreateFile'
    explain....

  • @rev10034
    @rev10034 Год назад

    do we need to write the provided code every time to import the files

  • @hrithikvashishtha7720
    @hrithikvashishtha7720 3 года назад +1

    hii, i am not getting id my link, what to do? please help.

    • @techdose4u
      @techdose4u  3 года назад

      It's present when you select Get Sharable Link from Google drive. Read the link. ID is also in that.

  • @ericplut8930
    @ericplut8930 3 года назад

    Having issues importing because the share link is very different now. Any fix?

  • @krishnachauhan2850
    @krishnachauhan2850 3 года назад

    does colab working depends on local machines RAM? My laptop is old with 2gb RAM so everytime while running a model it crashed,

  • @user-st9zi5yy8t
    @user-st9zi5yy8t 2 года назад

    why cant i see the file link?

  • @virajgawade8832
    @virajgawade8832 4 года назад +1

    Where did you get the File ID from Step 3?

    • @techdose4u
      @techdose4u  4 года назад

      You goto your drive where you uploaded and click get sharable link. From this link, there will be ID = ' some number '. Just copy the number. That is your file id.

  • @truth2
    @truth2 Год назад

    Brother I went for deepfake on mobile, I also played all cells till create model and load checkpoints. I also mounted my Google drive, but as I started playing the cell Create A Model And Load Checkpoints it shows me error telling that the import error.. what to do now please tell

  • @omairmalam3409
    @omairmalam3409 4 года назад

    Not able to upload the file. The file has a format then the one you show. For example, the file sharable link ID ends like this: ?usp=sharing .. how would i go about resolving this?

  • @ronalynmabutas7691
    @ronalynmabutas7691 3 года назад +1

    can I import music?

    • @techdose4u
      @techdose4u  3 года назад

      Not sure about that 😅

  • @devinhunter8609
    @devinhunter8609 4 года назад +1

    Is this method applicable for txt files as well?

  • @AliAli-ow6zw
    @AliAli-ow6zw 3 года назад

    How unload data from Google drive to Google colab using mobile

  • @shohanabdullah4857
    @shohanabdullah4857 4 года назад +1

    sir,how to remove this colab from my computer???can u pls tell me?

    • @techdose4u
      @techdose4u  4 года назад

      Colan works on your drive and not on your local PC. So why will you remove it? Just delete it's folder.

    • @shohanabdullah4857
      @shohanabdullah4857 4 года назад +1

      @@techdose4u bt where its folder cause i really don't know where its folder??? do u know sir??? probably,where i found its folder????

    • @techdose4u
      @techdose4u  4 года назад

      It is in your Google drive. Search there.

  • @dexter2765
    @dexter2765 4 года назад +1

    thanks

  • @E90999
    @E90999 2 года назад

    all this code accessing my google drive how can i access your shareable file through link

  • @phawatmakhaphan1329
    @phawatmakhaphan1329 3 года назад

    Why my link file ID is not like yours ?

  • @RahmaElsaeed-cf6ru
    @RahmaElsaeed-cf6ru 4 года назад +1

    can I import videos too in this way ?? ( to make video compression )

    • @techdose4u
      @techdose4u  4 года назад

      I never tried it but I guess you can.

  • @noobgamers2132
    @noobgamers2132 Год назад

    Sir last work nhi kar Raha please help

  • @anamikaverma9075
    @anamikaverma9075 3 года назад

    Sir how to run html file in colab..please make video on this

  • @VikashKumar-fn7br
    @VikashKumar-fn7br 5 лет назад +1

    can the code on colab run even if laptop is shutdown?

    • @techdose4u
      @techdose4u  5 лет назад

      No.. Colab will only run code provided your computer as well as the browser tab for colab is ON.

    • @VikashKumar-fn7br
      @VikashKumar-fn7br 5 лет назад

      @@techdose4u is it necessary to for the browser to be connected with internet. if yes, then will it needs reexecute if net is disconnected?

    • @techdose4u
      @techdose4u  5 лет назад +1

      It is needed to always stay connected to internet. If it disconnects then you memory allocation will be lost and so your RAM memory will also be lost. Therefore, you will have to redo everything from start. The only condition in which you dont need interneg is when you run colab using local machine. But why will you run it on local machine using colab if you already have jupyter. Thats why you will always need internet connection.

  • @souravbasu8974
    @souravbasu8974 4 года назад

    how to get request library on the top in colab

  • @nournour-er6zg
    @nournour-er6zg 2 года назад

    Please.. how to import a database from D: to python code in google colab ??

  • @nikhilpal2942
    @nikhilpal2942 3 года назад

    Is this is for CSV file only not for xlsx file?

  • @barulicksama3838
    @barulicksama3838 3 года назад

    Can I run regular apps, exe on colab? Is there any free analog for that?

  • @sanchitsharma5294
    @sanchitsharma5294 4 года назад

    How to upload a txt file in colab notebook

  • @muhammadfajri5791
    @muhammadfajri5791 3 года назад

    can you make video about using extreme learning machine in goole colab?

  • @nicktv6861
    @nicktv6861 3 года назад

    is google colab can port forwarding or not

  • @ramtiwari4727
    @ramtiwari4727 2 года назад

    how to import python file??

  • @forthesakeofallah6267
    @forthesakeofallah6267 4 года назад

    sir, i wanted to run python code folder (a folder with its files needed for dataset)
    How can i Run that in colab, I am new here in colab ? please tell me
    will be greatful

    • @techdose4u
      @techdose4u  4 года назад

      Just put the path in your code reader. For importing colab as well, you need to put the code.

  • @pallabidas3064
    @pallabidas3064 4 года назад +1

    sir can you please provide me the codes for unzipping a 7z file in google colab

    • @techdose4u
      @techdose4u  4 года назад

      Can you please Google it. If you still need help then let me know.

    • @pallabidas3064
      @pallabidas3064 4 года назад

      I searched in google sir but that codes didn't work.

  • @mohamedtouati9663
    @mohamedtouati9663 5 лет назад

    how can i import classes files from google to colab ? i have more then 1200 files in colab and i wanna all jpg in those files

    • @techdose4u
      @techdose4u  5 лет назад

      Whatever file you want to run on colab, you need to load that file in your code from google colab notebook atleast once so that you can use it. Take all 1200 jpg in a folder and upload it to your google drive. While importing this to colab, you need to read all the jpg files.

  • @somebody-17546
    @somebody-17546 4 года назад

    What if file is zip

  • @questforprogramming
    @questforprogramming 5 лет назад

    What if the file is in one drive and our colab is in another email address?

    • @techdose4u
      @techdose4u  5 лет назад

      That is possibl too.... In the step to enter verification code.... U just need to copy the code after selecting the respective email address in which your uploaded data file is present. Try it out and let me know. :)

    • @questforprogramming
      @questforprogramming 5 лет назад

      @@techdose4u but the file is in a drive which belongs to a university... I cannot access the email address except for the file as its made public...so now how to solve my problem?

    • @shailendrav7671
      @shailendrav7671 5 лет назад

      Hi Bharath Can I have your contact even i am also registered in Applied ai course i hope we can we work on assigments together

  • @srinidhig2520
    @srinidhig2520 4 года назад +1

    Sir please place the code

    • @techdose4u
      @techdose4u  4 года назад

      Is it not visible in video? I will provide if it's not.

    • @srinidhig2520
      @srinidhig2520 4 года назад

      @@techdose4u its okay sir thank you for your reply I got the error resolved

  • @AmeerulIslam
    @AmeerulIslam 4 года назад

    why so complicated :/

  • @rutvikraval2373
    @rutvikraval2373 3 года назад

    Hawkeye mihok

  • @maneshwarsingh8688
    @maneshwarsingh8688 4 года назад

    What about PDF files? Here's a link to pdf file I want to read: drive.google.com/file/d/1eQY6k4rNeLZbWtQa4Ix5yjCTwRS8pgry/view?usp=sharing It does not have a file ID. Please help!