Hello Sir/Mam,
I am trying to Download audios & videos using web scraping from news website
(eg: https://www.bbc.com/news/video_and_audio/headlines) or Facebook & I
could't. So in real scenario is it really possible to download audios/videos
using python code ?
Thanks & Regards
_
On 14/06/2019 07:35, Sijin John wrote:
> I am trying to Download audios & videos using web scraping from news website
> (eg: https://www.bbc.com/news/video_and_audio/headlines) or Facebook & I
> could't.
> So in real scenario is it really possible to download audios/videos using
> python code ?
On Fri, Jun 14, 2019 at 11:35:53AM +0500, Sijin John wrote:
> I am trying to Download audios & videos using web scraping from news
> website (eg: https://www.bbc.com/news/video_and_audio/headlines) or
> Facebook & I could't. So in real scenario is it really possible to
> download audios/videos
I'm trying to use os.is_dir, but I'm not finding it or os.is_file.
What am I missing here?
Python 3.8.0b1 (tags/v3.8.0b1:3b5deb01, Jun 13 2019, 22:28:20)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
:>>> import os
:>>> print(os.__dict__.keys())
dict
On 14/06/2019 15:53, Tom Hale wrote:
> I'm trying to use os.is_dir, but I'm not finding it or os.is_file.
I've never heard of these functions, but I'm still on v3.6, never
having found a reason to upgrade. So I assume...
> Python 3.8.0b1 (tags/v3.8.0b1:3b5deb01, Jun 13 2019, 22:28:20)
...these
Tom Hale wrote:
> I'm trying to use os.is_dir, but I'm not finding it or os.is_file.
>
> What am I missing here?
Scroll up a bit in the documentation:
https://docs.python.org/3.8/library/os.html#os.DirEntry
Both is_file() and is_dir() are methods of the DirEntry object.
See also
https://docs
On 6/14/19 12:35 AM, Sijin John wrote:
> Hello Sir/Mam,
> I am trying to Download audios & videos using web scraping from news website
> (eg: https://www.bbc.com/news/video_and_audio/headlines) or Facebook & I
> could't. So in real scenario is it really possible to download audios/videos
> usin
All,
I am not sure how to tackle this issue. I am using Windows 10 and Python 3.6
from Activestate.
I have a list of x number of elements. Some of the elements are have similar
words in them. For example:
Dog food Pal
Dog Food Pal qx1323
Cat food kitty
Absolute cleaning inv123
Abs
All,
In C, Perl and other languages. While only uses a conditional statement and
for uses an iteration. In python while and for seems to be the same and I
cannot see the difference. Python does not have an until (do while) where
the test is done at the end of the loop. Permitting a once through