Hi,
I am attempting a
python program that will open a telnet session and input the username/password,
cd to a certain directory and leave the session there. I have
attempted different combinations of the os.popen etc but as soon as the telnet
window is opened the program cannot be coaxed
I am attempting a python program that will open a telnet
session and
input the username/password, cd to a certain directory and leave the
session
there. I have attempted different combinations of the os.popen etc
but as
soon as the telnet window is opened the program cannot be coaxed
On 6 Jun 2005, [EMAIL PROTECTED] wrote:
Hello, I'm having a bit of trouble resizing/reshaping an array of strings.
here's what I'm trying to do:
myString = ['hi','my','name','is','Jeff']
reshape(myString, (2,2))
What I get from this is something like:
[['h','i'],
Is there a site like Perl's CPAN for Python? I've seen
the stuff at ActiveState. Anything else?
Ron Nixon
__
Discover Yahoo!
Have fun online with music videos, cool games, IM and more. Check it out!
http://discover.yahoo.com/online.html
On Mon, 6 Jun 2005, Ron Nixon wrote:
Is there a site like Perl's CPAN for Python? I've seen the stuff at
ActiveState. Anything else?
Hi Ron,
Yes, there is a system called 'PyPI':
http://www.python.org/pypi
I hope this helps!
___
Tutor
On Mon, Jun 06, 2005, Danny Yoo wrote:
On Mon, 6 Jun 2005, Ron Nixon wrote:
Is there a site like Perl's CPAN for Python? I've seen the stuff at
ActiveState. Anything else?
Hi Ron,
Yes, there is a system called 'PyPI':
http://www.python.org/pypi
There's also the vaults of parnassus
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny Yoo
Yes, there is a system called 'PyPI':
http://www.python.org/pypi
Also see EasyInstall
(http://peak.telecommunity.com/DevCenter/EasyInstall). Installs
packages from the command
Hi there,
I have mainly used the psycopg module to connect. It seems to work quite
well.
quick example:
import psycopg
conn = psycopg.connect(dbname=mydatabase password= host=
user=)
cur = conn.cursor()
cur.execute('select * from transit;')
results = cur.fetchall()
Hope this