mathモジュールにあるpi定数を取得すると、利用可能な範囲の精度で円周率を取得することができます。
math.pi
#python
import math
print(math.pi)
その上でmathモジュールのpi定数を取得すれば、

python内で円周率を取得して利用することができます。

Python操作方法、関数・メソッドリファレンス
使用用途別にまとめたPythonリファレンスページです。
初期準備、基本概念
ダウンロード、インストール、起動
ShellとEditor、保存、実行
保存したPythonの起動
コメント、docstring、行またぎ
コメント、...
コメント