Hi,
Anyone out there writing Jython for RSA Authentication Manager ?
I'm fairly new to Python but I see it is possible to write Jython
scripts for user administration.
I'm also very interested in writing scripts for monitoring and
basically everything else related to RSA but in Jython, i.e
On 27 Feb 2010, at 12:44, Steven D'Aprano wrote:
On Sat, 27 Feb 2010 10:36:41 +0100, @ Rocteur CC wrote:
cat file.dos | python -c "import sys,re;
[sys.stdout.write(re.compile('\r\n').sub('\n', line)) for line in
sys.stdin]" >file.unix
Holy cow!
Hi,
This morning I am working though Building Skills in Python and was
having problems with string.strip.
Then I found the input file I was using was in DOS format and I
thought it be best to convert it to UNIX and so I started to type perl
-i -pe 's/ and then I though, wait, I'm learning
On 07 Feb 2010, at 10:03, Shashwat Anand wrote:
Here is one simple solution :
>>> intext = """Lorem [ipsum] dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut [labore] et
[dolore] magna aliqua."""
>>> intext.replace('[', '{').replace(']', '}')
'Lorem {ipsum