V.C.Sekhar wrote:
>Hi there,
> I couldnt get to do the following task using Python. Can some pls
>suggest me a way to do this.
>
>I have an array with duplicate strings filled in it. Now am looking for
>a way to extract only the DISTINCT Values from that array.
>
>Could some one pls help me ou
>google for logix site:pythonware.com He's announced plenty non-python
>stuff that is of interest to python users, including plenty of marketing
>for his own software.
>
>
IMHO, Pythonware.com does not have to be about python. It can be
anything the maintainer want it to be.
Get the point
import datetime
print datetime.datetime.now()
Sara Khalatbari wrote:
>Is there a Module in Python that gives you the time &
>date of today???
>
>
>
>
>__
>Do you Yahoo!?
>Make Yahoo! your home page
>http://www.yahoo.com/r/hs
>
>
--
http://mail
>
>Why doesn't work the next statments?
>
>
You talk like Yoda..
>import datetime
>
>today = datetime.date.today()
>
>and I get the next error:
>
>today = datetime.date.today()
>Traceback (most recent call last):
> File "", line 1, in ?
>AttributeError: time
>
>I can't understand it!
>
>
U
Try
cursor.execute (
"""
SELECT name, month, day ,category, city FROM bday
WHERE %s = %s
"""
%(arg1,arg2))
Jeff Elkins wrote:
>I'm attempting to pass an SQL query via the console:
>
>$ ./getbd month 05
>
>The arguments get seem to passed correctly (via print statements) and then:
>
>cu
*argh* You don't do any quoting of SQL-parameters, and that's more than bad!
(leaves you up to the mercy of SQL-injection attacks, for example)
I'm aware of the issue. But I think the one who start this question is
too naive to explain anything more complex.
Just give him a hint for fur
Does c++ call base class constructor automatically ??
If I'm not wrong, in c++ you also have to call base class constructor
explicitly.
Python just do not enforce the rule. You can leave it as desire.
BTW, I've once been an C++ expert. Knowing python kill that skill.
However, I'm not regret. I
Wow.. Andrew Koenig.. I found your name in many c++ books I read. Never
know you are hanging around in python python mailing-list.
(or perhaps python newsgroup, whatever it is)
Thanks for the explanation.
Andrew Koenig wrote:
>"Sakesun Roykiattisak" <[EMAIL PROTECTED]> wrot
wooks wrote:
>I thought that posting a link that contained the word ebay and a
>subject title of Python Developers Handbook conveyed all the relevant
>information and didn't want to patronise the NG.
>
>I have had 110 hits on the item but seem to have upset 3 people.
>
>
>I am sorry. I don't hav
>What's being ignored is that type information is useful for other things
>than compile type checking. The major case in point is the way IDEs
>such as IntelliJ and Eclipse use type information to do refactoring, code
>completion and eventually numerous other things. A Java programmer
>using Intel
10 matches
Mail list logo