This is about a file location problem while using pythontex (which works great!)
I have some python code within \begin{pylabblock} \end{pylabblock} where I am reading in data from a file in the current directory
code fragment
filename = str(os.getcwd()+'/testdata1.dat')
x = xyread(filename)[0]
y = xyread(filename)[1]
the xyread fails - it cannot find the file in the getcwd()
BUT if I place a copy of the testdata1.dat in
a subdirectory that pythontex creates during compile, it works
(my tex file is named test3.tex and pythontex creates
pythontex-files-test3/ and if testdata1.dat is in that
directory, it works)