Re: [python-win32] How to get all the variables in a python shell

2008-05-29 Thread Tim Golden
[EMAIL PROTECTED] wrote: I'm currently working on a scientific computation software built in python. What I want to implement is a Matlab style command window - workspace interaction. For example, you type 'a=1' in the command window, and you see a list item named 'a' in the workspace. You

Re: [python-win32] How to get all the variables in a python shell

2008-05-29 Thread Tim Golden
[EMAIL PROTECTED] wrote: I'm currently working on a scientific computation software built in python. What I want to implement is a Matlab style command window - workspace interaction. For example, you type 'a=1' in the command window, and you see a list item named 'a' in the workspace. You

Re: [python-win32] How to get all the variables in a python shell

2008-05-29 Thread Dahlstrom, Roger
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Thursday, May 29, 2008 4:11 AM To: Python-Win32 List; [EMAIL PROTECTED] Cc: Python-Win32 List Subject: Re: [python-win32] How to get all the variables in a python shell [EMAIL

Re: [python-win32] How to get all the variables in a python shell

2008-05-29 Thread Paul Moore
On 29/05/2008, Dahlstrom, Roger [EMAIL PROTECTED] wrote: I'd try looking at memcached (http://www.danga.com/memcached/apis.html). No hacking or reimplementation of the interpreter would be necessary, and there's a Python api available. I haven't used it for anything production related, but

[python-win32] how to change paper size while printing

2008-05-29 Thread McPacino
I have a network printer. the default paper size is A4. I have tried 2 ways to change the paper size: 1) p = win32print.OpenPrinter(dp) t = win32print.GetPrinter(p, 2) t['pDevMode'].FormName=u'a3' win32print.SetPrinter(p, 2, t, 0) these code cause error refuse access, which maybe because of it's

Re: [python-win32] How to get all the variables in a python shell

2008-05-29 Thread Tim Golden
[Bizarrely, my mail system seems to be randomly misfiring. If you've already seen this, please ignore!] Tim Golden wrote: Sorry, having seen Roger D's memcached suggestion, I realise I may have misinterpreted your requirement. I thought that you wanted a Python interpreter session to share its

Re: [python-win32] Dispatch InternetExplorer.Application fails

2008-05-29 Thread Rickey, Kyle W
Thanks, I got your example working but unfortunately the results didn't work good. Here's links to 2 pictures for comparison, sensitive information removed. http://www.dsrt.org-a.googlepages.com/bad_report.png http://www.dsrt.org-a.googlepages.com/good_report.png It wouldn't let me attach the