questions/python
This is because join is a "string" ...READ MORE
A raw string literal opens with a sequence of ...READ MORE
You can use the following: python yourfile.py You have ...READ MORE
Hii, The easiest way is to use shutil.make_archive. It ...READ MORE
Hi, @Ghazala, What is your exact query here? ...READ MORE
use lower() for lowercasing.example: "ALIREZA".lower() > ...READ MORE
to delete a file import os os.remove('filename') this will delete ...READ MORE
I don't know if you still need ...READ MORE
The general pattern is str.split(search).join(replacement) This used to be ...READ MORE
from selenium import webdriver import time query = ('maps') if ...READ MORE
In cases when we don’t know how ...READ MORE
I got a lot of errors with ...READ MORE
The map() function in Python takes in ...READ MORE
Hi, @Hari, Are you facing any error while ...READ MORE
You can make use of this: ^(?=.*[a-zA-Z])(?=.*\d)(?=.*[!@#$%^&*()_+])[A-Za-z\d][A-Za-z\d!@#$%^&*()_+]{7,19}$ [A-Za-z\d] Ensures that ...READ MORE
well i think the sapi5 is not ...READ MORE
Hi, You can try slice operator mylist[::3] to skip across to ...READ MORE
Hi, First thing YAML and JSON are not ...READ MORE
Hi@akhtar, You can rearrange a DataFrame object by ...READ MORE
Hi @Neel, try this script: reservations = conn.get_all_instances(instance_ids=[sys.argv[1]]) instances ...READ MORE
I have ported the Python interpreter to ...READ MORE
Tkininter comes with the columnspan argument to span the labels ...READ MORE
shutil has many methods you can use. One ...READ MORE
is it possible to take screenshot of ...READ MORE
No, .replace() does not support regex. Regular expressions ...READ MORE
df_subset looks like this: ...READ MORE
Python allows you to encode the source ...READ MORE
can use numpy.reshape. In your case, pass 1 ...READ MORE
Execute the following command on your terminal: python ...READ MORE
you can also check http://letsfindcourse.com/python for best ...READ MORE
To report a bug, you can use the ...READ MORE
It appears that a write() immediately following a read() on a ...READ MORE
Memory management in python involves a private heap ...READ MORE
The % (modulo) operator yields the remainder ...READ MORE
How to read and generate QR codes ...READ MORE
Please go through this code. This should ...READ MORE
key is just a variable name. for key in ...READ MORE
Pandas should be used when you are ...READ MORE
You have to define which type of ...READ MORE
You can replace the three loops with: from ...READ MORE
If the strings you are concatenating are ...READ MORE
I would change the wording. Often in ML, ...READ MORE
The scope of an alias command is the shell ...READ MORE
First, write the data in a csv file. Then ...READ MORE
In Python 2, use urllib2 which comes ...READ MORE
you can check the version of python ...READ MORE
Suppose you have 3 dataframes named df1, ...READ MORE
Hi. Nice question. Here is the simplified answer ...READ MORE
You're using Python 2.x, where integer divisions ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.