Hi all,
I am having some trouble with controlling a Windows application through dde
The application in question is Ecotect:
http://usa.autodesk.com/adsk/servlet/index?id=12602821&siteID=123112 . This
app provides a dde interface for scripting. The application
comes bundled with Lua, and this works
Tim Roberts wrote:
Depending on your point of view, that's either a usage problem or a
design flaw in the "os" module.
The design of the os module does seem rather screwy in this
area. Since os.environ is a custom mapping type, I don't
know why it doesn't just pass all get and set operations o
Tim:
Geesh! I've read that umpteen times and never groked it. I guess an
important footnote of R.T.F.M. is UNDERSTAND
The Fine Manual. Thanks again for your better explanation. I will use it in
the book, if God and you are willing.
--
Vernon
On Thu, Jun 18, 2009 at 11:15 AM, Tim Roberts wrote:
> -Original Message-
> From: python-win32-bounces+simon.king=motorola@python.org
> [mailto:python-win32-bounces+simon.king=motorola@python.or
> g] On Behalf Of Vernon Cole
> Sent: 18 June 2009 16:05
> To: Roger Upole
> Cc: python-win32@python.org
> Subject: Re: [python-win32] regar
Vernon Cole wrote:
> Thanks, Tim!
>
> Should this be logged against the standard library as a bug?
Nope. It's actually the documented behavior. See section 16.1.1 here:
http://docs.python.org/library/os.html
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
___
Vernon Cole wrote:
> Tim:
> Okay, explain this...
> C:\BZR\sterling\HL7>c:\python26\python.exe
> Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
> (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import os
> >>> os.putenv('x','
So -- is there an api call which DOES actually place the value in
os.environ?
--
Vernon
On Wed, Jun 17, 2009 at 11:56 PM, Roger Upole wrote:
> Vernon Cole wrote:
>
>> Tim:
>> Okay, explain this...
>> C:\BZR\sterling\HL7>c:\python26\python.exe
>> Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02)