line tag

53 questions


1 answers
73 views
0
How do I get rid of the last message on Python?

How do I get rid of the last message on Python?Let me know something easy

2 years ago

1 answers
89 views
0
Question! I'm going to write a list element in the file

You are about to write a list element to a file. For example, #PythonFilemylist = [hello, 3]file = open(myfile.txt, w)file.writelines([%s\n % item for item in mylist])When you run myfile.txthello3Let'...


1 answers
105 views
0
To clear a line break from a file

How do I get rid of all line breaks when I read a text file in Java? String text = readFileAsString(textfile.txt);text.replace(\n, );I tried it like this, but it didn't work.


1 answers
59 views
0
Read only certain lines (Python)

I'm using loop to read files, but I want to read only certain lines (e.g. #26 or #30). Is there a built-in feature to make this possible?Thank you.

2 years ago

1 answers
123 views
0
How to make open characters work when you render a string stored in the HTML raw(?) database.

The development environment is node.js and express.Using ejs template.Stored in database Hello.<br>Testing.How do I load a string so that the tag works when I print it out to my browser?Browser ...


1 answers
80 views
0
Java Text File String Open Character Processing Question

Currently, I'm planning to read and process characters from a text file (using bufferedreader)I'm good at getting single-line ones, but if there's an opening character in the middle, is there any way ...


2 answers
158 views
0
If \n is added when creating a new file after reading the Python file readline

Code to create a new file called test.csv by reading a file called test.csv. Delete the other parts and upload only the problematic parts. As a result, I solved it in a different way, but I have a que...

2 years ago

1 answers
156 views
0
I want to write a code that ends when I enter the Python while door, how can I implement it?

n = input('Enter the student's name and grade)\nExample) David 537548 :')while n=='\n': n1,n2,n3,n4 = n.split() n2 = int(n2) n3 = int(n3) n4 = int(n4) L.append(n1) M.append([n2,n3,n4]) Avg.append(int(...


2 answers
138 views
0
There is a difference between the typography settings in Photoshop and the CSS rendered on the browser.

Designers usually hand over PSD files with the guidelines in placeIf CSS is applied based on that guideline, it seems to come out a little different in the actual browser.Is there any know-how to make...


1 answers
117 views
0
Please tell me how to get a long Java string (including spacing) and get an int and a string againㅠ n Error in nextLine()

//Using the Scanner class // Name, age, height, weight (up to decimal point 2), city, address (must be received even after spacing), and single status //print it outimport java.util.Scanner; public cl...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.