❓ Help Code expert jan patulong

Status
Not open for further replies.

Infinity143

Eternal Poster
with open('/storage/emulated/0/qpython/scripts/token.txt') as f:
tokens = f.read().splitlines()
print('Tokens loaded...')
f.close()




pa tulong nga ko anu ibigsabhin ng f jan tapos ng as kung anu function niya 🙏😞
 
diba kung mag aasign kangvariable directly nayun? Ex. X = something kasi jan kasama function ng with open
😞
di komagets
pwedi rin
f=open('/storage/emulated/0/qpython/scripts/token.txt','r')

yung with kasi python 2 syntax yun pwedi rin gamitin mo sa python3 safe kasi sya kasi di muna kailangan e close yung file. auto close na kasi siya

basahin mo to
You do not have permission to view the full content of this post. Log in or register now.

o kaya manoud ka ng video tungkol sa python file i/o para maintindihan mo dami namang video nag nag kalat diyan.
suggest ko sayu nanoud ka ng tutorial sa python , nagawa ni tim buchalka
 
Status
Not open for further replies.

About this Thread

  • 8
    Replies
  • 234
    Views
  • 4
    Participants
Last reply from:
bunay_o7

Trending Topics

Online now

Members online
1,097
Guests online
994
Total visitors
2,091

Forum statistics

Threads
2,273,737
Posts
28,951,203
Members
1,234,937
Latest member
katakat
Back
Top