Sponsored Content
Top Forums Shell Programming and Scripting os.path.isdir is always returning false Post 302318631 by ghostdog74 on Friday 22nd of May 2009 02:23:03 AM
Old 05-22-2009
Quote:
Originally Posted by medic
Okay, now I got it. Thanks for all you help, I will now go ahead with my guides.

Just one question, could you recommend a good python editor?
see here. Its all about preferences.
 

10 More Discussions You Might Find Interesting

1. AIX

RAID level of array = false?

I created a RAID 5 array and when I list out the attributes of the "hdisk" it reports back raid_level = 5 but the RAID level of the array = false. What does this actually indicate about my array? I've never paid much attention to this until now since I have a disk reporting failure I want to make... (0 Replies)
Discussion started by: scottsl
0 Replies

2. Linux

bin\false

We have requirments to not allow a userid login abilities but allow users to 'su' to it. In solaris I normally set the shell in /etc/passwd to bin/false. THis does not work on Linux, any suggestions would help. (1 Reply)
Discussion started by: bryanthomas
1 Replies

3. Shell Programming and Scripting

false use of sed???

i want to delete every newline and every line which starts with "RECORD......." in a file. FILE: Record 61391 in base BROCKHAUS (Timestamp: 2008-04-09 11:38:38) UNTERTITEL : Gräfin (seit 1707 Reichsgräfin) von, * Schwerin 4. 2. 1686, + Berlin 21. 10. 1744; wurde Record 61392 in base BROCKHAUS... (4 Replies)
Discussion started by: trek
4 Replies

4. Shell Programming and Scripting

Why is it always false?

Hi, I'm new to UNIX and am trying to learn shell scripting in order to work on an interface that I inherited when a co-worker left. I need to be able to check to see whether a file exists to determine whether the FTP has taken place, but in testing, the if statement always evaluates as false,... (3 Replies)
Discussion started by: JeffR
3 Replies

5. Shell Programming and Scripting

False Condition

Hi All, I am using the below Script to enter a line in the File: #!/bin/ksh # To delete the last line if it contains the pattern Redirect permanent / Virgin Atlantic Airways - Popup echo "Enter the URL that should point to the particular microsite" read url # To delete the last line if it... (0 Replies)
Discussion started by: Shazin
0 Replies

6. IP Networking

false tcp connection

Why this happens? How to solve this? $netstat -na |grep 9325 tcp 0 0 127.0.0.1:9325 127.0.0.1:9325 ESTABLISHED When a client socket repeatedly tries to connect to an inactive(no server socket is listening on this port) local port,connect succeeds. ... (1 Reply)
Discussion started by: johnbach
1 Replies

7. AIX

Gid=0 and 7 + admin=FALSE

Checking configuration access files for an AIX server, left me wondering about this :confused:: If a user is added to system group, it gets gid=0 with some security risks because it gets some root kind of file access level. Is this insecure condition kept if the user has admin variable... (0 Replies)
Discussion started by: bkiddo
0 Replies

8. UNIX for Dummies Questions & Answers

Find commmand returning search path with the result set

OS Platform : Oracle Linux 6.5 We are creating a shell script to purge old log files . It uses find command with rm in it. The syntax is find <Path of Log Directory> -exec rm -fr {} \; Example: find /tmp/test3 -exec rm -fr {} \; For rm command , we use -r option to... (4 Replies)
Discussion started by: kraljic
4 Replies

9. Shell Programming and Scripting

If echo statement return false

I have this code that sometimes return a false value and the code inside the if statement gets executed and error out. Any idea why? thanks. So I set a debug and see what the value for $ScriptElapsedTime Here is the value I got ScriptElapsedTime='03:20'. Base on this value the if... (10 Replies)
Discussion started by: nugent
10 Replies

10. Shell Programming and Scripting

False alerts

Hi I have written a script to send email alerts when load of my linux server reaches max point I keep getting false emails thought the load is normal , looks like same email is generated again and again - called from cron tab checked if the tempfile is present , no it is not , cleaned... (22 Replies)
Discussion started by: anil529
22 Replies
JYTHON.CONF(5)							File Formats Manual						    JYTHON.CONF(5)

NAME
jython.conf - Jython registry for system-wide options DESCRIPTION
When running jython(1) or jythonc(1), a number of properties may be set to customise Jython's behaviour. Properties can be assigned values in any of the following four ways. This list is arranged from lowest to highest priority; thus for instance a property set in a user's personal registry will override the same property set in the system-wide registry. Java system properties Jython options may be set in the standard Java system properties. However, since the jython and jythonc startup scripts take responsibility for starting the Java interpreter, it is unlikely that you will use this method of Jython configuration. Jython system-wide registry The system-wide registry is the file /etc/jython/jython.conf. It contains a number of lines of the form property=value. Lines that are empty or that begin with a hash (#) are ignored. User's personal registry The user's personal registry is the file ~/.jython. Its format is the same as for the system-wide registry. Command-line options Properties may be specified when running jython or jythonc at the command-line. They are set using command-line options of the form -Dproperty=value. PROPERTIES
The following properties may be set in the Jython registry. Other less used properties are also available; see the comments in the default system-wide registry for further details. If a property is marked (auto), the jython and jythonc startup scripts will attempt to set this property automatically, although it can still be overridden in the system or user registry or on the command-line. python.cachedir (auto) The directory to use for caches (currently just package information). This directory must be writable by the user. If the direc- tory is an absolute path then it is used as given; otherwise it is interpreted as relative to the root Jython directory (/usr/share/jython/). python.console The name of the console class to use when running Jython from the command prompt. An alternative console class that emulates GNU readline can be specified using this property. python.jythonc.classpath (auto) Extensions to the Java property java.class.path for use with jythonc. This is used to put extra classes on your Java compiler's classpath (and the core Java classes as well if your Java compiler requires them). python.jythonc.compiler (auto) The Java compiler to use with jythonc when turning generated Java code into Java class files. This should be the absolute path to a Java compiler, or the name of a compiler on your standard PATH. python.jythonc.compileropts Options to pass to the Java compiler when using jythonc. python.path (auto) The path on which Jython will look for additional python modules when importing. This variable has a similar function to CPython's PYTHONPATH environment variable. python.security.respectJavaAccessibility Normally, Jython can only provide access to public members of classes. However if this property is set to false and you are using Java 1.2 then Jython can access non-public fields, methods and constructors. python.verbose Sets the verbosity level for informative messages. All messages with at least the specified severity will be displayed. Valid val- ues in order of increasing verbosity are error, warning, message, comment and debug. SEE ALSO
jython(1), jythonc(1). If the Debian package jython-doc is installed, full documentation from the Jython authors will be available in /usr/share/doc/jython- doc/html/. AUTHOR
This manual page was prepared by Ben Burton <bab@debian.org> for the Debian GNU/Linux system (but may be used by others). It is based upon the official Jython documentation. September 2, 2001 JYTHON.CONF(5)
All times are GMT -4. The time now is 06:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy