Soluții

Download Instagram Posts using Python Selenium module

In this article, we will learn how we can download Instagram posts of a profile using Python Selenium module. Requirements:

  • Google Chrome or Firefox
  • Chrome driver(For Google Chrome) or Gecko driver(For Mozilla Firefox)
  • Selenium package: It is a powerful tool for controlling a web browser through the program. It is functional for all browsers, works on all major OS and its scripts are written in various languages i.e Python, Java, C#, etc. In can installed using the below command:
    pip install selenium
[mai mult...]

Python – Opening links using Selenium

Selenium is a powerful tool for controlling the web browser through the program. It is functional for all browsers, works on all major OS and its scripts are written in various languages i.e Python, Java, C#, etc, we will be working with Python. Selenium Python bindings provide a convenient API to access Selenium WebDrivers like Firefox, Ie, Chrome, Remote, etc.

[mai mult...]

Golire fisiere Linux

Pentru a goli fișiere în Linux, există mai multe metode simple și eficiente. De exemplu, poți păstra structura fișierului (adică fișierul rămâne prezent pe disc) dar să elimini conținutul său. Acest lucru este util când vrei să golești un fișier mare fără a-l șterge și recrea.

[mai mult...]

Manipulating Windows Registry using winreg in Python

As Windows Registry is a very sensitive place to do anything, do not change any value predefined by the Windows System. This article will just be for learning purposes of how Python can be used to create some new registry keys with user-defined values. Windows registry can be used for different purposes, it can be accessed via typing regeditin the Run application.

[mai mult...]