473,322 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

spec file parsing

Hi,

Is there a module for parsing spec files available?

Marian

--
--
Best Regards,

Marian Jancar
software developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: mj*****@suse.cz
Drahobejlova 27 tel:+420 283 095 382
190 00 Praha 9 fax:+420 283 095 374
Czech Republic http://www.suse.cz
Jul 18 '05 #1
4 3560
Marian Jancar wrote:
Is there a module for parsing spec files available?


What are spec files?

--Irmen

Jul 18 '05 #2
On Tue, 18 Nov 2003 19:24:59 +0100
Irmen de Jong <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> wrote:
Marian Jancar wrote:
Is there a module for parsing spec files available?


What are spec files?


"Spec" file is usualy called the script used by rpm to build binary
rpm package from sources. Sorry for being imprecise, I thought it is
generaly known.

Marian

--
--
Best Regards,

Marian Jancar
software developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: mj*****@suse.cz
Drahobejlova 27 tel:+420 283 095 382
190 00 Praha 9 fax:+420 283 095 374
Czech Republic http://www.suse.cz
Jul 18 '05 #3

Marian> Is there a module for parsing spec files available?

Depends. What are spec files?

Skip

Jul 18 '05 #4
If you're talking about text parameter files, how about module
SafeConfigParser (which superseded ConfigParser) that translates Windows
..INI files to and from Python methods. It's described on pp 135-6 of
Martelli & Ascher's Python Cookbook (O'Reilly, 2002). Cookbook recipes are
also available online at http://aspn.activestate.com/ASPN/Cookbook/Python
----- Original Message -----
From: "Marian Jancar" <mj*****@suse.cz>
To: <py*********@python.org>
Sent: Tuesday, November 18, 2003 10:03 AM
Subject: spec file parsing

Hi,

Is there a module for parsing spec files available?

Marian

--
--
Best Regards,

Marian Jancar
software developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: mj*****@suse.cz
Drahobejlova 27 tel:+420 283 095 382
190 00 Praha 9 fax:+420 283 095 374
Czech Republic http://www.suse.cz


Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: Hallvard B Furuseth | last post by:
Now that the '-*- coding: <charset> -*-' feature has arrived, I'd like to see an addition: # -*- str7bit:True -*- After the source file has been converted to Unicode, cause a parse error if a...
2
by: Oxmard | last post by:
Armed with my new O'Reilly book Optimizing Oracle Performance I have been trying to get a better understanding of how Oracle works. The book makes the statement, " A database cal with dep=n + 1...
2
by: Cigdem | last post by:
Hello, I am trying to parse the XML files that the user selects(XML files are on anoher OS400 system called "wkdis3"). But i am permenantly getting that error: Directory0: \\wkdis3\ROOT\home...
3
by: Trev | last post by:
Is there a way to create/manipulate import specs in VBA?
2
by: Huayang Xia | last post by:
I am trying to use PyObject_CallMethod. It needs a format string to specify what are the followed arguments. Is it possible to use a PyObject* as an argument? Where can I find the spec for the...
5
by: baskarpr | last post by:
Hi all, I my program after parsing in SAX parser, I want to write the parse result as an XML file. I want to ensure that there should be no difference between source XML file and parse result xml...
5
AdrianH
by: AdrianH | last post by:
Assumptions I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C++ programming. FYI Although I have called...
1
AdrianH
by: AdrianH | last post by:
Assumptions I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C programming. FYI Although I have called this...
7
by: souravmallik | last post by:
Hello, I'm facing a big logical problem while writing a parser in VC++ using C. I have to parse a file in a chunk of bytes in a round robin fashion. Means, when I select a file, the parser...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.