About 2,750,000 results
Open links in new tab
  1. profiling - Interactive Python: cannot get `%lprun` to work, …

    Nov 13, 2013 · Problem Most iPython "magic functions" work fine for me right off the bat: %hist, %time, %prun, etc. However, I noticed that %lprun could not be found with iPython as I'd …

  2. How do I read the output of the IPython %prun (profiler) command?

    In [303]: %prun my_function() 384707 function calls (378009 primitive calls) in 83.116 CPU seconds Ordered by: internal time ncalls tottime percall cumtime percall …

  3. how profiling class method using IPython %lprun magic function

    How can I profile a method of an object called inside a function? I am using the %lprun magic in a jupyter notebook. Please see the following ex.py example file: class foo(): def __init__(self...

  4. git - How to prune local tracking branches that do not exist on …

    With git remote prune origin I can remove the local branches that are not on the remote any more. But I also want to remove local branches that were created from those remote branches (a …

  5. How can I remove old and unused Docker images? - Stack Overflow

    Jul 8, 2017 · Update Sept. 2016: Docker 1.13: PR 26108 and commit 86de7c0 introduce a few new commands to help facilitate visualizing how much space the docker daemon data is …

  6. Getting all command line args when OpenMPI `prun` calls a C …

    Jan 14, 2023 · Question: I want to create an array of strings in a C program whose elements are all the command line arguments used to execute a C-program called by prun (see OpenMPI: …

  7. How to run a PowerShell script from a batch file - Stack Overflow

    PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""C:\Users\SE\Desktop\ps.ps1""' -Verb …

  8. Jupyter %%prun magic output not displayed properly in VS Code

    Sep 23, 2022 · 3 Since very recently I have a problem where the output of %%prun is not displayed properly in VS Code Jupyter (all output is on one line instead of in a nicely formatted …

  9. How to pass a variable to magic ´run´ function in IPython

    Jan 19, 2013 · It seems this is impossible with the built-in %run magic function. Your question led me down a rabbit hole, though, and I wanted to see how easy it would be to do something …

  10. Python Function to test ping - Stack Overflow

    I'm trying to create a function that I can call on a timed basis to check for good ping and return the result so I can update the on-screen display. I am new to python so I don't fully understand h...