473,473 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to delete an entry in Python 3.7.0

1 New Member
In below entry I missed the quotation mark after name.txt. How to go back and put it.

>>> file = open('name.txt, mode='w')

It should be like below

>>> file = open('name.txt', mod='w')

Thanks
Aug 18 '18 #1
1 1877
zmbd
5,501 Recognized Expert Moderator Expert
Sekouga,
Open the editor and add the quote?

Your question really doesn't make sense.
Aug 18 '18 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

21
by: Boris Genc | last post by:
Hi everybody. I was wandering is there a method or a function already implemented in python that supports secure deletion of data? I'm interested in something which is able to securely wipe data...
9
by: Jack | last post by:
Installing a Python package is easy, most of time just "Setup.py install" However, setup.py doesn't seem to support an uninstall command. If I want to delete a package that I do not use any more,...
3
by: alexdiong | last post by:
Dear all, I am running a classified ad web. My programmer designed a web for me to allow members to imput ads. As a webmaster, how do I remove this ad. I tired deleting the entry from .mdb file...
4
AnuSumesh
by: AnuSumesh | last post by:
Hi I want that if user is logged in on one machine and trying to log in another machine also then he should not be allowed to log in again. For that-- i am creating Dictionary object on...
18
by: Adam Tippelt | last post by:
This thread has two questions, however they are linked around the same area and solving one may solve the other: A) I've created a form for adding different records, complete with a subform for...
8
by: James | last post by:
Hi guys. I have an admin section on my website and I would like to display a question asking the user if they would really like to delete a record once clicked. I am using PHP and MySQL to delete...
4
by: AbbasBD | last post by:
I want to delete entry in table where linked table has no record. Statement is - ----------- DELETE .* FROM WHERE (((.BuyInvcID) In ( SELECT . FROM WHERE . Is Null )));
1
by: JeanxPlay | last post by:
I'm trying to get my delete button in my GUI to work but its not wanting to work the way it needs to. its suppose to remove my current selected ArrayList item from the list but all it does is move to...
2
by: carlos25 | last post by:
I'm looking for a simle form to delete the entry content after pushing a button, in the next link the solution for the code works (verified it), after read that i try it, but it doesn't work for me ...
3
by: YangToday | last post by:
Hi All, Right now I have a User Entry form, and it has 4 bounded text boxes form users to enter information. I created an addition combo box for with option "Yes", "Reject", and "Delete". The...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.