Python Forum
Can't write to .txt after opening websocket
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't write to .txt after opening websocket
#4
file1=open("Slist.txt","a")

gives me:
TypeError: 'str' object is not callable
Reply


Messages In This Thread
RE: Can't write to .txt after opening websocket - by gerald - May-03-2022, 09:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send a pong on websocket-client tomtom 0 3,986 Aug-15-2022, 05:58 AM
Last Post: tomtom
  asyncio calls within sync function ( Websocket on_open) orion67 0 1,507 Jan-16-2022, 11:00 AM
Last Post: orion67
  Help with WebSocket reading data from anoter function korenron 0 1,399 Sep-19-2021, 11:08 AM
Last Post: korenron
  opening a file from a windows desktop folder- error opening file Charan007 1 3,055 Dec-06-2018, 11:50 AM
Last Post: buran
  Data through a websocket darkknight 1 2,501 Sep-28-2017, 08:00 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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