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

Trending Topics

Online now

Members online
1,140
Guests online
1,491
Total visitors
2,631

Forum statistics

Threads
2,295,264
Posts
29,096,901
Members
1,206,764
Latest member
brunosm
Back
Top