Python Forum
write in a distant file, code improvement with a list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
write in a distant file, code improvement with a list
#8
the program get exactly what I want. but when the program write, he write the variable (here is "b") and the the value between "" and he write all the value in one line.
I need just to print the value
example: the value in the fisrt line is 16, the program have no trouble to do that. but when he write the value, he write the var and the value between "", was result that b"16". the problem is I just need the value, not the var where is stock the value. and other problem was I need to write each value in diferent line, not the same. eventualy, the final problem will be to increment the line, but I know how I will do that.
Reply


Messages In This Thread
code improvement - by lateublegende - Feb-19-2019, 04:02 PM
RE: write in a distant file, code improvement with a list - by lateublegende - Feb-28-2019, 05:30 PM
RE: code improvement - by ichabod801 - Feb-19-2019, 07:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Any suggestions for improvement?(my first python code) PyAlex 9 6,104 Sep-08-2018, 06:45 PM
Last Post: PyAlex

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020