Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

実行テスト(Pythonファイルを実行)

0
Posted at

ダウンロード

デザイン演習Ⅰ・Ⅱの授業用のテストを行います。
まずは、ここから実行で使うファイルをダウンロードして、解凍します。

Mac手順動画:Macはこんな感じです。
Win手順:Windowsはこんな感じです。

VSCodeでフォルダを開く

VSCodeを開き、先ほどダウンロード&解凍したフォルダをドラッグ&ドロップします。
VSCodeで開きます。

動画:こんな感じです。

Pythonファイルを実行

trial_nlplot.pyをクリックして開きます。

インタープリターの設定など

左下の「制限モード」をクリックする。
スクリーンショット (1).png

青色の「信頼する」ボタンをクリックする。
スクリーンショット (2).png

このような画面が表示された場合は「uvとPythonをインストールします」ボタンをクリックする。
スクリーンショット (3).png

「バツ」をクリックする
スクリーンショット (4).png

右下の「Select Python Interpreter」をクリックする。
スクリーンショット (5).png

「('base')」という文字が入っているものを選択する。
スクリーンショット (6).png

実行

この動画を参考にして、画面右上にある実行ボタンを押すとプログラムが実行されます。
https___qiita-image-store.s3.ap-northeast-1.amazonaws.com_0_577027_19183128-503f-e09b-fa8e-ee0c3fa63fc0.avif

初めての実行の時は少し時間がかかるかもしれませんが、動画のように待ってください。

下記の赤枠のようなhtmlファイルができているか確認してください。
https___qiita-image-store.s3.ap-northeast-1.amazonaws.com_0_577027_48d18784-930f-8d21-18fe-3d7ed3ccaad9.avif

〇〇-〇〇-〇〇_All sentiment sunburst chart.htmlというファイルをデスクトップ上にコピーして、ダブルクリックで開き、下記のような画面が表示されればテスト終了です。
https___qiita-image-store.s3.ap-northeast-1.amazonaws.com_0_577027_c5cd05e1-57b6-7a83-4cfb-10ab48aec05f.avif

0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?