In R, it is possible to perform two-sample one-tailed t-test simply by using
> A = c(0.19826790, 1.36836629, 1.37950911, 1.46951540, 1.481977
Did you look at this: How to calculate the statistics "t-test" with numpy
I think that is exactly what this questions is looking at.
Basically:
import scipy.stats
x = [1,2,3,4]
scipy.stats.ttest_1samp(x, 0)
Ttest_1sampResult(statistic=3.872983346207417, pvalue=0.030466291662170977)
is the same result as this example in R. https://stats.stackexchange.com/questions/51242/statistical-difference-from-zero