0 Members and 2 Guests are viewing this topic.
david@David-PC ~/Documents/Calculators/TIConvert $ python main_v0_3.py Traceback (most recent call last): File "main_v0_3.py", line 107, in <module> (input_path, target_path) = command_info.ReturnPaths(suffix = "_out.txt") File "main_v0_3.py", line 67, in ReturnPaths input_path = self.arg[0]IndexError: list index out of rangedavid@David-PC ~/Documents/Calculators/TIConvert $
# Step 1: Reading arguments from the command line.command_info = CommandLine()options = command_info.RunParser()(input_path, target_path) = command_info.ReturnPaths(suffix = "_out.txt")
# Step 1: Manually providing arguments.input_path = "directory/folder/THEGAME.8xp"target_path = "directory/folder/THEGAME_out.txt"'options = {'tabs': 4, 'quiet': False', 'colons': False}
I know for a fact it can do 8xp source to text file.I don't think I finished text file to 8xp source, though you could give it a shot.And I don't even want to try text or source to compiled 8xp (that's what Quigbo's working on, after all )
Sorry, I didn't take the time to read any other posts, but what do you mean by "it probably wouldn't be able to compile" in the OP?--EDIT--I have "fancy output" in TBEXE implemented, too (a pain in the butt to find which characters were accounted for, though)! Great minds think alike, I guess
Quote from: BlakPilar on July 18, 2011, 01:01:17 amSorry, I didn't take the time to read any other posts, but what do you mean by "it probably wouldn't be able to compile" in the OP?--EDIT--I have "fancy output" in TBEXE implemented, too (a pain in the butt to find which characters were accounted for, though)! Great minds think alike, I guess Ah. Back then, tokenizing text was very mysterious to me, and I wasn't sure if I was capable of programming such a thing. Converted text files should have no problem compiling now