Only you can't give the file name of the .obj as a parameter then...spud42 wrote:you can right click on the py script and then select "open with" if python isnt in the list then use the browse button...
Help! I'm new at this!
Moderators: winston, another_commander
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: Help! I'm new at this!
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Help! I'm new at this!
The purpose is to set up a file-association that Windows will then remember afterwards.. not to try and convert the .obj then and there.maik wrote:Only you can't give the file name of the .obj as a parameter then...spud42 wrote:you can right click on the py script and then select "open with" if python isnt in the list then use the browse button...
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
-
- Poor
- Posts: 6
- Joined: Mon Jun 23, 2014 7:44 pm
Re: Help! I'm new at this!
Thanks, Thargoid; I did use the actual filename in the command prompt- I'm new to this, but not that new to computing
So, I tried the command C:\(directory)>python obj2dattex.py C:\(same directory)\ship1.obj. It returned yet another error; I'd already changed the working directory so the redundancy seems to have been the issue.
I then tried running it in my Python interpreter (I know...I figured it was worth a shot) using the syntax
The error seems to be related to something in line 31 of Obj2DatTex.py, if that helps.
Basically, I'm using the syntax Thargoid recommended...it's just not working for me for unknown reasons.
So, I tried the command C:\(directory)>python obj2dattex.py C:\(same directory)\ship1.obj. It returned yet another error; I'd already changed the working directory so the redundancy seems to have been the issue.
I then tried running it in my Python interpreter (I know...I figured it was worth a shot) using the syntax
obj2dattex.py ship1.obj
, this gave me a syntax error. Go figure The error seems to be related to something in line 31 of Obj2DatTex.py, if that helps.
< inputfilename, "r">
Basically, I'm using the syntax Thargoid recommended...it's just not working for me for unknown reasons.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Help! I'm new at this!
Which version of Python do you have installed?
Could you post the exact error message, please?RebelRunner wrote:The error seems to be related to something in line 31 of Obj2DatTex.py, if that helps.< inputfilename, "r">
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied