On Jan 6, 11:20 am, Dan M wrote:
> On Thu, 06 Jan 2011 08:11:34 -0800, Wanderer wrote:
> > We generate PCB assembly files in pdf format using SmartPDF. This allows
> > us to search for a component in the assembly using the find feature. We
> > would like to be able
I have a bunch of cameras I want to run tests on. They each have
different drivers and interfaces. What I want to do is create python
wrappers so that they all have a common interface and can be called by
the same python test bench program. I'm not sure what to call it. I
don't think it's inheritan
On Feb 4, 12:07 pm, Jean-Michel Pichavant
wrote:
> Wanderer wrote:
> > I have a bunch of cameras I want to run tests on. They each have
> > different drivers and interfaces. What I want to do is create python
> > wrappers so that they all have a common interface and can be c
I want to give the option of changing attributes in a method or using
the current values of the attributes as the default.
class MyClass():
""" my Class
"""
def __init__(self):
""" initialize
"""
self.a = 3
self.b = 4
def MyMethod(self,
When I try to use program that uses ctypes to load a dll in Ipython. I
get
Traceback (most recent call last):
File "... \console.py" line 671, in hook_wrapper_23
res = ensire_str(readline_hook(prompt))
File "...\rlmain.py", lin 342, in readline
return self.mode.readline(prompt)
I'm using code
def getFiles(self, fileBase):
"""return a list of the filenames in a director containing a
base word
"""
allFiles = os.listdir(self.resultDir)
baseFiles = []
for f in allFiles:
if f.find(fileBase) > 0:
baseFile
Since the last Java update, I get the error, "undefined variable from
import" in Pydev in the Eclipse editor. I can still run the program in
Eclipse. If I add a blank line and save the program, the error goes
away, but that screws up the revision with SVN. Has anyone else seen
this or have a fix.
I would like to import Matlab/Octave files of the .m sort into Python
that look like this.
# comment
y=[1,2,3,4,5\
,6,7,8,9];
# comment
The only problem is I have to change the extensions from .m to .py. Is
there a way to get python to import files that don't end in .py?
Thank you
--
http://mai
On Sep 25, 12:15 pm, Ishwor Gurung wrote:
> Wanderer
> Hi
> Refer tohttp://docs.python.org/tutorial/modules.html#the-module-search-path.
>
> Particularly-
> "
> When a module named spam is imported, the interpreter searches for a
> file named spam.py in the current di
On Saturday, February 25, 2017 at 1:03:40 PM UTC-5, Deborah Swanson wrote:
> Dennis Lee Bieber wrote, on February 25, 2017 4:50 AM
> >
> > On Fri, 24 Feb 2017 22:26:15 -0800, "Deborah Swanson"
> > declaimed the following:
> >
> > >
> > >Well rats. Skull duggery on the net is a lot more sophisti
I mostly just lurk and view the post titles to see if something interesting is
being discussed. This code gets me a web page without the spam. You need to
compile it to a pyc file and create a bookmark. Probably not useful for most
people who don't use their browsers the way I do, but here it is
On Saturday, March 4, 2017 at 11:31:13 AM UTC-5, Chris Angelico wrote:
> On Sun, Mar 5, 2017 at 3:22 AM, Wanderer wrote:
> > I mostly just lurk and view the post titles to see if something interesting
> > is being discussed. This code gets me a web page without the spam. You need
I use this script to ban authors from Google Groups. You need to create a
banned authors text file with each author separated by a new line. For Mozilla
you need to compile it to a pyc file, associate pyc files with Python and
create a bookmark. You then use the bookmark to enter google groups w
On Sunday, July 9, 2017 at 8:59:45 PM UTC-4, timetowalk wrote:
> On Sunday, July 9, 2017 at 8:05:59 PM UTC-4, Michael Torrie wrote:
> > On 07/09/2017 05:39 PM, timetowal...@gmail.com wrote:
> > > I use https://groups.google.com/forum/#!forum/comp.lang.python to look
> > > over message posts.
> > >
On Sunday, November 26, 2017 at 4:10:12 AM UTC-5, Greg Tibbet wrote:
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectang
On Sunday, November 26, 2017 at 4:10:12 AM UTC-5, Greg Tibbet wrote:
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectang
On Sunday, November 26, 2017 at 4:10:12 AM UTC-5, Greg Tibbet wrote:
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectang
101 - 117 of 117 matches
Mail list logo