環境設定を完了したらまずはお約束のHello Worldからである。
変数helloに文字列”Hello Python!”を代入する。Pythonにおいては型の指定は最初のうちは心配しなくてよい。
hello = "Hello Python!"
出力はprint()関数を利用する。引数に出力したい値もしくは変数を指定する。
print(messagge) # Hello Python!
科学・IT・登山の話題
投稿日:
環境設定を完了したらまずはお約束のHello Worldからである。
変数helloに文字列”Hello Python!”を代入する。Pythonにおいては型の指定は最初のうちは心配しなくてよい。
hello = "Hello Python!"
出力はprint()関数を利用する。引数に出力したい値もしくは変数を指定する。
print(messagge) # Hello Python!
執筆者:admin
関連記事
Dataframeを作成します。 import numpy as np import pandas as pd from numpy.random import randn np.random.see …
WordPressへPythonから投稿してみる。 まずは設定から。説明はこちらにある。 https://python-wordpress-xmlrpc.readthedocs.io/en/lates …
pythonからoffice365 smtpを利用してメールを送信
Office365の設定はこちらにある。 PythonにおけるSMTPの利用はこちらにある。 下記はサンプルコード import smtplib from email.mime.text import …
seleniumでWebElement object is not iterableが出るときの対処方法
iterableなオブジェクトを想定して要素を取得、forループに取り込むと下記のようなWebElement object is not iterableが出る。 結論としては勘違い。 Seleniu …