<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Google Colaboratory &#8211; デジタル教科書</title>
	<atom:link href="https://fucchan-blog.com/category/work-efficiency/google/colaboratory/feed/" rel="self" type="application/rss+xml" />
	<link>https://fucchan-blog.com</link>
	<description>定時で帰ろう</description>
	<lastBuildDate>Fri, 30 Jul 2021 03:39:33 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.1</generator>

<image>
	<url>https://fucchan-blog.com/wp-content/uploads/2021/03/cropped-4495bed8051fcc9fd4ac4bababda36e3-32x32.png</url>
	<title>Google Colaboratory &#8211; デジタル教科書</title>
	<link>https://fucchan-blog.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>【プログラミング初心者向け】Google Colaboratoryの始め方と使い方</title>
		<link>https://fucchan-blog.com/google-colaboratory-start/2638/</link>
					<comments>https://fucchan-blog.com/google-colaboratory-start/2638/#respond</comments>
		
		<dc:creator><![CDATA[ふっちゃん]]></dc:creator>
		<pubDate>Thu, 29 Jul 2021 14:00:00 +0000</pubDate>
				<category><![CDATA[Google Colaboratory]]></category>
		<category><![CDATA[Google colaboratory]]></category>
		<guid isPermaLink="false">https://fucchan-blog.com/?p=2638</guid>

					<description><![CDATA[<p><img src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1-1024x499.png" class="webfeedsFeaturedVisual" /></p>Google Colaboratoryは Googleアカウントをお持ちの方であれば誰でも使うことができます。 しかしプログラミング初心者で、Pythonに興味をもった！やってみたい！と思いGoogle Colabora [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1-1024x499.png" class="webfeedsFeaturedVisual" /></p>
<p>Google Colaboratoryは Googleアカウントをお持ちの方であれば誰でも使うことができます。</p>



<p>しかしプログラミング初心者で、Pythonに興味をもった！やってみたい！と思いGoogle Colaboratory(グーグルコラボラトリー)に辿り着いた方の中には、いまいち使い方が分からないやっぱプログラミングってハードルが高いのかなぁと諦めそうになった方、いますよね。</p>



<p>実際私もそのひとりでした。</p>



<p>私はまだまだPython初心者ですが、Google Colaboratoryで簡単なコードを書き、結果を出力することはできるようになりました。</p>



<p>今回は、初心者目線で！専門用語は一切使わずにGoogle Colaboratoryの始め方と使い方を紹介します！</p>



<h2 class="wp-block-heading">Google Colaboratoryの始め方</h2>



<h3 class="wp-block-heading">1.Google Colaboratoryにアクセスする</h3>



<p>Google Colaboratoryにアクセスする方法は2つあります。</p>



<p>ご自身がやりやすい方で試してみてください</p>



<h4 class="wp-block-heading">①Googleドライブ経由でアクセス</h4>



<p>普段からGoogleのアプリをお使いの方であれば、こちらがおすすめです。</p>



<p>Googleドライブにアクセスします。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="418" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory07-1024x418.png" alt="" class="wp-image-2645" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory07-1024x418.png 1024w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory07-300x123.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory07-768x314.png 768w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory07-1536x627.png 1536w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory07.png 1912w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>始めて使うときは、アプリインストールを行います。（30秒くらいでできます！）</p>



<p>まずは「新規」をクリックします。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="473" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory08-1024x473.png" alt="" class="wp-image-2646" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory08-1024x473.png 1024w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory08-300x138.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory08-768x354.png 768w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory08-1536x709.png 1536w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory08.png 1664w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>「その他」＞「アプリの追加」の順でクリックします。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="479" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory09-1024x479.png" alt="" class="wp-image-2647" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory09-1024x479.png 1024w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory09-300x140.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory09-768x359.png 768w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory09-1536x718.png 1536w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory09.png 1641w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>「Colaboratory」と検索し、「Colaboratoryのアイコン」をクリックします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="980" height="489" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory10.png" alt="" class="wp-image-2648" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory10.png 980w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory10-300x150.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory10-768x383.png 768w" sizes="(max-width: 980px) 100vw, 980px" /></figure>



<p>「インストール」をクリックします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="976" height="733" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory11.png" alt="" class="wp-image-2649" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory11.png 976w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory11-300x225.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory11-768x577.png 768w" sizes="(max-width: 976px) 100vw, 976px" /></figure>



<p>「続行」をクリックします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="758" height="478" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory12.png" alt="" class="wp-image-2650" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory12.png 758w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory12-300x189.png 300w" sizes="(max-width: 758px) 100vw, 758px" /></figure>



<p>Googleにログインします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="441" height="492" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory13.png" alt="" class="wp-image-2651" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory13.png 441w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory13-269x300.png 269w" sizes="(max-width: 441px) 100vw, 441px" /></figure>



<p>インストールが完了したので、「OK」、「完了」、「×ボタン」を押してタブを閉じていきます。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="964" height="714" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory14.png" alt="" class="wp-image-2652" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory14.png 964w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory14-300x222.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory14-768x569.png 768w" sizes="(max-width: 964px) 100vw, 964px" /></figure>



<p>もう一度、Googleドライブの「新規」＞「その他」＞「Google Colaboratory」の順でクリックします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1010" height="662" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory15.png" alt="" class="wp-image-2653" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory15.png 1010w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory15-300x197.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory15-768x503.png 768w" sizes="(max-width: 1010px) 100vw, 1010px" /></figure>



<p>Google Colaboratoryにアクセスでき、もうコードを書く手前まで来ました！</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="499" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1-1024x499.png" alt="" class="wp-image-2655" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1-1024x499.png 1024w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1-300x146.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1-768x374.png 768w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1-1536x748.png 1536w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading">②Webサイト経由でアクセス</h4>



<p>Googleのサービスに使い慣れていない方にも簡単にアクセスできる方法です。</p>



<p> 「Google Colaboratory」と検索、もしくは下記URLから Colaboratory にアクセスします。</p>



<p><a href="https://colab.research.google.com/notebooks/welcome.ipynb?hl=ja">https://colab.research.google.com/notebooks/welcome.ipynb?hl=ja</a></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="615" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory01-1024x615.png" alt="" class="wp-image-2639" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory01-1024x615.png 1024w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory01-300x180.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory01-768x461.png 768w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory01.png 1151w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>「ファイル」＞「ノートブックを新規作成」の順にクリックします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1000" height="630" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory02.png" alt="" class="wp-image-2640" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory02.png 1000w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory02-300x189.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory02-768x484.png 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></figure>



<p>Googleにログインしていない方は以下のメッセージがでるのでログインしてください。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="630" height="328" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory03.png" alt="" class="wp-image-2641" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory03.png 630w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory03-300x156.png 300w" sizes="(max-width: 630px) 100vw, 630px" /></figure>



<p> Google Colaboratoryにアクセスでき、もうコードを書く手前まで来ました！ </p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="499" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1024x499.png" alt="" class="wp-image-2642" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1024x499.png 1024w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-300x146.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-768x374.png 768w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04-1536x748.png 1536w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory04.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">2.コードを書いて実行する</h3>



<p>1でアクセスした画面がコードを書く画面です！</p>



<p>手始めに「　print(‘こんにちは’)　」と入力してみましょう。（コードの意味は、”こんにちはを出力”です。）</p>



<figure class="wp-block-image size-full"><img decoding="async" width="803" height="398" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory05.png" alt="" class="wp-image-2643" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory05.png 803w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory05-300x149.png 300w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory05-768x381.png 768w" sizes="(max-width: 803px) 100vw, 803px" /></figure>



<p>次に左の実行ボタンを押してみましょう。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="736" height="369" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory06.png" alt="" class="wp-image-2644" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory06.png 736w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory06-300x150.png 300w" sizes="(max-width: 736px) 100vw, 736px" /></figure>



<p>実行結果が表示されました！これでPythonの第一歩を踏み出せました！！</p>



<h3 class="wp-block-heading">3.コードを書いて実行することに慣れよう</h3>



<p>慣れるために、「コードを書く→実行する」を以下の例文を入力して試してみましょう。</p>



<ul><li> print(‘おはようございます。’)　</li><li> print(1+2)  </li></ul>



<p>それぞれ実行すると</p>



<ul><li>print(‘おはようございます。’)　　→　　実行結果：おはようございます。</li><li>print(1+2) 　　→　　実行結果：3</li></ul>



<figure class="wp-block-image size-full"><img decoding="async" width="554" height="139" src="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory16.png" alt="" class="wp-image-2654" srcset="https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory16.png 554w, https://fucchan-blog.com/wp-content/uploads/2021/07/Colaboratory16-300x75.png 300w" sizes="(max-width: 554px) 100vw, 554px" /></figure>



<p>コードの中の「おはようございます」や「1+2」の部分を自分で変えて入力してみてください！</p>



<p>これがPythonの第一歩！おめでとうございます！</p>



<h2 class="wp-block-heading">まとめ</h2>



<p>Google Colaboratoryの始め方と使い方のまとめはこちらです。</p>



<div class="wp-block-cocoon-blocks-blank-box-1 blank-box block-box has-border-color has-light-blue-border-color">
<p>【始め方】</p>



<ul><li>Google Colaboratoryにアクセスする（Googleドライブ経由、Webサイト経由）</li></ul>



<p>【使い方】</p>



<ul><li>コードを書く</li><li>実行ボタンを押す</li></ul>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://fucchan-blog.com/google-colaboratory-start/2638/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
