Skip to main content

The informative Python Command line options, save your time

Python command line options
[Python command line options]
The complete list of command line options

Issue warnings for calling str() with a bytes or bytearray object and no encoding argument, and comparing a bytes or bytearray with a str. Option -bb issues errors instead.
Do not write .pyc or .pyo byte-code files on imports.
Turn on parser debugging output (for developers of the Python core).
Ignore Python environment variables described ahead (such as PYTHONPATH).
Print help message and exit.
Enter interactive mode after executing a script. Hint: useful for postmortem debugging; see also, described in Python’s library manuals.
Optimize generated byte code (create and use .pyo byte-code files). Currently yields a minor performance improvement.
Operates like -O, the previous option, but also removes docstrings from byte code.
Do not print version and copyright message on interactive startup (as of Python 3.2).
Do not add the user site directory to the sys.path module search path.
Do not imply “import site” on initialization.
Force stdout and stderr to be unbuffered and binary.
Print a message each time a module is initialized, showing the place from which it is loaded; repeat this flag for more verbose output.
Print Python version number and exit (also available as --version).
-W arg
Warnings control: arg takes the form action:message: category:module:lineno. See also “Warnings Framework” and “Warning Category Exceptions” ahead, and the warn ings module documentation in the Python Library Refer‐ ence manual (available at
Skip first line of source, allowing use of non-Unix forms of
-X option
Set implementation-specific option (as of Python 3.2); see implementation documentation for supported option values.


Popular posts from this blog

Top 20 ultimate ETL Questions really good for interviews

How to print/display the first line of a file?  there are many ways to do this. However the easiest way to display the first line of a file is using the [head] command.  $> head -1 file. Txt no prize in guessing that if you specify [head -2] then it would print first 2 records of the file.  another way can be by using [sed] command. [sed] is a very powerful text editor which can be used for various text manipulation purposes like this.  $> sed '2,$ d' file. Txt how does the above command work?  The 'd' parameter basically tells [sed] to delete all the records from display from line 2 to last line of the file (last line is represented by $ symbol). Of course it does not actually delete those lines from the file, it just does not display those lines in standard output screen. So you only see the remaining line which is the 1st line.  how to print/display the last line of a file?  the easiest way is to use the [tail] command.  $> tail -1 file. Txt if you want to do it using…

The unique helpful SAN architecture simplified one

Storage Area Networks (SANs)

A SAN is connected behind the servers. SANs provide block-level access to shared data storage. Block level access refers to the specific blocks of data on a storage device as opposed to file level access. One file will contain several blocks. 

SANs provide high availability and robust business continuity for critical data environments. SANs are typically switched fabric architectures using Fibre Channel (FC) for connectivity. The term switched fabric refers to each storage unit being connected to each server via multiple SAN switches also called SAN directors which provide redundancy within the paths to the storage units. This provides additional paths for communications and eliminates one central switch as a single point of failure.Ethernet has many advantages similar to Fibre Channel for supporting SANs. Some of these include high speed, support of a switched fabric topology, widespread interoperability, and a large set of management tools. In a storage ne…

Four Tableau products a quick review and explanation

I want to share you what are the Products most popular.

Total four products. Read the details below.

Tableau desktop-(Business analytics anyone can use) - Tableau  Desktop  is  based  on  breakthrough technology  from  Stanford  University  that  lets  you drag & drop to analyze data. You can connect to  data in a few clicks, then visualize and create interactive dashboards with a few more.

We’ve done years of research to build a system that supports people’s natural  ability  to  think visually. Shift fluidly between views, following your natural train of thought. You’re not stuck in wizards or bogged down writing scripts. You just create beautiful, rich data visualizations.  It's so easy to use that any Excel user can learn it. Get more results for less effort. And it’s 10 –100x faster than existing solutions.

Tableau server
Tableau  Server  is  a  business  intelligence  application  that  provides  browser-based  analytics anyone can use. It’s a rapid-fire alternative to th…