Message from Python discussions

November 2018

— Https://www.python.org/

— 

Tick the statements which you feel you CAN do comfortably. Prioritise the statements you did not tick, which are
the 5 most important for you to achieve?


LISTENING
I can understand in detail what is said to me in standard spoken language.
I can with some effort catch much of what is said around me, but may find it difficult to understand a discussion between
several speakers who do not modify their language in any way.
I can follow TV drama and the majority of films in standard dialect.

SPOKEN INTERACTION
I can take an active part in conversation, expressing clearly my points of view, ideas or feelings naturally with effective
turn-taking.
I can evaluate advantages & disadvantages, and participate in reaching a decision in formal or informal discussion.
I can make a complaint effectively, explaining the problem and demanding appropriate action.
I can use the telephone to find out detailed information, provided the other person speaks clearly, and ask follow up
questions to check that I have understood a point fully.

SPOKEN PRODUCTION
I can give clear, detailed descriptions on a wide range of subjects related to my fields of interest.
I can develop a clear argument, linking my ideas logically and expanding and supporting my points with appropriate
examples.
I can summarise orally the plot and sequence of events in a film or play.
STRATEGIES

I can use standard phrases like "That’s a difficult question to answer” to gain time and keep the turn while formulating
what to say.
I can help a discussion along on familiar ground confirming comprehension, inviting others in, etc.
I can generally cover gaps in vocabulary and structure with paraphrases.
I can generally correct slips and errors if I become aware of them or if they have led to misunderstandings. I can make
a note of "favourite mistakes” and consciously monitor speech for them.
QUALITY OF LANGUAGE
I have a sufficient range of vocabulary to vary formulation and avoid repetition when expressing myself on matters
connected to my field and on most general topics.
I can communicate with reasonable accuracy and can correct mistakes if they have led to misunderstandings.
I can produce stretches of language with a fairly even tempo; although I can be hesitant as I search for expressions,
there are few noticeably long pauses.
I can sustain relationships with native speakers without unintentionally amusing or irritating them or requiring them to
behave other than they would with a native speaker.

— Thanks

— Can we use MS-SQL in Python ?

— Import mysql.connector

mydb = mysql.connector.connect(
host="localhost",
user="root",
passwd="",
database="mydatabase"
)

mycursor = mydb.cursor()
sql = """INSERT INTO EMPLOYEE(FIRST_NAME,
LAST_NAME, AGE, SEX, INCOME)
VALUES ('Mac', 'Mohan', 20, 'M', 3000)"""
mycursor.execute(sql)
mydb.commit()
print(mycursor.rowcount, "record inserted.")
mydb.close()

Message permanent page

— How can i modify this code to user input given

— Can you please tell me

— Use string formattor, like %s

— I m working now in pymysql .....how can i modify this code to user input given .,,,,,,,,

— cursor.execute("INSERT INTO test VALUES ('Number', %s)", (input(),))

— When we run the code user can given input and store the values in mysql

— input()