First  |  Prev |  Next  |  Last
Pages: 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434
Creating a text adventure
I am in the process of learning Python. I have the basics down and I now want to test my abilitiy to use them in a (very) small project. I have the idea for a (very) small text based game mapped out in my head. It will include two rooms, random creatures (amounts and type) in each room and random chests in each ... 2 Mar 2006 09:48
Looking a device up in the Running Object Table
I'm looking to disable Windows autoplay for a particular device. There's a registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\CLSID) that will turn off autoplay for listed devices, but one must provide the device's CLSID as it appears in the ROT. I... 26 Feb 2006 01:46
'rar' is not recognized as an internal or external command????????
'rar' is not recognized as an internal or external command, operable program or batch file. import os import time source = [r'e:\temp\code',r'e:\temp\domains'] target_dir = r'e:\temp\bak' target = target_dir+time.strftime('%Y%m%d%H%M%S')+'.rar' rar_cmd = "rar a -idcdp %s %s" % (target,' '.join(source)) pr... 24 Feb 2006 02:47
new wooden door step - fixing and finishing
Hi all I'm considering having a go at replacing the wooden door step to our back door. The original is loose and rotting. I'm sure some of this will be clearer when I remove the (metal) door frame - how is such a step fixed? Vertical frame fixings? Also, any suggestions for treating/finishing such an item,... 27 Feb 2006 15:33
odt -> pdf
Hi Cause Google didn't find the Info I was trying to find her my post. Is PyUNO still _the_ Tool to create PDFs out of OpenOffice docs (odt, not swx) ? Do other tools exist? Do you prefer generatingp PDFs using the XML-Strukture of odt files? Regards, Katja ... 22 Feb 2006 08:31
SonicWALL Configuration
Is it possible to write a Python script to modify/configure a SonicWALL firewall? Or, has anyone written any useful utilities for the units (i.e. parsing the TSR reports, etc.)? Thanks! ... 16 Feb 2006 21:12
define loop statement?
I would like to be able to define a loop statement (nevermind why) so that I can write something like loop 10: do_something instead of for i in range(10): do_something Possible? If so, how? Thanks, Alan Isaac ... 22 Feb 2006 11:09
Soduku
Here at my job, Python gets no respect. A programmer here wanted to see which language among Python, Perl, and Java was better. So he wrote a Python, perl, and Java version. Except the Python version was 20x slower than the perl and Java versions. Well, luckily he asked around in our little Python group about w... 15 Feb 2006 22:48
Win32_Process.Create -- not starting process
I am using Python to create a process on another computer. Both computers are on the same domain with admin privileges. On computer B I have a batch script which starts a python script. From computer A I am doing the following: import wmi w = wmi.WMI("1.2.3.4") p = w.new("Win32_Process") pid, retVal = p.Cr... 17 Feb 2006 12:20
how do you pronounce 'tuple'?
Yes, silly question, but it keeps me up at night. :) I know it comes from the suffix -tuple, which makes me think it's pronounced as 'toople', but I've seen (at m-w.com) that the first pronunciation option is 'tuhple', so I wasn't sure. Maybe it's both, but which is most prevalent? Thanks! Now time to go b... 15 Feb 2006 21:46
First  |  Prev |  Next  |  Last
Pages: 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434