text-properties-at
remove-text-properties alter-text-property get-text-property
(set (make-local-variable ‘comint-output-filter-functions) ‘(ansi-color-process-output python-shell-comint-watch-for-first-prompt-output-filter python-pdbtrack-comint-output-filter-function python-comint-postoutput-scroll-to-bottom))
( ) [ ] { } , : . ; @ = += -= *= /= //= %= &= |= ^= >>= <<= **=
[(control c)(control l)] ‘comint-dynamic-list-input-ring) [(control c)(control r)] ‘comint-previous-prompt)
Behaviour similar to Emacs comint/Python environment. Taken from shift-keys, which are still there:
[(control c)(<)] ‘py-shift-left) [(control c)(>)] ‘py-shift-right)
in gud.el (run-hooks ‘pdb-mode-hook))
http://stackoverflow.com/questions/6980749/simpler-way-to-put-pdb-breakpoints-in-python-code python -m pdb your_script.py
It will break on the 1st line, then you’ll be able to add a breakpoint wherever you want in your code using the break command, its syntax is:
b(reak) [[filename:]lineno | function[, condition]]
;; Python-mode, bundled with many Emacs installs, quite cavalierly ;; adds this function to the global default hook. It interferes ;; with overlay-arrows. (remove-hook ‘comint-output-filter-functions ‘py-pdbtrack-track-stack-file)
): no indent
with open(‘GivenFixtures.txt’, ‘r’) as gv:
text = gv.readlines()
Type “help”, “copyright”, “credits” or “license” for more information. >>> … >>> >>> … … … … … … … … … >>> >>> … … … … … … … … … … … … … … … … … … … … … … … … … … … … >>> Traceback (most recent call last): File “<stdin>”, line 1, in <module> FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/python3-19061qd.py’
(args (cond (py-fast-process-p nil)
use orig
Many Emacs users keep there own environemt composed of the extensions around. Therefor offering everthing possibly needed right from the spot is not that promising as elsewhere - moreover, there is a probability, stuff delivered might disturb existing workflow. OTOH many users will spend more time than necessary collecting all this stuff from a plenty of sources, which often need some tweaks. A Solution might be indicating tested install examples.
generic command, execute according to version customized in `py-execute-version’
grasp keyword.kwlist as py-minor-expression