On Nov 9, 10:41 pm, Peng Yu wrote:
> I have to explicitly specify the modules I want to ignore. Is there a
> way to ignore all the modules by default?
Is this your problem?
http://bugs.python.org/issue10685
--
http://mail.python.org/mailman/listinfo/python-list
> Try with just --trace?
>
>
> C:\ramit>python.exe -m trace test.py
> C:\ramit\Python27\lib\trace.py: must specify one of --trace, --count,
> --report, --listfuncs, or --trackcalls
>
> C:\ramit>python -m trace --trace test.py
> --- modulename: test, funcname:
> test.py(2): def f():
> test.py(5):
Peng Yu wrote:
>
> > Is this what you want?
> > http://docs.python.org/2/library/trace.html
>
> I'm not able to get the mixing of the python command screen output on
> stdout. Is there a combination of options for this purpose?
>
> ~/linux/test/python/man/library/trace$ cat main1.py
> #!/usr/bin
> Is this what you want?
> http://docs.python.org/2/library/trace.html
I'm not able to get the mixing of the python command screen output on
stdout. Is there a combination of options for this purpose?
~/linux/test/python/man/library/trace$ cat main1.py
#!/usr/bin/env python
def f():
print "Hel
On Nov 9, 4:12 am, Peng Yu wrote:
> Hi,
>
> In bash, set -v will print the command executed. For example, the
> following screen output shows that the "echo" command is printed
> automatically. Is there a similar thing in python?
>
> ~/linux/test/bash/man/builtin/set/-v$ cat main.sh
> #!/usr/bin/e
Hi,
In bash, set -v will print the command executed. For example, the
following screen output shows that the "echo" command is printed
automatically. Is there a similar thing in python?
~/linux/test/bash/man/builtin/set/-v$ cat main.sh
#!/usr/bin/env bash
set -v
echo "Hello World!"
~/linux/test/