Nothing that I’d know of. Completely empty files may fail to load, but something as simple as a single statement works fine for me:
julia> write("test.py", "print(\"Success!\")")
17
julia> open(readlines, "test.py")
1-element Array{String,1}:
"print(\"Success!\")"
julia> using PyCall
julia> pushfirst!(PyVector(pyimport("sys")."path"), "")
PyObject ['', [...] ]
julia> pyimport("test");
Success!