質問するログイン新規登録

質問編集履歴

1

追加

2019/02/21 06:45

投稿

kkji
kkji

スコア13

title CHANGED
File without changes
body CHANGED
@@ -6,4 +6,6 @@
6
6
  ```python3
7
7
  def hoge():
8
8
  print("hello")
9
- ```
9
+ ```
10
+
11
+ ```python3 sample.py```コマンドでファイル全体を実行するのではなく、hoge関数だけを実行する方法を知りたいです。