What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-25 13:29:08
create gui applications with python
from tkinter import * import time Student_forum=Tk() Student_forum.title("student form") Student_forum.geometry('390x400') Roll_ask = Label(Student_forum,text="Roll Number") Roll_ask.pack() Roll = Entry() Roll.pack() name_ask = Label... Add solution -
Python 2021-09-17 21:09:02
editing specific line in text file in python
# with is like your try .. finally block in this case with open('stats.txt', 'r') as file: # read a list of lines into data data = file.readlines() print data print "Your name: " + data[0] # now change the 2nd line, note that you have ... Add solution
Best helpers
Ranking is empty