Installation problem: Python 2.6.6 (32-Bit) on Windows 7 (32-Bit)

2010-09-01 Thread Cappy2112
Has anyone else had problems running the msi for Python 2.6.6 on Windows 7 Professional? If I don't check Compile .py to byte code, the installer completes without error. Checking Compile .py to byte code causes the following to be displayed There is a problem with the windows installer

Enabling/Disabling remote desktop - programmatically

2010-07-29 Thread Cappy2112
I've already posted this in the Python W32 list, but didn't get what I'm looking for. I want to know how to disable Remote Desktop after logging to into a remote machine, to prevent subsequent logins by other users logging me out. I currently have a Windows XP system configured for coworkers to

Re: combined functionality of ipython's %whos and pdb's next (without a resource heavy IDE)

2010-07-29 Thread Cappy2112
On Jul 29, 12:39 pm, Benjamin J. Racine bjrac...@glosten.com wrote: I am trying to combine the ability to move line-by-line through the code as is done with pdb's next function with ipython's ability to list all variables at once... without the use of a full-fledged IDE. I am not seeing how

pyPortMidi

2007-09-04 Thread Cappy2112
Does anyone here use pyPortMidi- in particular for Sending/receiving sysex? -- http://mail.python.org/mailman/listinfo/python-list

Re: wxpython with python 2.5

2007-08-04 Thread Cappy2112
On Aug 2, 9:34 am, Chris Mellon [EMAIL PROTECTED] wrote: On 8/2/07, G [EMAIL PROTECTED] wrote: Any help in getting wxpython to run in 2.5 would be greatly appreciated. Have you tried posting a request for help on the wx list? -- http://mail.python.org/mailman/listinfo/python-list

Re: win32 question in Python

2007-07-30 Thread Cappy2112
Hello Brad, If you don't get a reply here, there is a win32 specific Python list on ActiveState.com wher ethey do talk about excel other Win32 python issues. On Jul 30, 3:49 pm, Brad Johnson [EMAIL PROTECTED] wrote: Huang, Shun-Hsien shuang at ercot.com writes: but how do I copy a excel

Re: Fatal error after RE-installing Python 2.3.4

2006-09-23 Thread Cappy2112
What happens when you run C:\Python2.3\python.exe from the command line (or the equivalent path)? How about pythonw.exe (or the windowed equivalent, not sure about the naming)? Are .py and .pyw files displayed with the correct icons? Yes. When installing Python packages, is Python 2.3

Re: Fatal error after RE-installing Python 2.3.4

2006-09-23 Thread Cappy2112
deleted the core 2.3.4 distribution [from where? how?] or uninstalled? Uninstalled Was c:\windows\system32\python23.dll blown away? Yes, as part of the uninstall process. Are you installing it for all users or for a single user? ALl users, using Admin priveledges Do a search for

Fatal error after RE-installing Python 2.3.4

2006-09-22 Thread Cappy2112
I've just started a job which has a massive python2.3.4-centric tools installation and configuration. I know what you're going to say, but I can't upgrade and be the only one with a newer version. There are close to 30 engineers using this same tools configuration, and it has been working fine

Re: Real-world use cases for map's None fill-in feature?

2006-01-09 Thread Cappy2112
I haven't used itertools yet, so I don't know their capabilities. I have used map twice recently with None as the first argument. This was also the first time I've used map, and was dissapointed when I found out about the truncation. The lists map was iterating over in my case were of unequal

HTMLGen- Table Align property

2005-12-27 Thread Cappy2112
Does anyone know if the table align property is available in HTMLgen.Table? The docs don't show it, but I find it hard to believe that it is not available. I want to center the table. Only the cell align propterty is available -- http://mail.python.org/mailman/listinfo/python-list

Re: HTMLGen- Table Align property

2005-12-27 Thread Cappy2112
Table and TableLite are different classes. Tablelite requires a little more work, and I will ave to rewrite some code to use it. I am using Table a tthe moment ith a style attribute (or using the TableLite class, which also accepts a style attribute), and setting the text-align property:

Re: Help with Regular Expressions

2005-08-10 Thread Cappy2112
Be careful with that book though, it's RE examples are Perl-centric and not exactly the same implementation that Python uses. However, it's a good place to start This will also be useful http://www.amk.ca/python/howto/regex/ -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI - Windows: Where to get started

2005-07-26 Thread Cappy2112
if you want something one step simpler than wX TK take a look at http://www.averdevelopment.com/python/EasyDialogs.html or http://www.ferg.org/easygui/index.html You loose a lot of flexibility, but get ultra simple (and plain-looking) widgets, without all of the complexity of of a gui

Re: Synthesis Toolkit bindings for python?

2005-07-14 Thread Cappy2112
Have you tried emailing the authors? -- http://mail.python.org/mailman/listinfo/python-list

Re: delphi to python converter

2005-06-27 Thread Cappy2112
Thys Meintjes wrote: Greets, I have need of a Delphi/pascal to python converter. Googling didn't suggest any obvious leads so I'm trying here... Thanks Thys This isn't what you want, but you can probably achieve similar results, by embedding Pyton in your delphi app.

Re: New WYSIWYG Python IDE in the works

2005-06-15 Thread Cappy2112
This is great, but it might be worth finding out what the other IDE's can do first, as well as their weaknesses. Eric3 seems to be the most popular powerfull. Uop until recentluy, it onluy works on Linux, but has been compiled runnin on Windows, to some degree of success. QTDesigner is pretty

Re: Generating HTML from python

2005-06-09 Thread Cappy2112
I looked at HTMLGen a while ago- I didn't see what the advantage was. I wrote soem code similar to the example above, to generate a page.. It worked out fine. However, I want to add HTML ouput to many of my other python programs, and I don't want to re-write this for each program. So some higher

Re: WordPress Python Library 1.0

2005-05-02 Thread Cappy2112
If you wan't explain what WordPress is, can you at least supply a link for a page that's in English? -- http://mail.python.org/mailman/listinfo/python-list

Re: changing colors in python

2005-04-15 Thread Cappy2112
if you are talking about writing text console program only , for Windows, then just use the color command- but you will need a handle to that console window- C:\help color Sets the default console foreground and background colors. COLOR [attr] attrSpecifies color attribute of console

Re: how can I extract all urls in a string by using re.findall() ?

2005-04-07 Thread Cappy2112
Reading the documentation on re might be helpfull here :-P Many times, the python docs can make the problem more complicated, espcecially with regexes. -- http://mail.python.org/mailman/listinfo/python-list

Re: (win32) speedfan api control

2005-04-03 Thread Cappy2112
Nice idea- getting the handle to a control. But how do you know what to pass for wparam , lparam , flags ? BTW- I don't see anything unique to Active Python here. You can do all of this with the Python windows extensions, which can be installed without Active Python. --

Re: Change between Python 2.3 and 2.4 under WinXP

2005-03-31 Thread Cappy2112
Do you really think this is a safe solution? How do you deal with features that are in new 2.4, but you invoke it with the exe from 2.3? The imports have to be handled as well, and the dlls, and the libs too -- http://mail.python.org/mailman/listinfo/python-list

Re: author index for Python Cookbook 2?

2005-03-28 Thread Cappy2112
I'm pretty sure I saw your name in one of the recipes for the new book. Why not email Oreilly -- http://mail.python.org/mailman/listinfo/python-list

Re: author index for Python Cookbook 2?

2005-03-28 Thread Cappy2112
Yes mentioned on Page 25, recipe 1.11. It may not be the context you were expecting, but it's your name. -- http://mail.python.org/mailman/listinfo/python-list

Re: Submission for Python Limmerick Contest

2005-03-23 Thread Cappy2112
No pointers, no templates, no streams, These are things found only in bad dreams, Because Explicit is with it, and static typing dismiss-ed The Best language has been.joined() at the seams! -- http://mail.python.org/mailman/listinfo/python-list

Re: Submission for Python Limmerick Contest

2005-03-23 Thread Cappy2112
The First Python function ever written (takes place in the Garden of Eden Guido sayeth I will write def foo(): Hmm, I could use an import, or two, Satan said, in a whirl, Why not write it in Perl?, and the second function ever written - def foo_you(): --

Re: getting text from WinXP console

2005-03-22 Thread Cappy2112
Popen(args='c:\\WINDOWS\\system32\\command.com' Don't launch command.com, try running the actual program you are interested in in capturing the text for. Although you should be able to run the command interpreter too- I don't know why that didn't work. There are several variations of popen, so

Re: getting text from WinXP console

2005-03-21 Thread Cappy2112
If you re-direct the output to a file, then you won't see it on the console at all, unless the program writes to stderr separately. -- http://mail.python.org/mailman/listinfo/python-list

Re: getting text from WinXP console

2005-03-21 Thread Cappy2112
Are you the one who is launching the Nethack program, or is it already running, and you ar e trying to capture the text after Nethack is launched ? If you are launching it you can try using one of the python popen() calls to redirect the screen output to your python program. I havne't doen this

Re: generating audio signals

2005-03-21 Thread Cappy2112
Maybe make yourself a little utility first that will show you the specs for any .wav file (i.e., sampling frequency, bytes per sample, channels, etc.) You can do this with one function call - wave.Wave_read.getparams() import wave wave.open(filename,b) wave.Wave_read.getparams() --

Re: Is Python like VB?

2005-03-17 Thread Cappy2112
Eric3 has been compiled for Windows, without Cygwin and Without a commercial license -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing C readable bitfield structs?

2005-03-16 Thread Cappy2112
there is a bitfiled mainpulator class inthe Cookbook, but I don't understand his explanation, and the example given doesn't really show off the features of the class. I too need bit-level manipulation, and will probably have to write my own class to do it. --

Re: Is Python like VB?

2005-03-16 Thread Cappy2112
First of all, discontinuing VB doesn't mean you have to stop using it. I worked on a project which was compiled with Visual C 1.52, for many years after it was not supported. The project is used by nearly every engineer at the company where I work. We are still devleoping the project I work on now

Re: convert list of tuples into several lists

2005-02-10 Thread Cappy2112
Thanks I dont remember reading anything about this. What is this feature called? Steven Bethard wrote: Cappy2112 wrote: What does the leading * do? Tells Python to use the following iterable as the (remainder of the) argument list: -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-09 Thread Cappy2112
Damjan wrote: For all you GUI developers, things just got a little more interesting. Trolltech will soon be offering the QT GUI toolkit for Windows under the GPL license. That means that PyQt may become a much more popular option in the near future. This applies to QT-4 only. I wonder

Re: convert list of tuples into several lists

2005-02-09 Thread Cappy2112
What does the leading * do? -- http://mail.python.org/mailman/listinfo/python-list

Re: CONTEST - What is the (best) solution?

2005-02-02 Thread Cappy2112
dictionaries can NOT contain dictionaries. Who told you this? In my python, they can. d1={1:one} d2={2:two} d1 {1: 'one'} d2 {2: 'two'} d3={3:d2} d3 {3: {2: 'two'}} [EMAIL PROTECTED] wrote: Fuzzyman wrote: Can your dictionaries contain dictionaries ? Hi Fuzzy, dictionaries can NOT