โ“ Help Code expert jan patulong

Status
Not open for further replies.

Infinity143

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

Online now

Members online
1,109
Guests online
14,883
Total visitors
15,992

Forum statistics

Threads
2,363,067
Posts
29,418,962
Members
1,053,523
Latest member
Krakenwin27
Back
Top