Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: gdb breakpoint in python module
Post: gdb breakpoint in python module

I import a custom made python library from Jets.Analysis.Plot import *I would like to set a gdb breakpoint in the module source file Plot.py The python executable is wrapped by a shell executable sh...
Viesturs General Coding Help 0 2,212 Jul-27-2018, 02:02 PM
    Thread: check imports
Post: RE: check imports

When I call: from Jets.Analysis.Plot import *how can I check the path to the module Plot.py I need this to set a gdb breakpoint in Plot.py. What environment variables does python use to search for...
Viesturs General Coding Help 6 4,141 Jul-27-2018, 01:32 PM
    Thread: check imports
Post: RE: check imports

yes, that is a custom made module. But the problem was found in not invoking Plot() with the proper arguments. Python did not supply any error statements.
Viesturs General Coding Help 6 4,141 Jul-26-2018, 09:19 PM
    Thread: check imports
Post: check imports

I have an import statement from Jets.Analysis.Plot import *I suspect the imports did not run well as when I call Plot() a loop has an unexpected jump to beginning and the same happens if I write Pllo...
Viesturs General Coding Help 6 4,141 Jul-26-2018, 04:45 PM
    Thread: How to run numpy
Post: RE: How to run numpy

That seemed to be the issue
Viesturs Data Science 2 3,895 Jun-07-2018, 06:23 AM
    Thread: How to run numpy
Post: How to run numpy

I created a file nmpy.py following exactly given the code in the numpy tutorial - https://docs.scipy.org/doc/numpy/user/quickstart.html The contents of nmpy.py are the following: import numpy as np...
Viesturs Data Science 2 3,895 Jun-06-2018, 10:07 PM
    Thread: No module named pip
Post: No module named pip

I try to use pip python -m pip install --user numpy and get Output:/usr/bin/python: No module named pipI work with Python 2.7.12 How to make pip available?
Viesturs Data Science 4 49,738 Jun-06-2018, 08:29 PM
    Thread: open file from web
Post: open file from web

by File = open('file.txt') I can open a file. How can I open a file from a web URL?
Viesturs General Coding Help 1 2,480 Nov-30-2017, 11:55 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020