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,251
  • 7
  • 54
  • 106
thatMeow
  • 1,218
  • 6
  • 18
  • 44

1 Answers1

0

This worked for me.

import os

os.system("MLOAD < 'C:\\Users\\MLOAD_FILES.txt'")
Prayson W. Daniel
  • 12,063
  • 2
  • 45
  • 48