Hi, Can anyone tell me anything about Python.. I dont know anything about it and need it urgently for a project. Please help (which discussion boards do I have to write to for Python queries?)
ArchaBhandare
Posts
-
Python Knowledge -
how to enter dateI want to enter the date in my mysql table so that when I read from the database, I can read only the entries entered on that day or the latest. How do I do this. which datatype should I enter. I tried with unix_timestamp() but it saves in seconds, so wont it result in lots of arithmetic calculation?
-
WebSite TestingI wanted to know what are the different types of testing which can be performed for a website testing. Also which tools can be used for each type of testing. Can anyone please help
-
how to drop a columnCan anyone Please tell me what is the command to drop a particular column from a table OR alter a table. Does it require that the table has no data while dropping a column ?
-
getting column names and data typeCan anyone tell me having known the table name, how can I get the column names and their datatype? I am using the ojdbc14 driver to connect to my Oracle10g database. My table name is 'orders' and I want to know how many columns it has and of what type. Is there any query for this?
-
Get all the tables in the databaseNothing is working. My db name is siebeldb and presently there is only 1 table in it, namely 'orders'. But knowing that siebeldb is the database, how do I get the names of the tables it contains. Also when I know a table, how do I get the fieldnames and fieldtypes in the table.
-
getting data in partsI still didnt get what to do How should the above command be written as ? my table name is 'orders' and there are only 2 fields in that 'ORDERID' and 'ITEMDESIRED' There is no primary key as such. Yes I can make 'ORDERID' the Primary key though. What should be the '@FirstRow' and '@EndRow' values be?? or should I write them just like that. Please help, its urgent. I am using the ojdbc14.jar to connect to the Oracle 10g database. I read somewhere about the LIMIT and OFFSET command, but tried it in Oracle SQL* Plus and saw that it does not work. Also it gave the same exception when tried to run the command through my Java program. The command I ran is
select * from orders limit 10;
and the Exception I got isORA-00933: SQL command not properly ended
-
getting data in partsI wanted to know if it is possible to get the data in parts. I mean my application has many records in the table, so for a sql query like select * from table, there is lots of records to be read from the ResultSet. Is there any query like select (first 100) * from table then select (next 100) * from table . . . something like this ? please help
-
Get all the tables in the databaseIs there a sql query which will help me get the names of all the tables in the database.
-
DTD/XSDCan anyone please tell me what is DTD/XSD ?? My client wants the DTD/XSD for creation of xml files. Can anyone please send me an example if youll have
-
error in loading applicationI am using a Symbol device and my application pre-requisites include installing the symbol.all.arm.cab on the device. The first time I installed the pre-requisites and the application on the device, the application ran properly without any crash. But later, when I tried to start the application again, there was an error seen and the application did not start. The following error was seen TypeLoadException Could not load type Symbol.Generic.Reader from assembly Symbol, Version=1.0.5000.3, Culture=neutral, PublicKeyToken=68EC8DB391F150CA. MSDN says “TypeLoadException is thrown when the common language runtime cannot find the assembly, the type within the assembly, or cannot load the type.” I tried reinstalling the ‘symbol.all.arm.cab’ file again, but it gives the same error. can anyone help me in understanding why am I getting this error and what should I do to correct it.
-
error in loading applicationI am using a Symbol device and my application pre-requisites include installing the symbol.all.arm.cab on the device. The first time I installed the pre-requisites and the application on the device, the application ran properly without any crash. But later, when I tried to start the application again, there was an error seen and the application did not start. The following error was seen TypeLoadException Could not load type Symbol.Generic.Reader from assembly Symbol, Version=1.0.5000.3, Culture=neutral, PublicKeyToken=68EC8DB391F150CA. MSDN says “TypeLoadException is thrown when the common language runtime cannot find the assembly, the type within the assembly, or cannot load the type.” I tried reinstalling the ‘symbol.all.arm.cab’ file again, but it gives the same error. can anyone help me in understanding why am I getting this error and what should I do to correct it.
-
Creating a web pageHello all, I am new to this domain and I need your help badly. I have created a personal page in FrontPage. I want to upload this page on Net so that all can see it. How do I do this ? I heard from some of my friends that some sites like 'geocities' or something allow free uploading. Is it true ? Can anyone please tell me how I upload and if there is some site which gives free space for creating web pages.
-
changing color of CheckBoxI want to change the color of the small box in the checkbox. If I change the backcolor to white, it does not affect the small square inside the checkbox border on which we actually click. Can anyone please tell me how can I change that color ?
-
Changing color of SSTabI have a SSTab component on my form. I want to change the color of it to white with black font on it. If I change the 'BackColor' to 'White', the back screen changes but not the color of the tabs. Can anyone please tell me how do I change the color of the tabs on the SSTab component?
-
How do I change the background color of a command buttonI have a form for which I have changed the Appearance properties such as BackColor : White (Palette) FillColor : Black (Palette) ForeColor : Black (Palette) I have a 'Ok' command button on the form. I want the command button to be White with black font on it. For that I made the following changes BackColor : White (Palette) MaskColor : White (Palette) But it still shows the button as windows color (grey). Is there some way to make it white or transparent atleast? Can anyone please tell me what am I missing out to make the command button appear white with black 'Ok' on it.
-
issue in saving an xmlThanx for your reply. I got it working. This is a client side implementation. The client receives an url to an xml file in the response and wants to save the xml file. The changes I had to go were as follows Say for instance, the server return in its response, an url to an xml file, urlPath = "http://abc.xyz.com/tmp/ordera5fgscfs122dfbvgefsdsd.xml" I want that when the client receives the url to an xml string in the response it saves the xml file as follows, filePath = "C:\saved.xml" Now I am using the following code: Dim xmlDocToSave As New DOMDocument40 xmlDocToSave.Load (urlPath) xmlDocToSave.save (filePath) This will save the contents of the xml in 'saved.xml' in C:\
-
issue in saving an xmlI had written about this earlier, but the application does not work.. I have the server return in its response, an url to an xml file, say urlPath = "http://abc.xyz.com/tmp/ordera5fgscfs122dfbvgefsdsd.xml" I want that when the client receives the url to an xml string in the response it saves the xml file to a particular location specified earlier; say folderPath = "C:\" I am using the following code: Dim xmlDocToSave As MSXML2.DOMDocument40 xmlDocToSave.loadXML (urlPath) xmlDocToSave.save (folderPath) But this is not saving the xml file into the folder location. Can anyone please help, I want to know how should I save the xml file sent by the server. It is urgent
-
Folder exists in VBHeah thanx, I got the thing working with the following piece of code Dim folderPath As String Dim fs folderPath = "C:\test" Set fs = CreateObject("Scripting.FileSystemObject") If (fs.folderexists(folderPath) <> True) Then MsgBox "Folder does not Exist" Else MsgBox "Folder Exists" End If
-
checking for a substringThanks, it worked