1

I used to execute the MLOAD process by opening a command prompt and then typing MLOAD < MLOAD_FILE.txt. How do I do it using Python?

Assume that the MLOAD_FILE.txt is under directory C:\\Users\\MLOAD_FILES.

Thanks!

Tagc
  • 8,736
  • 7
  • 61
  • 114
DanZimmerman
  • 1,626
  • 6
  • 23
  • 45

1 Answers1

0

This worked for me.

import os

os.system("MLOAD < 'C:\\Users\\MLOAD_FILES.txt'")
Prayson W. Daniel
  • 14,191
  • 4
  • 51
  • 57