ok thanks for reply, so now i am importing basic python code as module in
pys file, in that way it gives me "Tried_02 ImportError: No module named
WCP, WCP in context None"
in this Tried_02 is my pyjs folder and WCP is my python file from another
folder, which i tried to import in this ( Tried_02 ) example.
On Monday, March 11, 2013 6:12:30 PM UTC+5:30, Maho wrote:
>
> On 11.03.2013 13:19, Swapnil Bhavekar wrote:
> > Hi guys,
> >
> > I am new to pyjs, i am working on File Search application with Pyjs.
> > With pyjama installation on windows, i got some examples but there is no
> > examples in which os.path get used .
> >
> > in my program,
> >
> > when i used |FRoot_Path = os.path.expanduser('~')| I am getting some
> > |Tried_01 TypeError: $p.NotImplemented is not a function| kind of error.
> >
> > on python2.7.3 shell it gives me proper output
> >
> > |>>>import os
> >>>>import sys
> >>>> os.path.expanduser('~')
> > 'C:\\Documents and Settings\\dev1'|
> >
> > so can you give me some advice regarding this. if you can send some
> > os.path related examples reference link with pyjs then also it is ok.
>
> I think you won't have os.path in your pyjs environment. Think about it
> - it's python in javascript. Javascript usually has no access to your
> files, paths, etc...
>
> --
> pozdrawiam
>
> Łukasz Mach - [email protected] <javascript:>
>
--
---
You received this message because you are subscribed to the Google Groups
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.