Re: detect endianness of a binary with python

2010-07-22 Thread Tim Roberts
reinvent the wheel when there's a tool that already does what you want. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Errno 9] Bad file descriptor

2010-07-13 Thread Tim Roberts
print sys.stdin.readlines() IOError: [Errno 9] Bad file descriptor C:\tmppython y.py y.py ['import sys\n', '\n', 'print sys.stdin.readlines()\n'] C:\tmp -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Check if a command is valid

2010-07-13 Thread Tim Roberts
to do that. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-10 Thread Tim Roberts
Dave Angel da...@ieee.org wrote: Tim Roberts wrote: No. The multi-thread-aware CRT in Visual C++ (which is the only option since VS2008) puts errno in thread-local storage, so it's shared by all CRTs. I didn't know specifically that errno is in TLS, but I will disagree

Re: 'reload M' doesn't update 'from M inport *'

2010-07-10 Thread Tim Roberts
to the service.xxx object as it is right now. When you do a reload, that imports a new version of service.xxx, but your global xxx object is still bound to the old one. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: MySqlDb any way to see the query string

2010-07-10 Thread Tim Roberts
to know the result before you submit it, you can scan the source for the execute method and see how they do the quoting. It's not that complicated. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python -- floating point arithmetic

2010-07-09 Thread Tim Roberts
language (assuming it hasn't changed the rounding mode). -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-08 Thread Tim Roberts
problem. No. The multi-thread-aware CRT in Visual C++ (which is the only option since VS2008) puts errno in thread-local storage, so it's shared by all CRTs. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Tim Roberts
. :(( Also nonsense. Get it from right here: http://www.microsoft.com/express/downloads/ Note the three tabs: VS2010, SQL Server R2, and VS2008. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: PDF Generation With Reportlab

2010-06-30 Thread Tim Roberts
and spacers but I cannot figure out how to fit this into the table structure. Page breaks and spacers are absolutely the wrong way to handle this. Think about this as a Word document. If you want to exclude the logo, you'd change the top margin to protect it. -- Tim Roberts, t...@probo.com

Re: [python] how to ensure item in list or dict bind with an uuid meaning integer type ID?

2010-06-30 Thread Tim Roberts
like that, there are pure Python SQL engines available that are even simpler. Why reinvent the whell? What you want already exists. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: I strongly dislike Python 3

2010-06-27 Thread Tim Roberts
developers do not have the right to make incompatible changes, ever? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: pyreadline: default editable input; please, help.

2010-06-13 Thread Tim Roberts
-level operating system interfaces are quite different. raw_input in the Windows implementation bypasses any readline hooks. You'll have to use a different method. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: why any( ) instead of firsttrue( ) ?

2010-06-10 Thread Tim Roberts
danieldelay danielde...@gmail.com wrote: Does GVR prefers beauty to power ? Not in the beginning, but in recent years things are tending this way. And, frankly, I don't think that's a Bad Thing at all. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org

Re: problems with CSV module

2010-06-05 Thread Tim Roberts
been my experience that csv.Sniffer is NEVER worth the trouble. You know what the format is. Just embed the dialect yourself. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com sql update problem

2010-05-12 Thread Tim Roberts
the file path hardcoded, as in your example? Or are you building it up from strings? Does the net share exist at the time you run this? You might print conn.ConnectionString just before the Execute. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman

Re: Cross-platform file paths

2010-05-08 Thread Tim Roberts
to access a Linux file system from another Linux machine. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Classes: nested functions vs. private methodes

2010-05-06 Thread Tim Roberts
-defined, so super() is still meaningful. However, in that case, you are rapidly getting into a design that is too complicated to understand at a glance. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: winreg - access mask

2010-04-30 Thread Tim Roberts
constants are straight from the Windows API. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: WIN32 - get the GUID of a Network Device

2010-04-26 Thread Tim Roberts
the Registry, but maybe there is another way? OK; I'm going to hope that Tim Roberts or someone equally knowledgeable can kick in here as devices really isn't my area. However this looks like it *might* be doing what you want: code import wmi for nic in c.Win32_NetworkAdapter (MACAddress

Re: Usable street address parser in Python?

2010-04-20 Thread Tim Roberts
and after. I used to live at: 44720 N 2nd St E Lancaster, CA 93534 Consider much of Utah, which is both easy (because of its very neat grid) and a pain, because of addresses like: 389 W 1700 S Salt Lake City, UT 84115 -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: Updated License Term Agreement for VC Redistributable in VS 2008 SP1

2010-04-18 Thread Tim Roberts
CM cmpyt...@gmail.com wrote: On Apr 16, 3:31 am, Tim Roberts t...@probo.com wrote: Microsoft's intent is that you be able to distribute the non-debug runtimes with any applications built with Visual Studio.  They are evil, but not arbitrarily malicious. Just to be clear: are you saying

Re: Updated License Term Agreement for VC Redistributable in VS 2008 SP1

2010-04-16 Thread Tim Roberts
runtimes with any applications built with Visual Studio. They are evil, but not arbitrarily malicious. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: mailbox multipart

2010-04-14 Thread Tim Roberts
, from and to of of a multipart mail using python? Perhaps you should post your code. There's no particular reason why you should see this. The mailbox iterator should return the outer multipart container, which has the headers. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: urllib2: post request to textarea

2010-04-09 Thread Tim Roberts
a coincidence, and my real problem is something else? It's just a coincidence. The contents of a textarea are transmitted exactly like the contents of an input type=text. My guess is that you did the encoding improperly. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org

Re: Incorrect scope of list comprehension variables

2010-04-03 Thread Tim Roberts
comprehension created a new scope. I don't that was ever promised. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Developement Question?

2010-04-02 Thread Tim Roberts
just have Excel print to a PDF. No conversion, no scripting. There are a number of open source PDF converters. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Advice Criticism on Python App

2010-03-26 Thread Tim Roberts
Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: On Wed, 24 Mar 2010 21:14:23 -0700, Tim Roberts wrote: Jimbo nill...@yahoo.com wrote: class stock: code = purchasePrice= 0 purchaseQuantity = 0 price= [] # list of recent prices

Re: device identification

2010-03-24 Thread Tim Roberts
to manipulate? I have a lot of USB experience -- perhaps I can offer advice. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Advice Criticism on Python App

2010-03-24 Thread Tim Roberts
, stockCode=, purPrice=0, purQuant=0): self.code = stockCode self.purchasePrice= purPrice self.purchaseQuantity = purQuant -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: device identification

2010-03-22 Thread Tim Roberts
and find a match for your device. It's not worth the trouble. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python bindings tutorial

2010-03-18 Thread Tim Roberts
, the transfer address goes to main. So, when you load an EXE as a DLL, you will be RUNNING the program. That's is usually not what you want. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: result of os.times() is different with 'time' command Options

2010-03-14 Thread Tim Roberts
to be loaded into memory, and it's probably still in a file cache when you run the second command. You can't really do an analysis like this with a task that only takes a few milliseconds. There are too many variables. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org

Re: file seek is slow

2010-03-09 Thread Tim Roberts
that it be declared as returning int. Again, void happens to work in VC++, but there are architectures where it does not. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: indentation error

2010-03-06 Thread Tim Roberts
: unindent does not match any outer indentation level The most likely cause is mixing spaces with tabs. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: python 2.6: how to modify a PIL image from C without copying forth and back

2010-03-04 Thread Tim Roberts
that are dirty. Just include lots of comments saying what you did and why. Personally, because so much of PIL is in C, I would judge internal changes to be unlikely. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: python 2.6: how to modify a PIL image from C without copying forth and back

2010-03-02 Thread Tim Roberts
the buffer with the pixels. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: What's Going on between (Verify) Python and win7?

2010-02-24 Thread Tim Roberts
\ycheck.py data 4567 C:\tmp\y Would you like to post your exact code? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: MODULE FOR I, P FRAME

2010-02-22 Thread Tim Roberts
the I/P/B state from that, and periodically forget to pass the buffer through. Your filter could have MPEG in and out. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing an assembler in Python

2010-02-22 Thread Tim Roberts
with the parsing of the assembly code? One dead simple option is the re module. Yes, indeed. I have implemented TWO different FPGA-based microassemblers in Python using the essentially undocumented but magically delicious re.Scanner class. Simple and flexible. -- Tim Roberts, t...@probo.com

Re: MODULE FOR I, P FRAME

2010-02-20 Thread Tim Roberts
. If you want to manipulate the frames (as bitmaps), then you have little choice but to decode the MPEG as you receive it, manipulate the bitmaps, and re-encode it back to MPEG. That's going to take a fair amount of time... -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http

Re: The future of frozen types as the number of CPU cores increases

2010-02-20 Thread Tim Roberts
special characters. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: MODULE FOR I, P FRAME

2010-02-18 Thread Tim Roberts
the raw MPEG data, you can certainly do that, but such data is often not divided into frames. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Few Small Questions Regarding CGI

2010-02-15 Thread Tim Roberts
in the standard library. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to measure elapsed time under Windows?

2010-02-13 Thread Tim Roberts
in the original NT 3.1, 1992. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: myths about python 3

2010-01-28 Thread Tim Roberts
announcement. It is, for the most part, THE canonical example of the wrong way to conduct a development effort. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Sikuli: the coolest Python project I have yet seen...

2010-01-26 Thread Tim Roberts
. Sikuli works by using image analysis to locate the regions on the screen to be tickled. It's a novel idea, although others have correctly pointed out that it's not the most efficient way to automate applications. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http

Re: Significant whitespace

2010-01-03 Thread Tim Roberts
DO10I. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: getting name of passed reference

2009-12-30 Thread Tim Roberts
) If the thing passed in is a list or an object, you can modify the object in place without trickery. You can check that with the type operator: if type(varPassed) == list: pass -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo

Re: [wxPy] Why I can not change a ListItem property?

2009-12-26 Thread Tim Roberts
the ListCtrl_virtual.py example, for instance. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: strptime not strict enough

2009-12-20 Thread Tim Roberts
Chris Rebert c...@rebertia.com wrote: On Tue, Dec 15, 2009 at 9:47 PM, Tim Roberts t...@probo.com wrote: Tobias Weber t...@gmx.net wrote: despite the directives for leading zero stime.strptime('09121', '%y%m%d') returns the first of December. Shouldn't it raise ValueError? Python merely calls

Re: strptime not strict enough

2009-12-15 Thread Tim Roberts
strict date parsing? You do it yourself. Strict date parsing is incredibly tricky. The eGenix mx.DateTime module might be more to your liking. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: power of explicit self?

2009-12-13 Thread Tim Roberts
this is not shown in the parameter list. I agree with the other repliers. Explicit self is not implemented anywhere. It's just an implementation decision. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: eiger replacement?

2009-12-11 Thread Tim Roberts
book malfunction when he sent this. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Organization of GUIs

2009-12-05 Thread Tim Roberts
that, but each layer has to know about notifications, and has to be able to hand notifications up the hierarchy tree until it gets to someone who knows what to do about it. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket question

2009-12-05 Thread Tim Roberts
sockets to do it. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Float precision and float equality

2009-12-05 Thread Tim Roberts
into account the rough range of the values. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Question on Python as career

2009-12-03 Thread Tim Roberts
not already have some clues about the answers to these questions. Your best plan is to start exploiting your network of contacts. If you don't already have a network of commercial contacts, then you have a long, hard road ahead of you. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: hex int and string

2009-11-28 Thread Tim Roberts
Marco Mariani ma...@sferacarta.com wrote: luca72 wrote: i have checked and pyscard accept also the decimal notation, I'm not sure you ever understood what the problem was, or where, but I'm happy you feel like you've solved it. +1 QOTW. Great reply. -- Tim Roberts, t...@probo.com

Re: why do I get this behavior from a while loop?

2009-11-28 Thread Tim Roberts
S. Chris Colbert sccolb...@gmail.com wrote: What a newbie mistake for me to make. Don't feel too badly about it. Even very experienced programmers get bitten by this issue. Until someone points it out, it's certainly not obvious. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: need clarification on -0

2009-11-28 Thread Tim Roberts
don't normally see the -0, but it leads you to think about arithmetic a bit differently. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: python and Postgresq

2009-11-24 Thread Tim Roberts
on the experiences that lead you to say this. I've use both extensively (plus the old pg), and I've found psycopg to be unconditionally the better choice, especially for big applications where performance is critical. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http

Re: ANN: Urwid 0.9.9 - Console UI Library

2009-11-20 Thread Tim Roberts
that it doesn't say so means it isn't supported. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to get the Physical memory address of a variable in python?

2009-11-11 Thread Tim Roberts
the physical addresses. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: disable image loading to speed up webpage load

2009-11-05 Thread Tim Roberts
, then you need to tell IE to disable image loading. I don't know a way to do that through the IE COM interface. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: ftplib connection fails with multiple nics

2009-10-19 Thread Tim Roberts
that WSAStartup has not been called. Are you doing this in a thread? Are these all the same version of the operating system? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: help to convert c++ fonction in python

2009-10-17 Thread Tim Roberts
) return ''.join( chr(ord(x)^y) for x,y in itertools.izip(s1,itertools.cycle(key)) ) -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: help to convert c++ fonction in python

2009-10-17 Thread Tim Roberts
, there' print s t = Crypt(s) print t u = Decrypt(t) print s -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: for loop: range() result has too many items

2009-10-15 Thread Tim Roberts
surprised how many places itertools.count() has come in handy for me. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Anyone with Experience Using WinTV Capture Cards?

2009-09-26 Thread Tim Roberts
that might suggest sources? Win XP OS. Any general methods for dealing with such commercially built capture cards? Let me Google that for you. http://www.lmgtfy.com?q=python+video+capture+windows Most such devices use DirectShow, so you need a C++ extension. -- Tim Roberts, t...@probo.com

Re: What does the list_folders() method of mailbox.Maildir actually ?do (if anything)?

2009-09-26 Thread Tim Roberts
++, and the subfolder names start with a dot. It's not a wierd extension thereof. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: easy question, how to double a variable

2009-09-21 Thread Tim Roberts
TRIED, and we can help you make it work. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: class initialization problem

2009-09-19 Thread Tim Roberts
confusing situation. If I do this: x = Face( points ) Now I can refer to x.backface, but there is no x.backface.backface. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: socket.MSG_WAITALL flag broken on Windows XP in Python 2.5.4?

2009-09-15 Thread Tim Roberts
. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Support for Windows 7 ?

2009-09-05 Thread Tim Roberts
\Another\Ridiculous\Long\Path\Name copy C:one.txt D:two.txt -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Is behavior of += intentional for int?

2009-09-02 Thread Tim Roberts
this in Fortran that produces exactly this result -- an integer constant gets modified. This used to get big yucks when we gathered around the keypunch, before we had the Obfuscated C Contest to amuse us. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman

Re: why python got less developers ?

2009-08-30 Thread Tim Roberts
Esam Qanadeely doctore...@gmail.com wrote: On Aug 28, 8:27 am, Tim Roberts t...@probo.com wrote: Deep_Feelings doctore...@gmail.com wrote: python got relatively fewer numbers of developers than other high level languages like .NET , java .. etc  why ? How do you know, and why does it matter

Re: why python got less developers ?

2009-08-27 Thread Tim Roberts
Deep_Feelings doctore...@gmail.com wrote: python got relatively fewer numbers of developers than other high level languages like .NET , java .. etc why ? How do you know, and why does it matter? By the way, .NET is not a language. I assume you meant C#. -- Tim Roberts, t...@probo.com

Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Tim Roberts
for specifing those paths? Doesn't matter. Get rid of the colons, and your file name will work. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Pygresql, and query meta informations

2009-08-16 Thread Tim Roberts
contains information about your tables; when you fetch the class number for your table, you can look up the columns in pg_attribute. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python to automate builds

2009-08-09 Thread Tim Roberts
=%CD% call %DDK%\bin\setenv %DDK% chk WLH x64 no_oacr @echo on set USERNAME=timr cd %LAST% build %BLD% endlocal -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Pywin32 @ windows 7

2009-08-09 Thread Tim Roberts
months. No problems. I have not tried the 64-bit Python and PyWin32 builds yet. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows 7 : any problems installing or running Python ?

2009-08-09 Thread Tim Roberts
opinion. Microsoft might actually have a winner here. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: win32api install problem

2009-07-22 Thread Tim Roberts
that those three directories should have different creation dates. Normally, all three would have the same date and time, from whenever you ran the installer. I would suggest that you go into Add and Remove Programs, uninstall pywin32, and run the installer again. -- Tim Roberts, t...@probo.com

Re: missing 'xor' Boolean operator

2009-07-15 Thread Tim Roberts
operator: xxx = testme and truevalue or falsevalue -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: IP Address Function

2009-07-09 Thread Tim Roberts
process for every request. The Python CGI module doesn't provide a wrapper function because this information is just not useful. Most corporate users sit behind proxies, so everyone at the company appears to come from the same IP. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http

Re: How to use Python to interface with Web pages?

2009-07-09 Thread Tim Roberts
Peter peter.milli...@gmail.com wrote: Any help would be appreciated :-) I want to write an auction sniping tool in Python. Please don't. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Examples of Python driven Microsoft UI Automation wanted

2009-07-09 Thread Tim Roberts
/developer.shtml http://mindtrove.info/articles/gui-automation-with-pyaa/ -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and webcam capture delay?

2009-07-07 Thread Tim Roberts
you 1 fps at 640x480 uncompressed, so it's really only useful for the most primitive video conference cams. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and webcam capture delay?

2009-07-05 Thread Tim Roberts
, for example, you could write a DirectShow graph to pump into a renderer that transmits out to a network, then another graph to receive from the network and display it. You can manage the network latency by adding a delays in the local graph. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: Searching equivalent to C++ RAII or deterministic destructors

2009-07-03 Thread Tim Roberts
in the local() namespace. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Imaging Library download link broken?

2009-06-30 Thread Tim Roberts
messages PER SECOND being sent regarding Jackson. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: tokenize module

2009-06-30 Thread Tim Roberts
bootkey cook_...@yahoo.com wrote: Thanks for the reply. I wonder why the tokenizer classifies all operators simply as OP, instead of the various operators listed in the tok_name dictionary. I imagine it's just an exercise left to the reader. It's not that hard of an extension. -- Tim Roberts

Re: tokenize module

2009-06-28 Thread Tim Roberts
OP for all operators /quote -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: Why is it that str.replace doesn't work sometimes?

2009-06-25 Thread Tim Roberts
humn xelothat...@gmail.com wrote: Thank you! Didn't know that it would escape characters with single quotes. I thought it only did that with double quotes. That's only true in Perl and PHP, but not in Python or C. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http

Re: File Syncing

2009-06-21 Thread Tim Roberts
that you just PICK one and make that the master server. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: parsing json using simplejson

2009-06-17 Thread Tim Roberts
deostroll deostr...@gmail.com wrote: I want to be able to parse it into python objects. Any ideas? What did you not like about the very useful replies you have already received? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get the total size of a local hard disk?

2009-06-17 Thread Tim Roberts
willgun will...@live.cn wrote: Unfortunately,I'm on win32. Actually,I prefer a cross-platform method. Why do you need this? This kind of information is not very useful in a cross-platform application. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org

Re: simple GUI for my application?

2009-06-17 Thread Tim Roberts
write in C#. Otherwise, you end up spending most of your time translating C# concepts into Python. This can also be done from Cpython using the pywin extensions. Here, you are correct. Pywin32 does include a Python implementation of MFC. -- Tim Roberts, t...@probo.com Providenza Boekelheide

Re: question about a command like 'goto ' in Python's bytecode or it's just a compiler optimization?

2009-06-17 Thread Tim Roberts
). Don't worry about it. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

<    1   2   3   4   5   6   7   8   9   10   >