From inside a python module:
os.path.dirname(__file__)

Best,
Plamen Dragozov

Bobby Roberts wrote:
>
> On Sep 22, 5:05 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
>   
>> os.path.dirname()
>>     
>
>
> Thanks.  The main problem is that i have to dynamically get the url
> i'm at so i can pass to that function ( Python returns that i'm
> missing 1 argument and I don't know how to dynamically pass that in.)
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to