Python Forum
"." to "," when writing to .txt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"." to "," when writing to .txt
#9
Evil

I have been trying that.... only with a "," in between format and replace.... (over 14 hours and now it works....)

print >> d, dt_string,'{:.1f}*C' .format(t), .replace('.', ',')
Heart
Reply


Messages In This Thread
"." to "," when writing to .txt - by Lullaby - Jun-11-2021, 11:34 PM
RE: "." to "," when writing to .txt - by Lullaby - Jun-12-2021, 08:22 PM
RE: "." to "," when writing to .txt - by Lullaby - Jun-12-2021, 09:45 PM
RE: "." to "," when writing to .txt - by bowlofred - Jun-12-2021, 09:59 PM
RE: "." to "," when writing to .txt - by Lullaby - Jun-12-2021, 10:47 PM
RE: "." to "," when writing to .txt - by Lullaby - Jun-12-2021, 10:59 PM

Forum Jump:

User Panel Messages

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