Colab - How can I download CSV to my files on my computer - google-colaboratory

from google.colab import files
files.download('a.csv')
Can I change step2 to another path on my computer, not the default path?
Thank you for your answer

You can use the file manager panel.
Use View > Table of contents to show the sidebar then click the Files tab. Right-click the file and select Download.

Related

SetPreference in Edge for change directory download

I need to change the directory where I'll save a file coming from the download after clicking a link. I was able to find and click on the link, but I need to set the location and name of the file.
I'm using VBA

.ipynb file in Google Drive doesn't open with Colaboratory by default

I have two files in my Google Drive with .ipynb extension, but one of them is marked as Unknown File type and has a blue icon. What can I do to change the second one to a Colaboratory file?
If you want to get that icon you should save a copy from Colab
Upload your file to Drive
Open a file with Colab
Save a copy in Drive
Go to Drive and find folder
Inside you will find your file with the Colab icon

is there any way to load local data set folder directly from google drive to google colab?

see the image carefullyi couldn't load custom data folder from google drive to google colab.though i mounted google drive.like instead of MNIST data set i want to load my own image data set folder.i have tried pydrive wrapper.but i need simple solution.
suppose i have dataset of images inside google drive.how to load it to google colab?
from google.colab import drive
drive.mount('/content/gdrive')
then
with open('/content/gdrive/My Drive/foo.txt', 'w') as f:
f.write('Hello Google Drive!')
!cat /content/gdrive/My\ Drive/foo.txt
here insted of foo.txt i have an image folder called Dog inside ml-data folder.but i can't load it.how to load it in google colab directly from google drive as it is in my local hard drive.
To load data directly from the local machine, you need to follow these steps:
Go to files [left side menu]
Click on upload to session storage
Select file(s) from your machine to upload
It will prompt something indicating that file(s) will be available for the current session only, click ok.
The file(s) will be uploaded in the directory. Click on it (left and right-click both work the same).
And then;
Copy path & use it inside pd.read_csv() function.
Note: After the session is terminated, files will be lost from colab session. To use it again, you'll need to upload it again.
Many times, we prefer to it have all our data in a GitHub repository or in a google drive folder to fetch from there.
Reading many files from Google Drive through colab is going to be less performant and more unreliable than first copying a .zip or similar single file from Drive to the colab VM and unzipping it outside the drive mount directory, and then using that copy of the data.

How can I get the full path of a file in windows explorer?

I'm using Windows 10 professional, When I want to copy the full path of a file|folder, I have to first copy the URL from the windows explorer then append the file/folder name and its extension.
Is there a convenient way to copy the full path of a file|folder directly from windows explorer? Additionally, how can I open a PowerShell|CMD window from it?
To copy the full path for an individual file, hold down the Shift key as you right-click the file, and then choose Copy As Path.
You can get the Path of the File/Folder by Right-Clicking > Properties > Location
If you want to open the File/Folder in PowerShell then use cd C:\\Desktop\Your_File_Location

Intellij: javafx application icon

How to set default application bootstrapper(?) icon, builded by Intellij?
I think you are asking how to change the icon of an exe file.
First if you do not have the ico file get the picture you want from google and then convert it into an ico file. using: "http://convertico.com/"
I googled how to modify an exe file and actually modified the icon of an exe file from this link:
http://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file/
read the above link and go through the steps for full solution.
it uses resource hacker which seems pretty well known and used.
but...
if you get access denied:
"I ended up changing googlechrome icon but was receiving access denied. So i saved as googlechrome1 on my desktop. renamed to googlechrome.exe (on Desktop).
next, I went to the location of googlechrome.exe - in program files deleted googlechrome.exe and then moved the clone from desktop to that location."