Forum: Python Nov 24th, 2008 |
| Replies: 7 Views: 10,830 Here is the answer to do the same ...using sets..
from sets import Set
a = Set([1,2,3,4,5])
b = Set([6,7,8,9,10])
c = Set([2,4,6,8,10])
s1 = list(a.intersection(b))
s2 =... |
Forum: Python Nov 26th, 2007 |
| Replies: 7 Views: 10,830 Hello,
Thanks for your reply.
Since I am new to python, i do not have any idea of sets. So It would be good for me if you can give me an example of, how to it convert in to sets and how to take... |
Forum: Python Nov 23rd, 2007 |
| Replies: 7 Views: 10,830 Hi,
I have two list of any datatype supported by python. I want to check whether the any of the element of first list
is present in second list or not.
Example: I have
a = [4,5,6]
b =... |
Forum: Python Jun 8th, 2007 |
| Replies: 1 Views: 1,862 Hello Everyone,
I have to design a treeview like structures in python for a web application.
I need a tool which will help me to design GUI on web.
Like wxPython which is used for... |
Forum: Python Apr 6th, 2007 |
| Replies: 0 Views: 3,967 Hello everyone,
I am trying to run my .psp project on the IIS.But It is giving the some CGI ERROR. I dont know why it is giving such error.
The project is working wee on the Wamp Apache server.
... |
Forum: Python Mar 14th, 2007 |
| Replies: 0 Views: 1,055 Hello everyone,
I am new to python and I want to register and unregister the variables from a session (As we do in PHP using session_register() and session_unregister() function),So that i do not... |
Forum: Python Mar 9th, 2007 |
| Replies: 0 Views: 2,366 Hi,
I am making a site in which I have to run an sql query on the oracle database. I have to take the condition for query from the selected entries in dropdown list i.e. the condition is based on... |
Forum: Python Feb 21st, 2007 |
| Replies: 2 Views: 2,505 Hi Everyone,
I have solved the problem myself.
I used the method given in the following link:-
http://www.geocities.com/foetsch/python/extending_python.htm#dll
In the phase setting up... |
Forum: Python Feb 17th, 2007 |
| Replies: 2 Views: 2,505 Hi,
I am using SWIG to generate the wrapper for python i.e. I am tring to correlate the c++ and python2.4. I am using the windowsXP platform with Visual Studio 2005 Editor and the Turbo... |
Forum: PHP Feb 17th, 2007 |
| Replies: 3 Views: 2,316 Thanks Phaelax,
I got the code sent by you. And now my problem has been solved. |
Forum: PHP Feb 5th, 2007 |
| Replies: 3 Views: 2,316 I am tring to use HTML tags checkbox and textbox along with PHP.
When the checkbox is not checked,the textbox is disable.But when I checked the check box,the textbox should become enabled.
How... |