Re: lotus nsf to mbox

2007-12-18 Thread Fabian Braennstroem
Hi to all, thanks, I'll try your suggestions... Regards! Fabian Brian Munroe schrieb am 12/15/2007 07:10 PM: On Dec 15, 11:04 am, Fabian Braennstroem [EMAIL PROTECTED] wrote: thanks for your ideas! I actually thought of something like a python parser, which just converts the nsf structure

lotus nsf to mbox

2007-12-15 Thread Fabian Braennstroem
Hi, I am wondering, if anyone tried to convert lotus nsf mails to a mbox format using python!? It would be nice, if anyone has an idea, how to do it on a linux machine. Regards! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: lotus nsf to mbox

2007-12-15 Thread Fabian Braennstroem
Hi to both, Dan Poirier schrieb am 12/15/2007 02:00 PM: On Dec 15, 5:18 am, Fabian Braennstroem [EMAIL PROTECTED] wrote: I am wondering, if anyone tried to convert lotus nsf mails to a mbox format using python!? It would be nice, if anyone has an idea, how to do it on a linux machine. I've

Re: regex problem with re and fnmatch

2007-11-21 Thread Fabian Braennstroem
Hi John, John Machin schrieb am 11/20/2007 09:40 PM: On Nov 21, 8:05 am, Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I would like to use re to search for lines in a files with the word README_x.org, where x is any number. E.g. the structure would look like this: [[file:~/pfm_v99

regex problem with re and fnmatch

2007-11-20 Thread Fabian Braennstroem
Hi, I would like to use re to search for lines in a files with the word README_x.org, where x is any number. E.g. the structure would look like this: [[file:~/pfm_v99/README_1.org]] I tried to use these kind of matchings: #org_files='.*README\_1.org]]'

Re: open remote terminal

2007-10-23 Thread Fabian Braennstroem
Hi Rafael, Rafael Sachetto wrote: Take a look at this documentation: http://pexpect.sourceforge.net/pxssh.html thanks for the link, but it actually looks to me almost like my little example... I somehow don't get it!? Any more hints? Fabian pexpect would be the usual solution, I

Re: open remote terminal

2007-10-20 Thread Fabian Braennstroem
Hi Steve, Steve Holden wrote: Fabian Braennstroem wrote: Hi, I would like to use python to start an terminal, e.g. xterm, and login on a remote machine using rsh or ssh. This could be done using 'xterm -e ssh machine', but after the login I would like to jump to a given directory. Does

Re: pyparsing batch file

2007-10-20 Thread Fabian Braennstroem
Hi Paul, Paul McGuire wrote: On Oct 17, 4:47 pm, Fabian Braennstroem [EMAIL PROTECTED] wrote: snip Unfortunately, it does not parse the whole file names with the underscore and I do not know yet, how I can access the line with 'define/boundary-conditions'. Every 'argument' of that command

Re: open remote terminal

2007-10-20 Thread Fabian Braennstroem
Fabian Braennstroem wrote: Hi Steve, Steve Holden wrote: Fabian Braennstroem wrote: Hi, I would like to use python to start an terminal, e.g. xterm, and login on a remote machine using rsh or ssh. This could be done using 'xterm -e ssh machine', but after the login I would like

open remote terminal

2007-10-17 Thread Fabian Braennstroem
Hi, I would like to use python to start an terminal, e.g. xterm, and login on a remote machine using rsh or ssh. This could be done using 'xterm -e ssh machine', but after the login I would like to jump to a given directory. Does anyone have an idea how to do this with python? Regards! Fabian

pyparsing batch file

2007-10-17 Thread Fabian Braennstroem
Hi, me again :-) I would like to parse a small batch file: file/read-case kepstop.cas file/read-data keps1500.dat solve/monitors/residual/plot no solve/monitors/residual/print yes /define/boundary-conditions in velocity-inlet 10 0.1 0.1 no 1 it 500 wd keps1500_500.dat yes exit Right now, I use

Re: extract text from log file using re

2007-09-15 Thread Fabian Braennstroem
Hi to all, thanks for your help. The approach print '\r\n'.join([x.strip() for x in open('c:/flutest.txt') if 'e-0' in x]) works quite well :-) Greetings! Fabian Fabian Braennstroem schrieb am 09/13/2007 09:09 PM: Hi, I would like to delete a region on a log file which has

extract text from log file using re

2007-09-13 Thread Fabian Braennstroem
Hi, I would like to delete a region on a log file which has this kind of structure: #--flutest 498 1.0086e-03 2.4608e-04 9.8589e-05 1.4908e-04 8.3956e-04 3.8560e-03 4.8384e-02 11:40:01 499 499 1.0086e-03 2.4608e-04

Re: extract text from log file using re

2007-09-13 Thread Fabian Braennstroem
-04 9.8395e-05 1.4865e-04 8.3913e-04 3.8545e-03 1.3315e-01 11:14:10 500 501 1.0086e-03 2.4608e-04 9.8589e-05 1.4908e-04 8.3956e-04 3.8560e-03 4.8384e-02 11:40:01 499 as field values. Fabian Braennstroem schrieb am 09/13/2007 09:09 PM: Hi, I would like to delete a region on a log file which has

vte examples and installation

2007-05-28 Thread Fabian Braennstroem
Hi, I am looking for simple vte examples mainly for pygtk. Can anyone point me in the right direction or is there a better terminal emulation for pygtk? It would be nice, if there exist a good howto for installing vte up for the use of python; esp. for an old redhat/scientific linux machine... I

Re: track cpu usage of linux application

2007-05-15 Thread Fabian Braennstroem
Hi, thanks to both! I will take a look at the proc files! * James T. Dennis [EMAIL PROTECTED] wrote: Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I would like to track the cpu usage of a couple of programs using python. Maybe it works somehow with piping 'top' to python

track cpu usage of linux application

2007-05-14 Thread Fabian Braennstroem
Hi, I would like to track the cpu usage of a couple of programs using python. Maybe it works somehow with piping 'top' to python read the cpu load for a greped application and clocking the the first and last appearence. Is that a good approach or does anyone have a more

Re: pattern search

2007-03-29 Thread Fabian Braennstroem
Hi Paul, Paul McGuire schrieb am 03/27/2007 07:19 PM: On Mar 27, 3:13 pm, Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi to all, Wojciech Mu?a schrieb am 03/27/2007 03:34 PM: Fabian Braennstroem wrote: Now, I would like to improve it by searching for different 'real' patterns just like

Re: pattern search

2007-03-28 Thread Fabian Braennstroem
Hi, Gabriel Genellina schrieb am 03/27/2007 10:09 PM: En Tue, 27 Mar 2007 18:42:15 -0300, Diez B. Roggisch [EMAIL PROTECTED] escribió: Paul McGuire schrieb: On Mar 27, 10:18 am, Diez B. Roggisch [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: while iter

pattern search

2007-03-27 Thread Fabian Braennstroem
Hi, I wrote a small gtk file manager, which works pretty well. Until now, I am able to select different file (treeview entries) just by extension (done with 'endswith'). See the little part below: self.pathlist1=[ ] self.patternlist=[ ] while iter:

Re: pattern search

2007-03-27 Thread Fabian Braennstroem
Hi to all, Wojciech Mu?a schrieb am 03/27/2007 03:34 PM: Fabian Braennstroem wrote: Now, I would like to improve it by searching for different 'real' patterns just like using 'ls' in bash. E.g. the entry 'car*.pdf' should select all pdf files with a beginning 'car'. Does anyone have an idea

Re: python 2.5 install from source problem

2006-12-02 Thread Fabian Braennstroem
Hi Martin, * Martin v. Löwis [EMAIL PROTECTED] wrote: Fabian Braennstroem schrieb: I just tried to install python 2.5 from source on my ScienticLinux (Redhat Clone) machine. It seems to work without any problem, at least I am able to run some of my old scripts. I installed

python 2.5 install from source problem

2006-12-01 Thread Fabian Braennstroem
Hi, I just tried to install python 2.5 from source on my ScienticLinux (Redhat Clone) machine. It seems to work without any problem, at least I am able to run some of my old scripts. I installed it with './configure --prefix=/opt/python make make altinstall', but now for a 'vtk' installation

small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi, I am looking for a small python script, which starts a small web server with python cgi support on a linux machine. I tried: #!/usr/bin/env python import sys from CGIHTTPServer import CGIHTTPRequestHandler import BaseHTTPServer class MyRequestHandler(CGIHTTPRequestHandler):

Re: small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi, * ArdPy [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: Hi, I am looking for a small python script, which starts a small web server with python cgi support on a linux machine. I tried: #!/usr/bin/env python import sys from CGIHTTPServer import CGIHTTPRequestHandler

Re: small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi Norbert, * Norbert Kaufmann [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: [...] Maybe, I understood something wrong, but I thought that the above 'webserver' script would replace apache in my case; at least I hoped!? It does. The 'ServerRoot' and 'DocumentRoot' directories

Re: change keybindings for pygtk treeview

2006-10-28 Thread Fabian Braennstroem
Hi, * Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I am just testing pygtk/glade out and wonder, if I am able to change the keybindings. E.g. the treeview searches by default for the entries beginning with the typed keystroke; moving to the next row works as usual with the Down key. Now

change keybindings for pygtk treeview

2006-10-27 Thread Fabian Braennstroem
Hi, I am just testing pygtk/glade out and wonder, if I am able to change the keybindings. E.g. the treeview searches by default for the entries beginning with the typed keystroke; moving to the next row works as usual with the Down key. Now I would like to change the key bindings to e.g. 'j' to

Re: 3D Vector Type Line-Drawing Program

2006-10-13 Thread Fabian Braennstroem
Hi, I am not sure, if that is, what your looking for, but with 'salome' you able to produce 3D drawings with an GUI or using a python script. Take a look at: http://www.salome-platform.org/home/presentation/geom/ * Scott David Daniels [EMAIL PROTECTED] wrote: Ron Adam wrote: Scott David

Re: Adding Worksheets to an Excel Workbook

2006-10-13 Thread Fabian Braennstroem
Hi Wesley, * wesley chun [EMAIL PROTECTED] wrote: just a small OT question coming from a linux openoffice system... Does there exist something similar for powerpoint? Would be nice, if anybody can direct me to more examples... fabian, see below for a PP example. you mentioned you were

Re: Adding Worksheets to an Excel Workbook

2006-10-11 Thread Fabian Braennstroem
Hi, just a small OT question coming from a linux openoffice system... * wesley chun [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Date: Tues, Oct 10 2006 2:08 pm I'm a Python newbie, and I'm just getting to the wonders of COM programming. welcome to Python!! i too, have (recently)

change directory when closing curses program

2006-10-09 Thread Fabian Braennstroem
Hi, I am using lfm, a curses based file manager, and want to change into the last directory of my lfm-session after closing it. To be more clear: 1) run lfm from console in the home directory ~ 2) move to ~/something 3) close lfm 4) be in ~/something on the console Is that possible in any way?

Re: Scientific computing and data visualization.

2006-10-08 Thread Fabian Braennstroem
Hi Bernhard, * [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I can definitively second that. ROOT is a bit hard to learn but very, very powerful and PyRoot is really a pleasure to work with. It sounds interesting. Right now, I use matplotlib for 2D plotting and vtk for 3D. Do you have any

Re: extract certain values from file with re

2006-10-07 Thread Fabian Braennstroem
Hi to all, thanks a lot! I am pretty sure your ideas help :-) Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: Scientific computing and data visualization.

2006-10-07 Thread Fabian Braennstroem
Hi, * Carl Friedrich Bolz [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: A commonly used data analysis framework is root (http://root.cern.ch). It offers a object oriented C++ framework with all kind of things one needs for plotting and data visualization. It comes along with PyRoot, an

extract certain values from file with re

2006-10-06 Thread Fabian Braennstroem
Hi, I would like to remove certain lines from a log files. I had some sed/awk scripts for this, but now, I want to use python with its re module for this task. Actually, I have two different log files. The first file looks like: ... 'some text' ... ITER I-

python gtk based file manager

2006-09-25 Thread Fabian Braennstroem
Hi, I am looking for a file manager based on pygtk. It seems that there does not exist any!? Maybe, someone has a hint or already some starting code lines for such a 'thing'!? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: python gtk based file manager

2006-09-25 Thread Fabian Braennstroem
to me a lot easier than C, esp. for adjusting and adding some functions for my daily use. I found wxPyAtol, which could be a good base, but unfortunately there is no wx installed at my office machine :-( Fabian Braennstroem wrote: Hi, I am looking for a file manager based on pygtk. It seems

Re: latex openoffice converter

2006-09-16 Thread Fabian Braennstroem
Hi to both, thanks! I'll try them ... * Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I would like to use python to convert 'simple' latex documents into openoffice format. Maybe, anybody has done something similar before and can give me a starting point!? Would be nice to hear some

latex openoffice converter

2006-09-14 Thread Fabian Braennstroem
Hi, I would like to use python to convert 'simple' latex documents into openoffice format. Maybe, anybody has done something similar before and can give me a starting point!? Would be nice to hear some hints! Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: radio buttons in curses

2006-08-24 Thread Fabian Braennstroem
Hi Steve, * Steve Holden [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: Sorry, me again... Does nobody have an idea or is it to stupid? * Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I want to add some radio and check buttons to my curses script. As I understand

Re: radio buttons in curses

2006-08-24 Thread Fabian Braennstroem
Hi Fredrik, * Fredrik Lundh [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: Does nobody have an idea or is it to stupid? have you looked at: http://excess.org/urwid/ Thanks! I found this too and it seems to be helpful... Greetings! Fabian -- http://mail.python.org/mailman

Re: radio buttons in curses

2006-08-22 Thread Fabian Braennstroem
Sorry, me again... Does nobody have an idea or is it to stupid? * Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I want to add some radio and check buttons to my curses script. As I understand it, there are no buttons in the 'basic' curses module. Now, I found the curses-extra module

radio buttons in curses

2006-08-20 Thread Fabian Braennstroem
Hi, I want to add some radio and check buttons to my curses script. As I understand it, there are no buttons in the 'basic' curses module. Now, I found the curses-extra module, but I not able to download and install it. Does anybody have an idea, where I can download the module or, even better,

Re: access abook addressbook with curses

2006-08-14 Thread Fabian Braennstroem
Hi Ben, * Ben C [EMAIL PROTECTED] wrote: On 2006-08-08, Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi Ben, * Ben C [EMAIL PROTECTED] wrote: On 2006-08-06, Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi Ben, * Ben C [EMAIL PROTECTED] wrote: On 2006-08-05, Fabian Braennstroem [EMAIL

Re: email client like mutt

2006-08-07 Thread Fabian Braennstroem
Hi to both, * cga2000 [EMAIL PROTECTED] wrote: On Mon, Aug 07, 2006 at 08:34:16PM EDT, Aahz wrote: In article [EMAIL PROTECTED], cga2000 [EMAIL PROTECTED] wrote: On Sun, Aug 06, 2006 at 04:15:08PM EDT, Aahz wrote: In article [EMAIL PROTECTED], Fabian Braennstroem [EMAIL PROTECTED] wrote

Re: access abook addressbook with curses

2006-08-07 Thread Fabian Braennstroem
Hi Ben, * Ben C [EMAIL PROTECTED] wrote: On 2006-08-06, Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi Ben, * Ben C [EMAIL PROTECTED] wrote: On 2006-08-05, Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I want to get access to my abook address file with python. Does anyone have some

Re: access abook addressbook with curses

2006-08-06 Thread Fabian Braennstroem
Hi Ben, * Ben C [EMAIL PROTECTED] wrote: On 2006-08-05, Fabian Braennstroem [EMAIL PROTECTED] wrote: Hi, I want to get access to my abook address file with python. Does anyone have some python lines to achive this using curses? If not, maybe anybody has small python program doing

email client like mutt

2006-08-05 Thread Fabian Braennstroem
Hi, I am looking for a python email client for the terminal... something like mutt; maybe, so powerfull ;-) Would be nice, if anybody has an idea! Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

access abook addressbook with curses

2006-08-05 Thread Fabian Braennstroem
Hi, I want to get access to my abook address file with python. Does anyone have some python lines to achive this using curses? If not, maybe anybody has small python program doing it with a gui!? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: install python on cdrom

2006-08-03 Thread Fabian Braennstroem
Hi Martin, * Martin v. Löwis [EMAIL PROTECTED] wrote: Fabian Braennstroem schrieb: I look for an easy way to use the newest scipy, pyvtk, matplotlib, f2py, numpy, paraview/vtk,... on a entreprise redhat machine without administration rights. My first thought was to install the whole new

install python on cdrom

2006-07-29 Thread Fabian Braennstroem
Hi, I look for an easy way to use the newest scipy, pyvtk, matplotlib, f2py, numpy, paraview/vtk,... on a entreprise redhat machine without administration rights. My first thought was to install the whole new python system on a cdrom/dvd and mounting it, when I need it. Would that be the easiest

Re: problem with array and for loop

2006-05-11 Thread Fabian Braennstroem
Hi Robert, * Robert Kern [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: Hi, I have a 'simple' problem with a multidimension array in a for loop. It looks like this: wert= zeros([127,2]) wert1= zeros(127) m=1 l=1 for pos in [pos1,pos2,pos3]: for i in range(1,125

problem with array and for loop

2006-05-10 Thread Fabian Braennstroem
Hi, I have a 'simple' problem with a multidimension array in a for loop. It looks like this: wert= zeros([127,2]) wert1= zeros(127) m=1 l=1 for pos in [pos1,pos2,pos3]: for i in range(1,125): wert[l,m]= probe1.GetOutput().GetPointData().GetScalars().GetTuple1(i); #wert1[i]=

Re: best way to install python modules on linux

2006-04-14 Thread Fabian Braennstroem
Hi Harry, * Harry George [EMAIL PROTECTED] wrote: Fabian Braennstroem [EMAIL PROTECTED] writes: Hi, I am pretty new to python and will use it mainly in combination with scientific packages. I am running ubuntu breezy right now and see that some packages are out of date. Do you have any

Re: best way to install python modules on linux

2006-04-10 Thread Fabian Braennstroem
Hi, * Robert Kern [EMAIL PROTECTED] wrote: Fabian Braennstroem wrote: Hi to all, thanks for your ideas! I just figured out a different way using archlinux 'pacman' (package management tool like apt). As a former archlinux user I am more used to adjust those PKDBUILDs (kind of ebuilds

Re: best way to install python modules on linux

2006-04-08 Thread Fabian Braennstroem
Hi to all, thanks for your ideas! I just figured out a different way using archlinux 'pacman' (package management tool like apt). As a former archlinux user I am more used to adjust those PKDBUILDs (kind of ebuilds under archlinux) than adjusting debian packages. The downside is that apt does not

best way to install python modules on linux

2006-04-07 Thread Fabian Braennstroem
Hi, I am pretty new to python and will use it mainly in combination with scientific packages. I am running ubuntu breezy right now and see that some packages are out of date. Do you have any suggestion, how I can get/keep the latest python modules (e.g. scipy, numpy,...) on my ubuntu system? I.e.