Hello list
It seems that true understanding must , at times, be painful. Danny
Yoo thank you for not just giving me the answer but rather making me
work for it. Here is how I got the code to run.
1. With my configuration, I need quotes around the values that are to be
placed into the datab
w chun wrote:
> On 2/18/06, Servando Garcia <[EMAIL PROTECTED]> wrote:
>
>> Hello List
>> I am at a complete loss. Here is a recap, just to be clear, I have
>> been unable insert into a database using MySQLdb. I can only view the
>> database.
>>
Hello List
I am at a complete loss. Here is a recap, just to be clear, I have
been unable insert into a database using MySQLdb. I can only view the
database.
My current configuration:
1. Windows XP
2. Python 2.4.2
3 MySQLdb current version
4. mysql 5.0.18-nt
5. DEV-c++ cu
Here is an update concerning my MySQLdb issue.( unable to insert data
into database using Python and MySQLdb)
I have tested the scripts that I posted here on both my Mac and Linux
machines the script functioned as expected, ran without error and
inserted data into database.
It is my conclusion
not a
reply to the list. Please forgive this error it will not happen again.
Servando Garcia
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello to all
I have been trying to insert data into a database using MySQLdb
with no success. I have no idea why this script is not working. I took
it from a tutorial from DEV Shed.
#!/usr/bin/python
import MySQLdb
# connect
db = MySQLdb.connect(host="localhost", user="root",
passwd="*
Hello List
I need to use pylibpcap. I am looking for any documentation at all,
tutorial would be nice.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
My thanks to the list. With your help each day I convert another C++
die hard to python.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello
List it has been a long time.
Here is my question : sam in binary is 01110011 0111 01101101. if given 01110011 0111 01101101 how would I go back to ascii.
I guess am asking is there a module that will do this conversion for me. I have looked at binascii but have been up ab
Hello
Using regular expressions how do I represent Floats.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
blem I am having is, how do I code the Non-Terminals of the BNF. Terminal states like are easy to code using regular expression. Here is my function for state
def t_Letter(self,s):
r"[A-Za-z]+"
self.rv.append(Token('Letter',s))
Servando Garcia
251 Highway 46 N
Sherid
Hello list
How do I read the comments attached to a zipfile or for any
file .?
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello
Is there a increment operator in python similar to c++
like so "SomeVariable++"
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
if __name__ == '__main__':
what is the meaning and importance of this code line. I have been
able to glean some information. When you call a script __name__ is set
to the "Name" of the script called. example: python Hope.py
__name__ = Hope
but why would I want to do this if __n
Hello list
I am on challenge 5. I think I need to some how download a file. I have been trying like so
X=urllib.URLopener(name,proxies={'http':'URL').distutils.copy_file('SomeFileName')
but with no luck.
Servando Garcia
John 3
Thanks to the many hints from the list I have made it to level four, of
the python challenges. Many thanks to all.
I truly have been looking for a solid example to follow on the use of
the URL module. I don't feel am using it correctly or I am not
understanding/using the clue correctly.
Here
Hello list
As you can guess I am working on the riddles. I have looked in vain
for a simple example and or a explanation of the string function
"translate" or even "maketrans"
Can someone please send me a working example,please.
thanks
_
Hello everyone
Thank you for the quick response to my last request. Here is an update, the program I am writing takes three values from the user than produces the source code for another program.
THE PROBLEM:
I needed to prompt the user for three values. I used input() like so M= input("Matrix=")
Hello and thanks in advance.
I am trying to prompt the user for some input. I need three values
from the user so,I used input() like so;
Matrix = input("Matrix=")
error=input("error=")
alpha= input("alpha=")
using Macpython it works fine but when I use a terminal all I get is
a blank line. Wh
19 matches
Mail list logo