The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
passing variable from bash to perl from bash script arsidh Shell Programming and Scripting 10 06-04-2008 01:25 PM
Why generate "ash and bash" different output for same bash script? s. murat Shell Programming and Scripting 0 05-26-2008 08:19 AM
Verbose logging tekster757 UNIX for Dummies Questions & Answers 6 03-28-2008 12:41 PM
sftp verbose output MizzGail Shell Programming and Scripting 2 01-22-2008 10:25 AM
Bash vs Python BISH Shell Programming and Scripting 4 05-03-2002 09:31 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-27-2006
penguin-friend's Avatar
penguin-friend penguin-friend is offline
Registered User
  
 

Join Date: Nov 2001
Location: Paris, France
Posts: 55
python vs bash - verbose mode

hey all!
i'm looking how to render verbose python scripts.
what i'm looking for would be an equivalent to a "bash -xf" in bash script headers..

Any help?
  #2 (permalink)  
Old 01-27-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
-v verbose (trace import statements) (also PYTHONVERBOSE=x)

Environment variable: PYTHONVERBOSE If non-empty, same as -v option
(Found at Python Quick Reference
  #3 (permalink)  
Old 01-27-2006
penguin-friend's Avatar
penguin-friend penguin-friend is offline
Registered User
  
 

Join Date: Nov 2001
Location: Paris, France
Posts: 55
Quote:
Originally Posted by RTM
-v verbose (trace import statements) (also PYTHONVERBOSE=x)

Environment variable: PYTHONVERBOSE If non-empty, same as -v option
(Found at Python Quick Reference
Yes i found out that -v. but i would like to be able to follow sort of step by step the code...
should i set, PYTHONVERBOSE=2 in my .py or export PYTHONVERBOSE=2, then execute my python script.py?

Thanx for help
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0