❓ 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
  • 242
    Views
  • 4
    Participants
Last reply from:
bunay_o7

Trending Topics

Online now

Members online
915
Guests online
4,277
Total visitors
5,192

Forum statistics

Threads
2,310,316
Posts
29,164,130
Members
1,189,133
Latest member
CHADDYx
Back
Top