I am trying to automate the following session - to talk to my router:
===
telnet speedtouch
Trying 192.168.1.254...
Connected to speedtouch.
Escape character is '^]'.
Username : Administrator
Password :
Please answer me the question of the subject =)
--
http://mail.python.org/mailman/listinfo/python-list
Hi, How can I make something like this...
The final user installs the app
The app Runs and the User has to authenticate the app, which will be by
acessing a remote file on a Server, If he user dont authenticate the program
will run only for 3 days, after that it will be blocked until the user
authe
Hi, how can I separate words from a sentence in a string? Like the
java.String.split method
I need something that gets an string "This is a sentence", and return to em
a list["This","is","a","sentence"]
Can anyone help?
Thx
--
http://mail.python.org/mailman/listinfo/python-list
[22 of 300]", "$10,000"],#etc, obviouslly these info will
be fetched from the db
["1223", "11/23/08", "Purchase", "To be shipped", "Gallery
Name", "Art Title[22 of 300]", "$10,000"]
]
for row in rows:
Look this slice of code:
rowN = int(0)
for row in rows:
success = self.resultGrid.AppendRows();
colN = int(0)
for col in row:
self.resultGrid.SetReadOnly(self.resultGrid.GetNumberRows()
- 1,colN,isReadOnly = True)
print ro
I'm trying to import the opj module
Trying like this:
from Main import opj
It says it doesn't exists
And like this:
import os.path.join as opj
Raises error.
What should I do?
--
http://mail.python.org/mailman/listinfo/python-list
Hi, i'm comingo from Java and I'm wanting to know what in Python is the
equivalent to the file.class in java, I am producing some apps that ar not
open source, so I would like to share only the binaries, Both for Windows
and for Linux, Can you suggest me anything?
Bye
--
http://mail.python.org/mail
Hi all, where can I find the reference manual from the psycopg2 or the
dbapi2.0 because in their official pages I could'nt find
thx
--
http://mail.python.org/mailman/listinfo/python-list
The thing is this query works fine on the console through psql, but not in
my code? can anyone explain me why?
On Thu, May 1, 2008 at 9:31 PM, David Anderson <[EMAIL PROTECTED]>
wrote:
> Hi all
> I have this function:
> def checkName(self, name):
> cur
Hi all
I have this function:
def checkName(self, name):
cur = self.conn.cursor()
sql = "SELECT * from patient WHERE fn_pat = '" + name + "'"
cur.execute(sql)
rows = cur.fetchall()
if rows == "[]":
self.insert()
It seems to work fine, But I'm ge
It's DB = DataBase, I typed wrong on the text, but right at the subject =)
On Mon, Mar 31, 2008 at 5:50 PM, David Anderson <[EMAIL PROTECTED]>
wrote:
> I would like to use sqlite, But I also wanted a tutorial with the basis of
> the sql and etc, I never dealed with dbs before
I would like to use sqlite, But I also wanted a tutorial with the basis of
the sql and etc, I never dealed with dbs before
On Mon, Mar 31, 2008 at 3:42 PM, Gabriel Genellina <[EMAIL PROTECTED]>
wrote:
> En Mon, 31 Mar 2008 14:50:27 -0300, David Anderson <[EMAIL PROTECTED]>
>
Hi! I'm don't know almost nothing about bds, Can You suggest me an Simple
but efficient Bd to work with python apps? Can You suggest me any tutorials?
Thanx
--
http://mail.python.org/mailman/listinfo/python-list
hi All, I have my Phitno 25 installed on the default directory, but How can
I dd to the ubild path?
Thx
--
http://mail.python.org/mailman/listinfo/python-list
I found the problem
Topic closed
On Sun, Mar 30, 2008 at 5:07 PM, David Anderson <[EMAIL PROTECTED]>
wrote:
> Here is the code:
> This one raises the error:
> def criaLista(self):
> self.listbox.Clear()
> for dupla in self.duplas:
> self.list
e = a.getErrorsManager()
d = a.getDicDuplas()
for i in lista:
print i
print d[1]
On Sun, Mar 30, 2008 at 5:03 PM, David Anderson <[EMAIL PROTECTED]>
wrote:
> Well, I'm dealing with files in Pickle, I'm saving at the file a List of
> Objects from the same Class, When I
Well, I'm dealing with files in Pickle, I'm saving at the file a List of
Objects from the same Class, When I try to retrive this information and try
to iterate over them this error is raised:
TypeError: 'instancemethod' object is not iterable
But if I just print the method I get the 'real thing' w
Well, I've got a little problem, I have a list that contains objects from
the class C, then I use those objects.__str__ to generate a ListCtrl, A
wxPython widget that makes a list of strings and then you can handle events
when selected, and returns the string selcted, how can I access the "parent"
Hello all, I have a Class1 that there has a list, and a function that
returns this list, In another class I got an instance of this first class,
and when I make:
obj1 = Class1()
list = obj1.getList()
I got this exception:
traceback (most recent call last):
File "xxx", line 184, in onAddErro
ANd... By express I mean... Dereferencing... Habits from my native language
where the verb express also means this
On Wed, Mar 26, 2008 at 4:14 PM, David Anderson <[EMAIL PROTECTED]>
wrote:
> Err even I cant understand what I wrote...
> The right question was:HOw can we use/expr
Err even I cant understand what I wrote...
The right question was:HOw can we use/express pointers python as in C or
Pascal?
But thx to Heiko, He got what I mean =)
On Wed, Mar 26, 2008 at 3:46 PM, Tim Chase <[EMAIL PROTECTED]>
wrote:
> >> HOw can we use express pointers as in C or python?
> >
> >
HOw can we use express pointers as in C or python?
On Tue, Mar 25, 2008 at 7:36 PM, Tim Chase <[EMAIL PROTECTED]>
wrote:
> > In most of the languages ^ is used for 'to the power of'.
> >
> > No, not in most languages. In most languages (C, C++, Java, C#, Python,
> > Fortran, ...), ^ is the xor op
Thanx
On Mon, Mar 24, 2008 at 2:00 PM, Frank Niessink <[EMAIL PROTECTED]> wrote:
> Hi David,
>
> 2008/3/24, David Anderson <[EMAIL PROTECTED]>:
> > Hi, If ther's anyone who knows pretty much about wxPython can e-mail me?
> I'm
> > having some trouble
Hi, If ther's anyone who knows pretty much about wxPython can e-mail me? I'm
having some trouble in dealing with some guis here, I would thank u very
much if you could help me
bye
[]'s
--
http://mail.python.org/mailman/listinfo/python-list
25 matches
Mail list logo