Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to install regular expressions for Python

I'm still new to installing modules on my computer with windows and python 3.3. I'm trying to install the regular expressions module. I have pip installed on my computer, so I tried "pip install regex" but that created a folder called "pip" in my user folder and there is a text file called "pip". It did not put any files in the site-packages folder like the openpyxl and xlsxwriter modules I already have. I am also having this issue with the urllib module.

like image 491
user2859603 Avatar asked Oct 26 '25 23:10

user2859603


1 Answers

Python already by default comes with a large number of builtin modules. These modules are called the “standard library” and are well documented.

In your case, if you want to use regular expressions, you can use the standard re module. The urllib package is also part of the standard library and offers different modules to perform for example HTTP requests or URL parsing.

like image 150
poke Avatar answered Oct 28 '25 16:10

poke