Quantcast

$PYTHONPATH

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

$PYTHONPATH

robhealey1
Greetings:

This is probably a very naive/ general question, but I still do NOT
know the answer???

I need to make a permanent addition to the $PYTHONPATH variable!  I
need to append to the environment variable...

I knowe in the python interactive command line:

import os
sys.path.append(os.getcwd()) works in python, but I need to append to
this variable from the command line or from my .bashrc file ...

Sincerely yours,
Rob G. Healey

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: $PYTHONPATH

Mathieu MD
Hello Rob,

I understand that you want to add to your PYTHONPATH the current working
directory (.), right?

A line like this in your .bashrc wouldn't do it?

export PYTHONPATH="$PYTHONPATH${PYTHONPATH+:}."

Bests,
--
Mathieu

On 22/04/2012 04:31, Rob Healey wrote:

> Greetings:
>
> This is probably a very naive/ general question, but I still do NOT
> know the answer???
>
> I need to make a permanent addition to the $PYTHONPATH variable!  I
> need to append to the environment variable...
>
> I knowe in the python interactive command line:
>
> import os
> sys.path.append(os.getcwd()) works in python, but I need to append to
> this variable from the command line or from my .bashrc file ...
>
> Sincerely yours,
> Rob G. Healey
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Name display preferences

Peter Landgren
In reply to this post by robhealey1
Hi,

I'm trying to fix the name pref screen. In the original English version
I get bold text for the keywords.
However, in my Swedish  translation I get just the codes for bold. What
am I doing wrong?

/Peter


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: $PYTHONPATH

Simon Lenz
In reply to this post by Mathieu MD
a small addition:
I would recommend putting this into your bash_profile, because your
bashrc is written everytime you start a new terminal.
So if you open 3 terminals, you add the new path 3 times to your
PYTHONPATH variable.

so this works for me:
PYTHONPATH=${PYTHONPATH}:${HOME}/bla
export PYTHONPATH


regards

On 22 April 2012 10:18, Mathieu MD <[hidden email]> wrote:

> Hello Rob,
>
> I understand that you want to add to your PYTHONPATH the current working
> directory (.), right?
>
> A line like this in your .bashrc wouldn't do it?
>
> export PYTHONPATH="$PYTHONPATH${PYTHONPATH+:}."
>
> Bests,
> --
> Mathieu
>
> On 22/04/2012 04:31, Rob Healey wrote:
>> Greetings:
>>
>> This is probably a very naive/ general question, but I still do NOT
>> know the answer???
>>
>> I need to make a permanent addition to the $PYTHONPATH variable!  I
>> need to append to the environment variable...
>>
>> I knowe in the python interactive command line:
>>
>> import os
>> sys.path.append(os.getcwd()) works in python, but I need to append to
>> this variable from the command line or from my .bashrc file ...
>>
>> Sincerely yours,
>> Rob G. Healey
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Gramps-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: $PYTHONPATH

robhealey1
Greetings:

Thank you greatly for the quick and speedy response!

For a temp reason, I did add it to my:
.bash_profile ...

Thanks again,
Rob G. Healey


On Sun, Apr 22, 2012 at 6:08 AM, Simon Lenz <[hidden email]> wrote:

> a small addition:
> I would recommend putting this into your bash_profile, because your
> bashrc is written everytime you start a new terminal.
> So if you open 3 terminals, you add the new path 3 times to your
> PYTHONPATH variable.
>
> so this works for me:
> PYTHONPATH=${PYTHONPATH}:${HOME}/bla
> export PYTHONPATH
>
>
> regards
>
> On 22 April 2012 10:18, Mathieu MD <[hidden email]> wrote:
>> Hello Rob,
>>
>> I understand that you want to add to your PYTHONPATH the current working
>> directory (.), right?
>>
>> A line like this in your .bashrc wouldn't do it?
>>
>> export PYTHONPATH="$PYTHONPATH${PYTHONPATH+:}."
>>
>> Bests,
>> --
>> Mathieu
>>
>> On 22/04/2012 04:31, Rob Healey wrote:
>>> Greetings:
>>>
>>> This is probably a very naive/ general question, but I still do NOT
>>> know the answer???
>>>
>>> I need to make a permanent addition to the $PYTHONPATH variable!  I
>>> need to append to the environment variable...
>>>
>>> I knowe in the python interactive command line:
>>>
>>> import os
>>> sys.path.append(os.getcwd()) works in python, but I need to append to
>>> this variable from the command line or from my .bashrc file ...
>>>
>>> Sincerely yours,
>>> Rob G. Healey
>>>
>>> ------------------------------------------------------------------------------
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> _______________________________________________
>>> Gramps-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Gramps-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel



--
Sincerely yours,
Rob G. Healey

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Name display preferences

Peter Landgren
In reply to this post by Peter Landgren
I answer this myself:

There was an extra "<".
Was hard to see, unless you looked vary carefully in the sv.po!

/Peter


Peter Landgren skrev 2012-04-22 11:00:

> Hi,
>
> I'm trying to fix the name pref screen. In the original English version
> I get bold text for the keywords.
> However, in my Swedish  translation I get just the codes for bold. What
> am I doing wrong?
>
> /Peter
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Loading...