import

about @import in css

I think I divide it because css grew big, and to do import. @import url("aaa.css"); . . . @import url("zzz.css"); is there be the number of the upper limits of import files? ...

Calling python from python - persistence of module imports?

So I have some Python scripts, and I've got a BaseHTTPServer to serve up their responses. If the requested file is a .py then I'll run that script using execfile(script.py). The question is this: are there any special rules about imports? One script needs to run just once, and it would be good to keep the objects it creates alive betwee...

Import DBF files into Sql Server

I need a little help figuring this out because I'm new to stored procedures. I am trying to import a .DBF table into Sql Server 2008 using this store procedure. CREATE PROCEDURE spImportDB -- Add the parameters for the stored procedure here AS BEGIN -- Insert statements for procedure here SELECT * into Products FROM OPENROWSET('vfp...

EWS - import email into sql database

I've been trying to import the body from emails into a field in a SQL 2005 database but it keeps losing the formatting (carriage returns, tabs, etc) Anyway of getting around this? ...

Tomcat 6: Importing utility class from WEB-INF/classes

Hi All, (I've removed client name because of NDA) Java/JSP newbie here. I have a JSP site and I have a 'Functions' class in WEB-INF/src/client/project/Functions.java In the Functions.java, the package is com.client.util This is compiled and ends up as WEB-INF/classes/client/project/Functions.class WEB-INF/classes/client/project/Func...

How can I import and export data from SQL Server 2005 to XML format?

I am very confused about how SQL Server 2005 supports importing and exporting of XML files. I was thinking that BCP was the way to go. However after reading all of the documentation it seems like there is no way to just take a regular table and export it in XML format. The reason that I am asking is that I am working with a client tha...

Understanding python imports

In the process of learning Django and Python. I can't make sense of this. (Example Notes:'helloworld' is the name of my project. It has 1 app called 'app'.) from helloworld.views import * # <<-- this works from helloworld import views # <<-- this doesn't work from helloworld.app import views # <<-- but this...

How to import data to an in-memory database?

Are there any ways to import data in databases such as MS SQL, MySQL into in-memory databases like HSQLDB, H2 etc ? ...

Import non-english WIkipedia XML dump in MySQL?

Hi, I'm looking for a script that can convert the XML wikipedia DUMP in MySQL compliant SQL. I've found a ready SQL dump for the english version but no easy way to import the other languages. Thanks, Piero ...

Copy Image from Remote Server Over HTTP

I am looking for a simple way to import/copy images from remote server to a local folder using PHP. I have no FTP access to the server, but all remote images can be accessed via HTTP (i.e. http://www.mydomain.com/myimage.jpg). Example use: A user wishes to add an image to his profile. The image already exists on the web and the user p...

Import ITK/VTK into Matlab or Matlab into VTK/ITK environment?

For a current project I have to use and do mathemetics on information provided in matrices as well as use ITK/VTK functions for displaying medical information / renders. Basically I have to use both matlab routines and VTK/ITK in a (I guess) 50/50 way. The problem is that, since I have to use both, I want to decide in advance which metho...

How to find all child modules in Python?

While it is fairly trivial in Python to import a "child" module into another module and list its attributes, it becomes slightly more difficult when you want to import all child modules. I'm building a library of tools for an existing 3D application. Each tool has its own menu item and sub menus. I'd like the tool to be responsible for...

XSD with imports and namespaces

Hi I am trying to get my mind around XSDs, XML and namespaces but I can't get things to work the way I want them to. I have an XSD which, at the moment, starts like this: <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ex...

Sql Server Reporting Services 2005 report import from PDF

Is there a tool or programming method available to take the layout defined in a PDF and import it into Sql Server Reporting Services 2005? Quite a few layouts are created as PDFs by third parties. It would make development a lot easier if I could use some of the layout already defined. ...

How do I deploy/import war package into Netbeans

Hi there, I have looked through the help documentation in netbeans 6.5.1 but cannot find anything explicit explaining how to deploy/import a war package. I know in Eclipse, it's as easy as right clicking in the Project Explorer >> select IMPORT >> WAR FILE. However, I still am unable to find a solution for Netbeans. Thankyou, Jordan ...

how to read output of var_export into a variable in PHP?

the output is like below restored in a output.txt file: array ( 'IMType' => '1', 'Email' => '[email protected]', 'SignupName' => 'test11', 'Password' => '11111', 'Encrypted' => '', 'Confirm' => '11111', 'OldPassword' => '', 'Name' => 'test', 'SignupProvinceText' => 'province', 'SignupCity' => 'cityname', 'Street' => '...

How to populate field descriptions in MS Access

When linking to an external data source via ODBC (especially an AS/400), I often run into cryptic field names on the other side, where a data dictionary is not available. In the rare event that I'm able to get the field descriptions from the other db, I would like to be able to import them all at once, rather than copy/paste each descrip...

Dynamic loading of python modules

In python how do you dynamically add modules to a package while your programming is running. I want to be able to add modules to the package directory from an outside process, and be able to use those new modules in my program: import package def doSomething(name): pkg = __import__("package." + name) mod = getattr(pkg, name) ...

Cheapest Way To Export/Import Array Contents To File - AS3/AIR

I'm working on a basic editor application. It uses an array of varying size that I want to store to disk. This will eventually be in an AIR application, but for now it's just an AS3 project in Flex. I want to store the array in a file. The application edits the data, so it doesn't need to be human readable. I want it to be in whatever ...

Create WebService Client from URI in Eclipse

Hi all, i want to make some tests with the Oracle Business Intelligence Webservices. First i want to import them into Eclipse. For that i use this howto: http://px.pats.no/px/Eclipse_tutorial.html Until step 8 is everything okay. For the Import i'm using: http://localhost:9704/analytics/saw.dll?WSDL But then i get following error: ...