Help me find Python interpreter!!!


 
Thread Tools Search this Thread
Operating Systems Solaris Help me find Python interpreter!!!
# 8  
Old 08-24-2009
How is that done.Editing in /home
# 9  
Old 08-31-2009
Quote:
Originally Posted by asalman.qazi
How is that done.Editing in /home
If you're referring to me:
Code:
vi ~.cshrc

or if you don't know how to use vi:
Code:
gedit ~.cshrc

or if you're using CDE:
Code:
dtpad ~.cshrc

If none of those work then open whatever text editor you use and open the file: /home/foobar/.cshrc - your user name in place of foobar, of course.

Now to add to your path. Look for something in .cshrc that looks something like this (this is what mine looks like):
Code:
set path=( /usr/j2se/jre1.6.0_01/bin /opt/SUNWspro/bin /bin /usr/ccs/bin /usr/bi
n /usr/ucb /etc /usr/sbin /usr/openwin/bin /usr/pkg/gcc-2.7.2/bin /export/home/d
ave/download/acroread/instdir/bin /opt/NSCPcom /home/dave/download/Mozilla/mozil
la /home/dave/download/firefox-1.5.0.2x86/MOZfirefox/reloc/sfw/lib/firefox /opt/
sfw/kde/bin /opt/sfw/bin/ /home/dave/download/bin /usr/dt/bin /usr/lib/lp/postsc
ript . )

MAKE SURE THERE IS NO POUND SIGN (#) IN FRONT OF THE WORD 'SET' Look for one WITHOUT the pound sign. Add the result you got when you ran the 'which' command to the end of the list of path. If there is none without a pound sign, try removing the pound sign, saving the file, then running the command. If that doesn't work, add the the result you got when you used the 'which' command to the end of the set of paths. Make sure there is a space between the new path you added and the previous path.

Good luck,
Brad
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Create a C source and compile inside Python 1.4.0 to 3.7.0 in Python for ALL? platforms...

Hi all... As you know I like making code backwards compatible for as many platforms as possible. This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies

2. Programming

Search or find a element inside list python

I have a list as follows: From this i need to grep the element using keyword as "primary" and return output as 12:13-internet-wifi-primary i used as follows if (i <= (len(system_info))): ss = system_info print... (5 Replies)
Discussion started by: Priya Amaresh
5 Replies

3. Shell Programming and Scripting

Find common values in python list in ordered format

Hello All, There are various codes available to find the intersection between two sets in python. But my case is the following: I want to find the continual common pattern in different lists compared to list1. (i have underlined the longest common patterns in set a and set b) a = 2, 3, 5,... (1 Reply)
Discussion started by: Zam_1234
1 Replies

4. Shell Programming and Scripting

**python** unable to read the background color in python

I am working on requirement on spreadsheet in python scripting. I have a spreadsheet containing cell values and with background color. I am able to read the value value but unable to get the background color of that particular cell. Actually my requirement is to read the cell value along... (1 Reply)
Discussion started by: giridhar276
1 Replies

5. Shell Programming and Scripting

Python: find the minimum in all rows

I am using Biopython to process an alignment in fasta format. I need to slice the sequences where there is the first stop codon. So I divided my alignment in codons and found the stop. I then found the first codon position using enumerate(). But I found the minimum for each row. However I need to... (0 Replies)
Discussion started by: Homa
0 Replies

6. Shell Programming and Scripting

Bad Interpreter

Hi. My name is Caleb (a.k.a RagingNinja) form the whited00r forums. (Whited00r makes custom firmware for iOS devices). I have been learning and creating simple shells scripts. I have been recently using VIM for Windows or using VirtualBox to run the UBUNTU OS within VirtualBox to create my shell... (2 Replies)
Discussion started by: RagingNinja
2 Replies

7. Shell Programming and Scripting

Find text containing paths and replace with a string in all the python files

I have 100+ python files in a single directory. I need to replace a specific path occurrence with a variable name. Following are the find and the replace strings: Findstring--"projects\\Debugger\\debugger_dp8051_01\\debugger_dp8051_01.cywrk" Replacestring--self.projpath I tried... (5 Replies)
Discussion started by: noorsam
5 Replies

8. UNIX for Dummies Questions & Answers

an command interpreter

if somebody can help me pls. i need the source code for a shell which compiles C or java programs. i need a very short and simple one, just for the compiling part, in UNIX Respect (4 Replies)
Discussion started by: zlatan005
4 Replies

9. Shell Programming and Scripting

python and string.find

Hi all, I'm not sure if this is the right forum, but i'll give it a try. Here is my problem: i have two files having basically the same things in it (hostnames): File 1 mituap01 mituap02 mituap03 File 2: mituap01 mituap04 mituap05 my goal is to get a .py out to check if pcs' in... (0 Replies)
Discussion started by: penguin-friend
0 Replies
Login or Register to Ask a Question