Converting HTML TO PDF using PYTHON
Please tell me if we can convert a html file into a pdf using python..i am using Python 2.3.4.Regards, ---ViNOJ DAViS--- Get the freedom to save as many mails as you wish. Click here to know how. -- http://mail.python.org/mailman/listinfo/python-list
how to connect to a remote machine using python........
hi all, i am new to python, can anyone tell me how can i connect to a remote machine using python and execute commands.Thanking you..Regards, ---ViNOJ DAViS--- Chat on a cool, new interface. No download required. Click here. -- http://mail.python.org/mailman/listinfo/python-list
Re: how to connect to a remote machine using python........ pexpect help
Hi,My aim is to connect to a remote machine and execute commands at the remote machine.. such as ifconfig... i found out a module named pexpect if anyone can help me out in thatThanking youRegards, ---ViNOJ DAViS---Regards, ---ViNOJ DAViS--- Forgot the famous last words? Access your message archive online. Click here. -- http://mail.python.org/mailman/listinfo/python-list
Using pexpect with cgi
I am using pexpect with Cgi to ssh into remote machine,Whenever i run a script which does ssh using pexpect from the linux terminal it gives me the correct result, but when i call the script using commands module from the cgi program i am getting the following error.(0, '(256, \'Traceback (most recent call last):\\n File "/usr/local/https/suid/getdetails.py", line 85, in \\nmain()\\n File "/usr/local/https/suid/getdetails.py", line 66, in main\\nmac = RemoteCommand(command,passwd)\\n File "/usr/local/https/suid/getdetails.py", line 42, in RemoteCommand\\nchild = pexpect.spawn(command)\\n File "/usr/lib/python2.5/site-packages/pexpect.py", line 375, in __init__\\nself.__spawn()\\n File "/usr/lib/python2.5/site-packages/pexpect..py", line 446, in __spawn\\nraise ExceptionPexpect(\\\'Error! pty.fork() failed: \\\' + str(e))\\npexpect.ExceptionPexpect: Error! pty.fork() failed: out of pty devices\')')PLz tell me what is the problem,Thanking you.Regards, ---ViNOJ DAViS--- 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here. -- http://mail.python.org/mailman/listinfo/python-list
how to connect to a remote machine using python........
I am using pexpect with Cgi to ssh into remote machine,Whenever i run a script which does ssh using pexpect from the linux terminal it gives me the correct result, but when i call the script using commands module from the cgi program i am getting the following error.(0, '(256, \'Traceback (most recent call last):\\n File "/usr/local/https/suid/getdetails.py", line 85, in \\nmain()\\n File "/usr/local/https/suid/getdetails.py", line 66, in main\\nmac = RemoteCommand(command,passwd)\\n File "/usr/local/https/suid/getdetails.py", line 42, in RemoteCommand\\nchild = pexpect.spawn(command)\\n File "/usr/lib/python2.5/site-packages/pexpect.py", line 375, in __init__\\nself.__spawn()\\n File "/usr/lib/python2.5/site-packages/pexpect.py", line 446, in __spawn\\nraise ExceptionPexpect(\\\'Error! pty.fork() failed: \\\' + str(e))\\npexpect.ExceptionPexpect: Error! pty.fork() failed: out of pty devices\')')PLz tell me what is the problem,Thanking you.Regards, ---ViNOJ DAViS--- 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here. -- http://mail.python.org/mailman/listinfo/python-list