Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~8K People Reached
Favorite Tags
Member Avatar for thanadaray

At first, I have "C:/test02.txt" too good positive a film for stunt scheduling i think objective My codes with open('C:/test01.txt') as words: ws = words.read().splitlines() with open('C:/test02.txt') as file_modify4: for x in file_modify4: sx = map(str.strip, x.split("\t")) ssx = sx[0].split(" ") ## list for w in ssx: if w in …

Member Avatar for Lucaci Andrew
0
128
Member Avatar for thanadaray

... <?php $sql_display_words="SELECT * FROM Data1stWord"; while($row = mysql_fetch_array($sql_display_words)) { $ID = $row['ID']; $Word = $row['Word']; ?> <td><?php echo $ID ?></td> <td><?php echo $Word ?></td> <?php } ?> ... I tried to display data from database (Id and word) in table but it show blank in my table. Did I …

Member Avatar for rajengg
0
88
Member Avatar for thanadaray

I am trying to update into table if score > 0 but nothing display into table. if score > 0: note = "more" update = "UPDATE Sentence SET Note = %s WHERE score = %s" c.execute(update, (note[0], score)) Did I miss something?

Member Avatar for thanadaray
0
80
Member Avatar for thanadaray
Member Avatar for thanadaray

import MySQLdb import csv import sys db = MySQLdb.connect("host","username","password","dbname" ) c = db.cursor() select_pos_score = 'SELECT score FROM Sentence' c.execute(select_pos_score) I use MySQLdb. I want to display all score that are selected from table "Sentence" but I do not know how to display it. Any suggest for me to display …

Member Avatar for thanadaray
0
92
Member Avatar for thanadaray

How to check if table exist? **I would like to check if table exist then drop table. If not exist, create table.** My codes at this moment: import MySQLdb, csv, sys db = MySQLdb.connect("host","username","password","databasename" ) # prepare a cursor object using cursor() method c = db.cursor() # Drop table if …

Member Avatar for vegaseat
0
8K