Array delete

2007-02-07 Thread Scripter47
Hey, Can someone plz make a function for that takes a array, and then search in it for duplicates, if it finds 2 or more items thats the same string then delete all except 1. Short: it deletes all duplicates in a array thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: SQL connecting

2007-01-30 Thread Scripter47
Dennis Lee Bieber skrev: > On Mon, 29 Jan 2007 19:45:47 GMT, John Nagle <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > >> Scripter47 wrote: >>> Hey >>> >>> It got a problem with python to connect to my SQL DBs, that's i

Re: SQL connecting

2007-01-29 Thread Scripter47
John Nagle skrev: > Scripter47 wrote: >> Hey >> >> It got a problem with python to connect to my SQL DBs, that's installed >> on my apache server. how do i connect to sql? Gettting data? Insert into >> it? > > You need a thi

SQL connecting

2007-01-29 Thread Scripter47
Hey It got a problem with python to connect to my SQL DBs, that's installed on my apache server. how do i connect to sql? Gettting data? Insert into it? it is a localserver with php if that means something here is a *REALLY* dirty solution that a have used: [CODE] from urllib import * # sql quer

Re: IP address

2007-01-29 Thread Scripter47
Beej skrev: > On Jan 28, 2:26 am, Klaus Alexander Seistrup <[EMAIL PROTECTED]> wrote: >> Scripter47 wrote: >>> How do i get my ip address? >>> in cmd.exe i just type "ipconfig" then it prints: >>> ... >>> IP-address . . . . .

Re: Mulig SPAM: Re: IP address

2007-01-28 Thread Scripter47
Klaus Alexander Seistrup skrev: > Scripter47 wrote: > >> How do i get my ip address? >> >> in cmd.exe i just type "ipconfig" then it prints: >> ... >> IP-address . . . . . . . . . . . . . . . . . : 192.168.1.10 >> ... >

Ip address

2007-01-28 Thread Scripter47
How do i get my ip address? in cmd.exe i just type "ipconfig" then it prints: ... IP-address . . . . . . . . . . . . . . . . . : 192.168.1.10 ... how can i do that in python?? -- http://mail.python.org/mailman/listinfo/python-list

pythoncom module

2007-01-03 Thread Scripter47
Hey, I need a module called "pythoncom" anyone that knows where a can find that module??? thanks! -- http://mail.python.org/mailman/listinfo/python-list

Reverse of SendKeys??

2006-12-28 Thread Scripter47
Hey! I know there is a module named SendKeys. SendKeys module it can type strings as you where typing it, on the keyboard. But is there a module that does the reverse. A module that gets _anything_ what the keyboard writes. For example. If i type "hey" on my keyboard. Will the program get the st

Re: SPAM-LOW: (PyGTK) Disabling ToolButton when no TreeView item is selected?

2006-12-28 Thread Scripter47
cypher543 skrev: > I have a TreeView and a ToolButton. The ToolButton should only be > active if the user has selected an item in the TreeView. What signal > should I use to achieve this? > > Thanks, > David > Hey I use the "curselection()" function. Example: id = self.listbox.curselection() id