On 8/22/2014 2:19 PM, Seymore4Head wrote:
Is there a way to indent everything again?
Say I have a while statement with several lines of code and I want to
add a while outside that. That means indenting everything. Is there
a global way to do that?
This sort of simple task is why fancy text e
On 8/22/2014 3:54 PM, Rob Gaddi wrote:
On Fri, 22 Aug 2014 15:46:33 -0400
Seymore4Head wrote:
On Fri, 22 Aug 2014 14:19:29 -0400, Seymore4Head
wrote:
Is there a way to indent everything again?
Say I have a while statement with several lines of code and I want to
add a while outside that.
On 8/23/2014 9:00 AM, Chris Angelico wrote:
On Sat, Aug 23, 2014 at 10:38 PM, Rustom Mody wrote:
Here is an example (not identical but analogous to) where markup+compile is
distinctly weaker than wysiwyg:
You can use lilypond to type music and the use a midi player to play it
But lilypond does
On 8/27/2014 9:40 AM, Jake wrote:
Jake
I disagree!
--
Neil Cerutti
--
https://mail.python.org/mailman/listinfo/python-list
On 9/30/2014 7:35 AM, c...@isbd.net wrote:
Thus I'd have something like (apologies for any syntax errors):-
cfg = { "LeisureVolts": ["AIN0", 0.061256, "Leisure Battery Voltage"],
"StarterVolts": ["AIN1", 0.060943, "Starter Battery Voltage"],
"LeisureAmps1": ["AIN2", 0.423122, "
On 10/9/2014 3:53 PM, Tim Delaney wrote:
That would be a theatre programme vs a computer program.
I try to stick with the current spelling style when modifying existing
code - esp. for APIs. It's very annoying to have some methods use "z"
and others "s" in the same package. So since I'm currentl
Isaac T Alston ([EMAIL PROTECTED]) wrote:
: Heiko Wundram wrote:
: > Maybe it's what you're looking for.
: Thanks for that. I've never actually built a robot or anything like that
: before, so I'm welcome to any advice I can get! I've heard programming via
: USB is hard, so that's why I'm using th
I have a question about PIL.
I get a 50k photo from a MySQL table, convert it to grey-scale, do some
rotations, etc. Then I want to put it back. It seems that after I do the
greyscale, it converts from 'JPEG' to 'RAW'. Can anyone tell me how I
convert the image back to 'JPEG' and then insert th
Sorry-- meant to post to comp.python.image
"S. D. Rose" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a question about PIL.
>
> I get a 50k photo from a MySQL table, convert it to grey-scale, do some
> rotations, etc. Then I want to put it bac
Isaac T Alston ([EMAIL PROTECTED]) wrote:
: Thanks for everyone's tips and hints. I WILL MAKE THIS WORK! I think I'll
: take your advice and use the serial port instead of the parallel port - I
: won't have that much data to send (in comparison with, for example,
: industrial level applications). A
Hello all.
If I read a binary file:
file = open('c:\\logo.gif', 'rw'') # Read from FS as one way to get the
object, d/l from website another...
file.read()
is there anyway I can determine the 'size' of the object file? (Without
going to the filesyste
Would
(Eclipse) Help | About -> [Plug-in Details] | Plug-in Name -> PyDev - Python
Development Environment
do the trick for you?
-Dave
"Kenneth McDonald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm trying to find out if I have the most recent version of Pydev for
> Eclipse
Yes, len() will do what I want. I didn't realize it would work with binary,
I thought it was good only for variables, lists, etc.
Thanks!
-Dave
"Kent Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> S. D. Rose wrote:
> > Hello all.
Quick question as I am rather new to Python. What is the preferred tool
amongst you gurus to use in coding Python? I have ran across Eric3 and
found it to be pretty well full-featured. Any comments or suggestions for
better tools/IDE's?
J.D. Leach
--
http://mail.python.org/mailman/listinfo/python
lision pairs of MP3 files where one
member carries a freely redistributable license, and the other a "copy
this and we'll sue your ass off" license in an effort to trap the unwary.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 5
OK, I'm stupid. I have been unable to discern (even Googled) a way to set
the PYTHONDOCS variable to point to where the HTML files are. What to do? I
need to know the process and where theses variables are stored.
--
J. D. Leach
Columbus, Indiana USA
Linux/Open Source Computer
Mike Meyer wrote:
> Chris Smith <[EMAIL PROTECTED]> writes:
>>>>>>> "J" == J D Leach <[EMAIL PROTECTED]> writes:
>> I'm stupider; I can't ATFQ for you.
>> But last night I stayed at a Holiday Inn Express, and can recommend
>&g
os.environ.get('PYTHONDOCS') method, the following is
produced:
>>> os.environ.get('PYTHONDOCS')
'/usr/share/doc/python-2.4/html'
>>> help('if')
...Sorry, topic and keyword blah, blah, blah. No inline info
available...blah, bl
def __repr__(self):
> if inspect.stack()[1][3] == '?':
>
> Consider filing a bug report.
>
> Peter
I believe you are right, a bug report is probably warranted here.
--
J. D. Leach
Columbus, Indiana USA
--
http://mail.python.org/mailman/listinfo/python-list
hould have been in the correct order and directories when
initially installed.
--
J. D. Leach
Columbus, Indiana USA
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 02 Jan 2006 19:05:04 -0500, Steven D'Aprano wrote:
> I don't dare ask where your evidence for this hypothesis is, but I will
> ask what are your reasons for imagining this? What is the chain of
> thought that leads from:
>
> Step 1: We live in a temporal world.
>
> to:
>
> Step N: Our
to specialize only those functions that
need it after profiling your application.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft
al iterator */
for (_idx = 0; _idx < NLST; ++_idx) {
int *i = lst[_idx];
if (*i == *_i2)
i = &_i4;
}
for (_idx = 0; _idx < NLST; ++_idx)
printf("%d\n",*lst[_idx]);
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc.
I want to write a retirement financial estimating program. Python was
suggested as the easiest language to use on Linux. I have some experience
programming in Basic but not in Python.
I have two questions:
1. What do I need to be able to make user GUIs for the program, and
2. Which book would
uld it handle ip bytes that are the same: 1.2.2.2
Mitja has proposed a scoring system reminiscent of SpamAssassin.
This gives me a few things to try.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Conf
nice timeout
exception, the thread running the function continues to run. In fact, the
problem is worse, because even more threads are created.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis ma
On Tue, 25 Jul 2006 09:21:40 -0700, Alan Kennedy wrote:
> [Stuart D. Gathman]
>> I need to set a timelimit for the operation of
>> smtplib.sendmail. It has to be thread based, because pymilter uses
>> libmilter which is thread based.
>
> Have you tried setting a de
Chaos ([EMAIL PROTECTED]) wrote:
: He is the code #Actions here
: myCol = (0.3 * image.GetRed(thisX, thisY)) + (0.59 *
: image.GetGreen(thisX, thisY)) + (0.11 * image.GetBlue(thisX, thisY))
: if myCol < darkestCol:
:darkestCol = myCol
:possX = thisX
:possY = thisY
You really don't wa
ibility
and access, etc. You should really have another look!
Cheers,
Elizabeth
--
==
Elizabeth D. Rather (US & Canada) 800-55-FORTH
FORTH Inc. +1 310-491-3356
5155 W. Rosecrans Ave. #1018 Fax: +1 310-978-9454
h.
Thanks for any assistance, and all the best,
John.
- - - - - - - - cut here - - - - - - - -
Traceback (most recent call last):
File "D:\Program Files\MooD\2006\MooDAPI\APIstrangler0_1.py", line 470,
in ?
thing = win32com.client.Dispatch("MooDAPI.Object.Info") #
, apparently python was
used for quickly building test rigs while developing NFS v4.
Having a framework for python NFS server could be useful - think custom
filesystem. Although a python binding for fuse + C NFS server would
be more general (use locally as well as remotely).
--
Stua
On Fri, 01 Dec 2006 17:48:40 -0800, rieh25 wrote:
> If I have a dictionary such as:
>
> d = {'a' : 1, 'b' : 2}
>
> is there a way to convert it into an object o, such as:
>
> o.a = 1
> o.b = 2
Rather, the question could be asked the other way ar
r run time.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
On Fri, 08 Dec 2006 21:35:41 -0800, Gabriel Genellina wrote:
> On 9 dic, 00:53, "Stuart D. Gathman" <[EMAIL PROTECTED]> wrote:
>> Or you can modify the source to "from drivermodule import DNSLookup".
>>
>> What is the friendliest way to make this c
r than copied. I'm not sure it's worth turning python
into fortran - even for selected namespaces.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis&qu
etpass
2) package that cannot be run directly from command line
3) single file module with associated driver package
is the most pythonic?
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledi
d seriously consider trying to modify Python
to replace the built-in dict with a skip-list algorithm and compare the
performance. Failing that, an extension module implementing a sorted
container of some description would be useful.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
B
o on our web site www.forth.com, including a link to a
paper presenting a history of Forth.
Cheers,
Elizabeth
--
==
Elizabeth D. Rather (US & Canada) 800-55-FORTH
FORTH Inc. +1 310-491-3356
5155 W. Rosecrans Ave. #1018
I've probably asked this before, but how can I tell within the program I'm
running if the .py files was involved by "run module" in IDLE or by using
the .py assoication with the python.exe program? I'd like to prevent running
under certain circumstances, or pop-up warnings, or change character
disp
I use quick-and-dirty code like this:
# Get source directory and text file
Root = Tkinter.Tk()
Root.title(programname)
srcdir = tkFileDialog.ask
Poi-fect - thanks!
import sys
if sys.modules.has_key("idlelib"):
print "Running under idle"
else:
print "Not running under idle"
- Robert
"Michael Hoffman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Robert D. Young wrote:
&
Title: Read tab delimited ascii file
I have a tab delimited ascii/excel file formated like
LineNum Data1 Data2… Data423
Line001 Val1_1 Val2_1… Val423_1
Line002 Val1_2 Val2_2… Val423_2
…
Linennn...
I want to read the headers/column names in the first line of the file and l
In article <[EMAIL PROTECTED]>,
Peter Dembinski <[EMAIL PROTECTED]> wrote:
>
>
>On Sun, 08 May 2005 10:02:42 +0200, André Roberge
><[EMAIL PROTECTED]> wrote:
>
>> Imperative programming languages are the most commonly used languages.
>> Examples of this type of language are C, C++, Ada, Fortra
Title: Column data with first value from each row as key?
Hi All,
I have a file of column data where the first row/line of the file contains the column headings. These I need to use as keys. Furthermore I need to be able to use the first value from each of the data rows/lines as a secondary
"Daniel" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Hello from Brazil :-)
>
> I'm trying to bring cx_Oracle alive on my Python 2.4.1 @ HP-UX 11
> (suckz) and Oracle 10.1.0 64bits without success
>
> I've already tryied the suggestions from Bernard Delmée and Martin v.
> Löwis (topic
<[EMAIL PROTECTED]> wrote>
> 1) Intellisense is really just another crutch that does more harm than
> good? There were a few hardcore defenders of this position but not
> many.
I'm primarily a VB programmer, but I also do Java and web stuff as well.
Whenever I look at a new IDE the FIRST thing I lo
ion. Do I have to do this for ever script I write, or can I put
this into separate file and "include" it somehow ?
I am going to have several mainscripts.py, and all is going to import myModule
that will need access to this plots subroutine. It'll be great if I can put
this trick on a single file that is included by the main scripts, to avoid
violating DRY principle.
Thanks for all the help.
RDB
--
Reuben D. Budiardja
--
http://mail.python.org/mailman/listinfo/python-list
On Monday 11 June 2007 23:49:14 Gabriel Genellina wrote:
> En Mon, 11 Jun 2007 22:19:15 -0300, Reuben D. Budiardja
>
> >It'll be great if I can
> > put
> > this trick on a single file that is included by the main scripts, to
> > avoid
> > violating DRY pri
On Monday 11 June 2007 23:49:14 Gabriel Genellina wrote:
> En Mon, 11 Jun 2007 22:19:15 -0300, Reuben D. Budiardja
> > It'll be great if I can
> > put
> > this trick on a single file that is included by the main scripts, to
> >
> According to your description on
Greetings everyone. I'm a relative newcomer to python and I have a technical
problem.
I want to split a 32 bit / 4 byte unsigned integer into 4 separate byte
variables according to the following logic: -
bit numbers 0..7 byte 1
bit numbers 8..15 byte 2
bit numbers 16..23 byte 3
bit numbers 24..
>
> Have a look at http://aspn.activestate.com/ASPN/Cookbook/Python/
> Recipe/113799
Brilliant - thank you :)
--
http://mail.python.org/mailman/listinfo/python-list
uldn't "x += y" mean the same thing as "x = x +
y"?
If so, why does an assignment to variable a, below, have the *side effect* of
changing variable b ... ?
>>> a = [1, 2, 3]
>>> b = a
>>> b
[1, 2, 3]
>>> a += [4]
>>> a
[1, 2, 3, 4]
>>> b
[1, 2, 3, 4]
... but using the "x = x + y" style, the assignment to variable c, below, does
*not* have a side effect on variable d (as indeed it should not!)?
>>> c = [1, 2, 3]
>>> d = c
>>> d
[1, 2, 3]
>>> c = c + [4]
>>> c
[1, 2, 3, 4]
>>> d
[1, 2, 3]
>>>
--
http://mail.python.org/mailman/listinfo/python-list
irst digits and ignore the rest of the chacters,
A regex leaps to mind.have you investigated the "re" module?
>>> import re
>>> re.match(r'(\d+)', '123abc').group(1)
'123'
steven
--
http://mail.python.org/mailman/listinfo/python-list
Neosynapse is seeking a senior software developer located in or
willing to relocate to the Northern VA area to join a project
building one of the largest grid computing data platforms in the
world. Skill and experience required for this engagement include:
* at least 7 years experience in p
On Tue, 17 Apr 2007 15:43:02 -0700, MassiveProng
<[EMAIL PROTECTED]> wrote:
>On 17 Apr 2007 06:56:05 -0700, [EMAIL PROTECTED] Gave us:
>
>>We know that...
>
> You're a fucking retard.
But you are a text book example of a retard shoveling horseshit to
technical groups.This is why you are universa
: arguments and dicts, which are lot more versatile. Another major use,
: talking to hardware, is not something oft done in Python either.
Are you sure? I've been doing lots of exactly that for 4 years, and
I'm not the only one round here... Python makes an excellent language for
talking to
As part of a debugging investigation I would like to be able to display the
return status from various methods in the socket class. The methods I'm
using are accept, bind, connect, listen, send, recv although not necessarily
in that order.
Is this possible and if so, how?
TIA,
Paul.
--
ht
I'm trying to get a Python User Group started in Norman, OK and I want
to get one of those fancy mailing lists on mail.python.org. There is a
link there to create a new list if you have the proper authority. How
does someone get the proper authority?
--
Kevin D. Smith
--
get a thread dump? If needed, I can import pdb
and set options at startup, but there needs to be some external way of
triggering the dump since I can't reproduce it at will.
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Phone: 703 591-0911 F
about a python package.
I'm struggling with the same issue. Coding Python is so much easier than
Java. However documenting Java is so much easier than Python. Just
include doc comments, run javadoc, and voila!
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management
On Mon, 22 Jan 2007 17:35:18 -0500, Stuart D. Gathman wrote:
> The HTML generated by pydoc doesn't link to standard modules properly.
> They are generated as relative links. So it can't be used without
> modification for generating docs for a web page about a python
Hello All.
I am learning Python, and have never worked with HTML. However, I would
like to write a simple script to audit my 100+ Netware servers via their web
portal.
I was reading Chapter 8 of Dive into Python, which deals with this topic.
In the web portal of the server, there is a sect
on raised:
Traceback (most recent call last):
File "/var/tmp/python2.4-2.4.4c1-root/usr/lib/python2.4/doctest.py",
line 1248, in __run
compileflags, 1) in test.globs
TypeError: compile() expected string without null bytes
*
On Tue, 16 Jan 2007 09:11:38 -0500, Jean-Paul Calderone wrote:
> On Tue, 16 Jan 2007 00:23:35 -0500, "Stuart D. Gathman"
> <[EMAIL PROTECTED]> wrote:
>>I have a ThreadingTCPServer application (pygossip, part of
>>http://sourceforge.net/projects/pymilter). It mo
unction()
> python << EOF
> import vim, string
> ...blablabla
> EOF
> endfunction
>
> but I would like to use external ".py" files.
:py import myfile
Use :py inside your vimrc - don't run python externally.
--
Stuart D. Gathman <[EMAIL PR
/
http://www.livewires.org.uk/python/pdfsheets.html
As an adult, just skip rapidly through the elementary material. The final
module (Games sheets) walks you through creating 3 2D games with pygame!
--
Stuart D. Gathman <[EMAIL PROTECTED]>
Business Management Systems Inc. Ph
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> On Feb 21, 12:26 pm, "DanielJohnson" <[EMAIL PROTECTED]> wrote:
>> I was wondering if anyblody can suggest me a network simulator
[Snips]
>> I am looking for a simulator
[Snips]
> Google for Scapy
I don't think Scapy is
I'm sure I've read before about how to construct prototypes in Python,
but I haven't been able to track it down (or figure it out).
What I basically want is a kind of class that has both class and
instance level dict variables, such that descendant classes
automatically create their own class a
Gabriel Genellina wrote:
>> En Fri, 23 Feb 2007 17:53:59 -0300, Charles D Hixson
>> <[EMAIL PROTECTED]> escribió:
>>
>>
>>> I'm sure I've read before about how to construct prototypes in Python,
>>> but I haven't been able to track
Larry Bates wrote:
> Charles D Hixson wrote:
>
>> I'm sure I've read before about how to construct prototypes in Python,
>> but I haven't been able to track it down (or figure it out).
>>
>> What I basically want is a kind of class that has both cla
Toby wrote:
> Charles D Hixson wrote:
>
>> What I basically want is a kind of class that has both class and
>> instance level dict variables, such that descendant classes
>> automatically create their own class and instance level dict variables.
>> The id
Toby wrote:
> Charles D Hixson wrote:
>
>> a class whose sub-classes automatically have unique class variables of
>> a determined form such that I can do a hierarchical search through them
>>
>
> Something like this?
> (scroll down to see the results
Regards
Cesar D. Rodas
http://www.cesarodas.com
http://www.thyphp.com
http://www.phpajax.org
Phone: +595-961-974165
--
http://mail.python.org/mailman/listinfo/python-list
On 22/12/2007, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>
> Cesar D. Rodas wrote:
>
> > I am newbie in Python, but I like it very much.
> >
> > Right now I am having a problem, I am working with mod_python in apache.
> > What I needing is a stdout buffe
like to
> > wish you all a Merry Xmas.
> >
> > - Paddy.
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
>
>
>
> --
> Regards--
> Rishi Pathak
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Bes
Hello all. Awhile back I was playing with win32all package to get system
information from the Dell PCs. However, I'm using a win32 program, bginfo,
to get the information on the PC and insert it into a MySQL database. Of
the fields I'm recording, I am saving the system serial number.
I was w
check out PyMat:
http://claymore.engineer.gvsu.edu/~steriana/Python/pymat.html
I've never used it but I believe it should work for your needs.
However, I highly recommend taking a look at SAGE:
http://modular.math.washington.edu/sage/
which has an interface to octave.
-ph
--
http://mail.python.
> PyMat will not help you! PyMat works the other way around, ie it
> allows for Matlab calls from Python.
excuse my ignorance: but why would that not be helpful? I may be
missing something blindingly stupid (very possible) but it seems to me
using PyMat would be just as powerful (if not more) as
Steve <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> umm, was just wondering, does the python mascot have a name ?
I always assumed it was Monty, but I confess to not having the slightest
factual basis for this belief.
All the best,
John.
--
http://mail.python.org/mailman/listinfo/
Andy Sy <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> http://mail.python.org/pipermail/python-list/2003-September/185612.html
"Odi" must be the Dutch for "Monty".
All the best,
John.
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>, Edward
Elliott <[EMAIL PROTECTED]> wrote:
> This is just anecdotal, but I still find it interesting. Take it for what
> it's worth. I'm interested in hearing others' perspectives, just please
> don't turn this into a pissing contest.
>
> I'm in the process of con
John Bokma <[EMAIL PROTECTED]> wrote in news:Xns97C6ADE23FCAcastleamber@
130.133.1.4:
> John D Salt wrote:
>
>> Andy Sy <[EMAIL PROTECTED]> wrote in
>> news:[EMAIL PROTECTED]:
>>
>>> http://mail.python.org/pipermail/python-list/2003-September/1
Mel Wilson <[EMAIL PROTECTED]> wrote in news:_s2bg.8867$aa4.296233
@news20.bellglobal.com:
[Snips]
> Just reinforces the central truth. The mascot doesn't
> *have* a name. Most things don't.
Most things don't have names?
I'll believe you if you can give me a list of ten things that don't hav
I was reading through old messages in the list and came up against an
idea that I thought might be of some value:
"Wouldn't it be a good idea if one could "rewind" an iterator?"
Not stated in precisely those terms, perhaps, but that's the way I read it.
I appreciate that one could use a sequence r
<[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
[Snips]
> Wrong. We live in a paradise of ideas and possibilities well beyond the
> wildest dreams of only 20 years ago.
What exciting new ideas exist in software that are both important and
cannot be traced back to 1986 or earlier?
I'd like
"John A. Bailo" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
[Snips]
> What exciting new ideas exist in software that are both important and
> cannot be traced back to Doug Engbart's 1968 presentation at Xerox
> Parc?
The only two I would think worth mentioning are Nygaard et al's idea
Eli Gottlieb <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
[Snips]
> I correct: We live in a paradise where we finally have to processing
> power to realize all those ideas that were too inefficient 20 years
> ago.
That sounds more reasonable.
In my more jaundiced moments, I think that
Hi All,
I'm trying to access individual video frames of an AVI file from within
Python 2.4 or 2.5 under Windows XP.
I have found this example code here for that does exactly what I want,
using the windows avifile.dll but I am unable to find the AVIFile.h
header...
http://mail.python.org/piperm
Thomas Heller ([EMAIL PROTECTED]) wrote:
: c d saunter schrieb:
: > Hi All,
: >
: The dll is not corrupt. It is the 16-bit dll, possibly present for legacy
: 16-bit support.
Thomas,
Thanks, that explains a lot.
Regards,
Chris Saunter
--
http://mail.python.org/mailman/li
Soren,
I don't know about the USB parallel port converters but there are
variousways you can add USB connectivity yourself.
A simple way are the USB devices from FTDI
(http://www.ftdichip.com/FTProducts.htm)
Either the FT232R or the FT245R. These are both single chip solutions
that
you'd
want the 245.
regards
cds
c d saunter ([EMAIL PROTECTED]) wrote:
: Soren,
: I don't know about the USB parallel port converters but there are
: variousways you can add USB connectivity yourself.
: A simple way are the USB devices from FTDI
: (http://www.ftdichip.com
I did a double take when debugging an error the other day. My
problem was missing out a comma when building a list of strings.
Much to my surprise the offending code still executed to cause
problems later on:
>>> txt = 'this', 'works'
>>> print txt
('this', 'works')
# As expected
>>> txt = 'this
Bruno Desthuilliers (bruno.42.desthuilli...@websiteburo.invalid) wrote:
: c d saunter a écrit :
: > I did a double take when debugging an error the other day. My
: > problem was missing out a comma when building a list of strings.
: >
: > Much to my surprise the offending code still
ack either. Looking through the python debugger documentation, I
don't see how to run a python program and interactively stopping it
while it is running. Is there a way to stop within a running python
program to see where it is getting hung up?
--
Kevin D. Smith
--
http://mail.python.org/m
different. Right now I get black where it wasn't different, and
abs(image1-image2) where it was different.
It would be nice if I could specify the colors for difference and no
difference. This sounds like it should be easy, but I just don't see
how to do it.
--
Kevin D. Smith
--
ht
On 2008-10-25 12:41:51 -0500, [EMAIL PROTECTED] said:
Kevin D. Smith:
What I want is a two color output image: black where the image wasn't
different, and white where it was different.<
There are several ways to do that. If speed isn't essential, then you
can create a third blank
return result
The problem is that when I use the help() function on them, I don't get
the doc string from the function that is being wrapped. Instead, I get
the following:
hasEmployees =
What do I need to do to get the doc string of the wrapped function to
apper when using help()?
doesn't have this argument and I don't understand the code
enough to know if it's possible to add it. Is this enhancement
possible without drastically changing the current code?
--
Kevin D. Smith
--
http://mail.python.org/mailman/listinfo/python-list
On 2009-05-07 23:48:43 -0500, Chris Rebert said:
On Thu, May 7, 2009 at 2:23 PM, Kevin D. Smith wrote:
I need the behavior of heapq.merge to merge a bunch of results from a
database. I was doing this with sorted(itertools.chain(...), key=
...), but
I would prefer to do this with
Hello Pythoners!
I just finished my first useful project in Python, It is a language
detector using N-grams. I hope this can be useful for someone,
http://github.com/crodas/py-languess/tree/master
The License of the project is BSD
Best regards
--
Cesar D. Rodas
http://cesar.la/
Phone: +595
401 - 500 of 538 matches
Mail list logo