On 27/01/15 16:50, Reuben wrote:
I wish to know which python module works well with Linux commands
Most Python modules work on Linux if you are running your Python program
on a Linux machine.
e.g. Searching a string in file, number of occurrences of a string in a
file,
Thee isn't a
Hello,
I wish to know which python module works well with Linux commands - for
e.g. Searching a string in file, number of occurrences of a string in a
file, what is the permission of a file.
To test this operation I need my python script to login into the Linux
machine and then perform the above
You're actually asking multiple subquestions here, let me start by
asking a clarifying question:
When you say log in to the Linux machine I assume you mean you need
to access a remote host? Your script will be running locally?
Next your other questions:
Checking permissions of a file: Look into
Eric Dorsey wrote:
I am trying to teach myself Linux, and so I'm running Ubuntu (Gutsy
Gibbon) as a virtual machine. I went to terminal, started up Python and
realized it was version 2.5 so I thought I'd just upgrade to 2.6.1 After
doing some Googling around, it seems that Ubuntu is highly
I am trying to teach myself Linux, and so I'm running Ubuntu (Gutsy Gibbon)
as a virtual machine. I went to terminal, started up Python and realized it
was version 2.5 so I thought I'd just upgrade to 2.6.1 After doing some
Googling around, it seems that Ubuntu is highly reliant on Python 2.5, so
On Thu, Feb 5, 2009 at 8:24 PM, Eric Dorsey dors...@gmail.com wrote:
I am trying to teach myself Linux, and so I'm running Ubuntu (Gutsy Gibbon)
as a virtual machine. I went to terminal, started up Python and realized it
was version 2.5 so I thought I'd just upgrade to 2.6.1 After doing some
Hi all,
I'm doing some failure testing for a python script that uses urllib and urllib2
to open a web page and post data. If the server's apache is down or if I change
the ip address the script is trying to contact to be a bogus address, the script
handles it prefectly. When I unplug the ethernet
On Fri, 2006-06-30 at 13:58 +, Patty wrote:
Hi all,
I'm doing some failure testing for a python script that uses urllib and
urllib2
to open a web page and post data. If the server's apache is down or if I
change
the ip address the script is trying to contact to be a bogus address, the
On Fri, 30 Jun 2006, Patty wrote:
I'm doing some failure testing for a python script that uses urllib and
urllib2 to open a web page and post data Is there a way I can
implement a timeout to handle this problem?
I don't have any firsth-hand knowledge on this, but
Hi again,
problem?
import socket
if not socket.getdefaulttimeout():
socket.setdefaulttimeout(25.0)
I'm sorry I forgot to mention that I'm using python 2.2.3, and this version
doesn't have those methods.
Patty
___
Tutor
You can use idle while using linux, just type in idle from a command prompt !
ALL-NEW
Yahoo! Messenger
- all new features - even more fun!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
11 matches
Mail list logo