User Profile
Collapse
-
Actually its not a command line program but a software downloaded from net.It has a specific GUI which takes two wav files and displays the percentage similiartiy between them.So how do I make this software run properly from within my java code?? please Help. -
How to run external softwares from within java code?
I want to know how can I execute external softwares from within my java code.Actually what my java code does is that it takes a voice input from user and converts it into a .wav file.Then it has to execute a external software that that takes two wav files and returns the percentage similiarity between them.
The part upto saving the user voice input as a .wav file is done.Now I need to know how can i get my code to :
(i) Start... -
-
-
-
i do as above and i get the following:
>>> import WavHeader
Traceback (most recent call last):
File "<pyshell#0 >", line 1, in <module>
import WavHeader
File "E:\Python31\Wa vHeader.py", line 17
print "%s: " % (key), structHeaderFie lds[key]
^
SyntaxError: invalid syntaxLeave a comment:
-
I am facing some wierd problems here.I deleted the first few lines of the code from the IDLE including the ">>>" sign till so that the first line read
"# WavHeader.py
#Extract .....
"
Now I start the python command line and at the >>> promt I give the following command:
>>> import os
>>> os.system("pyth on WavHeader.py hello.wav")...Leave a comment:
-
i'm still facing the same problem. i'm new to this python thing. is thr something wrong with some other configuration? as in computer's? or what?
and in the IDLE when i'm doing with the import..
this is what i get:
>>> import WavHeader
Traceback (most recent call last):
File "<pyshell#0 >", line 1, in <module>
import WavHeader
ImportError: No module named WavHeader...Leave a comment:
-
Syntax error on filename
>>> python WavHeader.py hello.wav
File "<stdin>", line 1
python WavHeader.py hello.wav
^(this arrow mark is actually below 'r' of WavHeader.py)
SyntaxError : invalid syntax...
No activity results to display
Show More
Leave a comment: