On Feb 6, 2008, at 5:23 AM, muhamed niyas wrote:
I can import when i moved to the uno location.
pls see the messages in the terminal.
C:\>cd "Program Files\OpenOffice.org 2.0\program"\
C:\Program Files\OpenOffice.org 2.0\program>python
Python 2.3.4 (#53, Feb 2 2006, 01:06:22) [MSC v.1310 32 b
"muhamed niyas" <[EMAIL PROTECTED]> wrote
>I can import when i moved to the uno location.
> pls see the messages in the terminal.
>
>
> C:\>cd "Program Files\OpenOffice.org 2.0\program"\
> C:\Program Files\OpenOffice.org 2.0\program>python
> Python 2.3.4 (#53, Feb 2 2006, 01:06:22) [MSC v.1310 3
I can import when i moved to the uno location.
pls see the messages in the terminal.
C:\>cd "Program Files\OpenOffice.org 2.0\program"\
C:\Program Files\OpenOffice.org 2.0\program>python
Python 2.3.4 (#53, Feb 2 2006, 01:06:22) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "cred
"muhamed niyas" <[EMAIL PROTECTED]> wrote
import uno
>
> I am not getting the promt >>> after importing that.
OK, That suggests a problem in the uno module itself.
Yet ISTR you said you could import if you changed to
the directory and ran Python there?
Can you try that again just to confi
When i import
>>>import uno
I am not getting the promt >>> after importing that.
On Feb 6, 2008 2:29 PM, Alan Gauld <[EMAIL PROTECTED]> wrote:
>
> "muhamed niyas" <[EMAIL PROTECTED]> wrote
>
> > Thanks for your kind response. I tried to include the path
> > 'C:\Program
> > Files\OpenOffice.org
"muhamed niyas" <[EMAIL PROTECTED]> wrote
> Thanks for your kind response. I tried to include the path
> 'C:\Program
> Files\OpenOffice.org 2.0\program' in PYTHONPATH. but now i didnt get
> any error message but its hanging while importing. Pls advice me to
> correct
> this.
>
What happens if
Thanks for your kind response. I tried to include the path 'C:\Program
Files\OpenOffice.org 2.0\program' in PYTHONPATH. but now i didnt get
any error message but its hanging while importing. Pls advice me to correct
this.
On Feb 6, 2008 3:54 AM, Tiger12506 <[EMAIL PROTECTED]> wrote:
> > "muhamed
> "muhamed niyas" <[EMAIL PROTECTED]> wrote
>
>> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH
>> evvironment
>> variable.
>
> Close but not quite.
> You need to set the module folder in your PYTHONPATH environment
> variable.
>
> PATH is where the python interpreter lives
>
"muhamed niyas" <[EMAIL PROTECTED]> wrote
> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH
> evvironment
> variable.
Close but not quite.
You need to set the module folder in your PYTHONPATH environment
variable.
PATH is where the python interpreter lives
PYTHONPATH is where
muhamed niyas wrote:
> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH evvironment
> variable.
PYTHONPATH is the environment variable you need, it is one way to tell
the interpreter where to look for imports.
Kent
___
Tutor maillist -
Dear All,
I have a problem while importing UNO module in my windows vista. Openoffice
and its uno module is installed in D:\ drive and my application is running
in C:\ drive. i can import uno in interactive mode while moving to
'D:\Program Files\OpenOffice 2.0\program' location.
I am getting an er
11 matches
Mail list logo