On Wed, Jun 19, 2013 at 2:29 PM, Hélio Miranda <helio...@gmail.com> wrote:

> Hi
> I wonder if someone can help me.
> My problem is the following:
> in my file wsgi.py django, I wish I could make a condition if OS is
> windows running sys.path.append (...) if linux runs sys.path.append ('...')
>
> Is this possible?
> How do I identify the OS?
>

http://docs.python.org/2/library/sys.html#sys.platform

>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Gustavo J. A. M. Carneiro
"The universe is always one step beyond logic." -- Frank Herbert

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to