Re: Parsing VHDL with python, where to start.

2008-07-29 Thread Svenn Are Bjerkem
On Jul 29, 5:14 pm, Wolfgang Grafen [EMAIL PROTECTED] wrote: For me it is not very clear what you intend to do. After years of parsing parts of VHDL from time to time the rapid parsing way for me is using regular expressions instead of one of the parser frame works because of following

Re: Parsing VHDL with python, where to start.

2008-07-28 Thread Svenn Are Bjerkem
Hi again, when I get far enough to parse the VHDL (which is not currently the fact, but I have to look at the work coming up downstream) I will have to put it into an internal data structure and then write some classes to handle the MVC between whatever data I have and the PyQt4 widget that is

Re: Parsing VHDL with python, where to start.

2008-07-24 Thread Svenn Are Bjerkem
On Jul 23, 1:03 pm, [EMAIL PROTECTED] (c d saunter) wrote: How much of VHDL are you looking to parse? Are you just looking at files intended for synthesis, or at simulation/testbench files as well? As a start I want to parse VHDL which is going to be synthesised, and I am limiting myself to

Parsing VHDL with python, where to start.

2008-07-21 Thread Svenn Are Bjerkem
Hi, I am in the need to write an application for PyQt to visualise the structure of a VHDL project I am working on. Looking for a sensible way to parse VHDL files and putting them into a data structure that PyQt can represent as a tree (or whatever the MVC is supporting) through search engines

Re: executing newgrp from python in current shell possible?

2008-01-12 Thread Svenn Are Bjerkem
On Jan 9, 9:18 pm, Zentrader [EMAIL PROTECTED] wrote: On Jan 9, 5:56 am, Svenn Are Bjerkem [EMAIL PROTECTED] wrote: I have been looking for a way to execute this command as a part of a script, but it seems that the changes are only valid in the context of the script and when the script

executing newgrp from python in current shell possible?

2008-01-09 Thread Svenn Are Bjerkem
Hi, as a user on a linux system I am member of the groups users and design with users as my default group. To controll the accessibility of some parts of the file system, creation of files and directories in those parts must be done with group design. This is currently done manually with newgrp

Re: Script to extract text from PDF files

2007-09-27 Thread Svenn Are Bjerkem
On Sep 26, 11:50 pm, [EMAIL PROTECTED] wrote: On Sep 26, 4:49 pm, Svenn Are Bjerkem [EMAIL PROTECTED] wrote: I have downloaded this package and installed it and found that the text-extraction is more or less useless. Looking into the code and comparing with the PDF spec show a very early

Re: Script to extract text from PDF files

2007-09-26 Thread Svenn Are Bjerkem
On Sep 25, 9:18 pm, [EMAIL PROTECTED] wrote: On Sep 25, 3:02 pm, Paul Hankin [EMAIL PROTECTED] wrote: Googling for 'pdf to text python' and following the first link giveshttp://pybrary.net/pyPdf/ Doesn't work that well, I've tried it, you should too... the author even admits this:

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-10 Thread Svenn Are Bjerkem
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... That is a misconception. There are several really good packages for OO in Tcl. XOTcl, [incr] Tcl, and my favorite Snit. None of which are core functions. As I stated, there is currently no OO in the core like in python. On top of

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-10 Thread Svenn Are Bjerkem
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Why does there need to be OO in the core? That is one thing I have never understood. If you want OO, get a package that fits your style of OO and package require you are off and running. That probably isn't what you would be looking at

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-09 Thread Svenn Are Bjerkem
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Ah, another one leaves the fold... : \ I think I saw somebody say about OO in Python: It's there, but you don't have to use it. Every time somebody wants OO in the core of tcl, he is asked: Why do you want it? If OO was as easy in Tcl

Re: Xah's edu corner: the Journey of Foreign Characters thru Internet

2005-11-02 Thread Svenn Are Bjerkem
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Something I don't quite understand, if people think it is troll, just ignore it. What I see is that people are feeding it by commenting about either him or his post. I saw a number of threads ended up that way(like the rather long one

Re: forum

2005-10-27 Thread Svenn Are Bjerkem
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Forum commuication is easier, and I've just started a new forum and would like to invite all of you to sign up and post there. I'm still I don't agree. USENET is easier because you can search and post on groups.google.com. You don't