Skip to content

Instantly share code, notes, and snippets.

@TomoG29
Created September 30, 2023 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TomoG29/4aaa98eb6cf634b7abbed9bcd7eb5ff7 to your computer and use it in GitHub Desktop.
Save TomoG29/4aaa98eb6cf634b7abbed9bcd7eb5ff7 to your computer and use it in GitHub Desktop.
### 1 ###
import math
print(math.pi)
### 2 ###
from math import pi
print(pi)
### 3 ###
import math as a
print(a.pi)
### 4 ###
import TomoGBlog.SampleLibrary
print(TomoGBlog.SampleLibrary.getStr())
import TomoGBlog.SampleLibrary as ts
print(ts.getStr())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment