Files
freeCodeCamp/curriculum/challenges/arabic/23-python-for-everybody/python-for-everybody/networking-using-urllib-in-python.md
2024-01-24 19:52:36 +01:00

679 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f0d0b6c005b0e76f075 الشبكات: استخدام urllib في البايثون 11 7lFM1T_CxBs
aid bvid cid
546908270 BV1Xq4y1H7e6 377331524
networking-using-urllib-in-python

--question--

--text--

What will the output of the following code be like?:

import urllib.request
fhand = urllib.request.urlopen('http://data.pr4e.org/romeo.txt')
for line in fhand:
    print(line.decode().strip())

--answers--

فقط محتويات "romeo.txt".


رأس ومحتوى "romeo.txt".


رأس، تذييل ومحتويات "romeo.txt".

--video-solution--

الأول