I have to convert .las
files in one directory to .xlsx
files using las2excelbulk
function.
Currently I can do that in command prompt but I want to do it using Python: is it possible?
Here's the link which i referred https://lasio.readthedocs.io/en/latest/exporting.html
Open CMD
switch to the folder having las files using " cd
las2excelbulk -r -i
The file would be converted.
# this is working for only one file
import lasio
las = lasio.read('*.las')
las.to_excel('testsamplelas.xlsx')