extract

Extract data from a website's list, without superfluous tags

Working code: Google dictionary lookup via python and beautiful soup -> simply execute and enter a word. I've quite simply extracted the first definition from a specific list item. However to get plain data, I've had to split my data at the line break, and then strip it to remove the superfluous list tag. My question is, is there a met...

.net library for extracting block attributes out of autocad drawings

Hi all, I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs. Is there a lib that suits my needs? greetings, Coen ...

Extract embedded PDF fonts to an external ttf file using some utility or script

Is it possible to extract fonts that are embedded in a PDF file to an external ttf file using some utility or script? If the fonts that are embedded (or not embedded) to a PDF file are present in system. Using pdf2swf and swfextract tools from swftools I am able to determine names of the fonts used in a PDF file. Then I can compile res...

How to read/write .sit files with Python in Linux

How to read/write a .sit archive using Python in Linux? ...

How can I extract multiple email addresses from a single line using a Perl regex?

Hello, I have a text file which was originally a mysql dump of a database table. How do I write a Perl script to extract all the email addresses from this text file? The problem I am having is that I read in the lines of the document one by one then do a regular expression, however in cases where there are more than one email address o...

How to Extract atom rss

Given an url, if it has any rss nodes, then i am adding to the date base. e.g. For the url link text rssDoc.SelectNodes("rss/channel/item").Count is greater than zero but for the atom url google/atom rssDoc.SelectNodes("rss/channel/item").count is equal to zero. How can i check if the atom rss url has any nodes or not ? have tried fo...

How To Retrieve Comments From Within An XML Document

I want to extract all comments below a specific node within an XML document, using PHP. I have tried both the SimpleXML and DOMDocument methods, but I keep getting blank outputs. Is there a way to retrieve comments from within a document without having to resort to Regex? ...

Extract images from EML file in C#

Hi, I need to extract the images (attached) of a .EML file. Any help or ideas? Thanks in advance. (I'm programming in c#) ...

Close modal form in Access and access module code

Hi I've inherited a Access database that is used to import some data in SQL. The MDB opens with a form, in a modal mode: no Access menubar or buttons are visible. I can view the tables with content by using the Visual Studio 'Data Connection' tool, but I cannot see the module's code. I've looked at this question here, but the answers ...

how to extract specific bytes from a file using unix

how do I extract 12byte chunks from a binary file at certain positions within the file. If I wanted to extract the first 12 bytes I could do something like head -c12 file.bin>output If I wanted to extract 12 bytes from byte61 I could do something like head -c72 file.bin|tail -c12 >output Is there a simpler way if I have something ...

How to extract substring from a text file in bash?

I have lots of strings in a text file, like this: "/home/mossen/Desktop/jeff's project/Results/FCCY.png" "/tmp/accept/FLWS14UU.png" "/home/tten/Desktop/.wordi/STSMLC.png" I want to get only the file names from the string as I read the text file line by line, using a bash shell script. The file name will always end in .png and will al...

extracting jar files

how do we extract jar files in ubuntu???? ...

Extracting text from PDFs in C#

Pretty simply, I need to rip text out of multiple PDFs (quite a lot actually) in order to analyse the contents before sticking it in an SQL database. I've found some pretty sketchy free C# libraries that sort of work (the best one uses iTextSharp), but there are umpteen formatting errors and some characters are scrambled and alot of the...

Extract audio from video as wav

I know there is a question similar to mine: http://stackoverflow.com/questions/1010937/extract-wav-file-from-video-file I am new to C++ and understand about COM library + directX is needed for video and audio. I been looking for tutorial and samples code but little success. My question is how do I code the application to take video fi...

Selecting k*k subarray from p*p*n array in Fortran

Hi, I have a p*p*n array in Fortran, and I want to extract k*k subarray from that bigger array. I tried like this, but not sure does it work: do i=1,p vp(i)=i end do help=y(1:p,t)*vp do t = 1, n A(1:k,1:k,t) = B(pack(help,help>0), pack(help,help>0), t) end do where y contains values 0 and 1, 1 meaning that row/column is wanted...

Template extraction in python/php

Are there existing template extract libraries in either python or php? Perl has Template::Extract (http://search.cpan.org/%7Eautrijus/Template-Extract-0.40/lib/Template/Extract.pm), but I haven't been able to find a similar implementation in either python or php. The only thing close in python that I could find is TemplateMaker (http:/...

Extract Text from web page displayed in a TWebBrowser

I use delphi 7 and I would like to extract ONLY the text displayed in a webpage directly from a web page displayed in a TWebBrowser (no images....). Could it be done & how can I do it? Best Regards, M ...

Create a "virtual" file and execute it

Hello everyone! My google search has led me to here: http://stackoverflow.com/questions/2080892/how-to-create-a-virtual-file In that article, people suggested the author to extract the file to a temp directory and work with it from there. Actually, what I would like to do, is something similar to what the author was originally asking -...

Most efficient way to extract all the (natural) numbers from a string

Users may want to delimit numbers as they want. What is the most efficient (or a simple standard function) to extract all the (natural) numbers from a string? ...

Get all Images from WebPage Program | Java

Hi Currently I need a program that given a URL, returns a list of all the images on the webpage. ie: logo.png gallery1.jpg test.gif Is there any open source software available before I try and code something? Language should be java. Thanks Philip ...