questions/python
Hi@akhtar, It seems your python script is not ...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
You can use str.isalpha() For example: s = 'a123b' for ...READ MORE
Hi, @Imthiii, Try removing the bracket you have ...READ MORE
Hello @Nishant, The error you got itself suggest ...READ MORE
Using the default CSV module Demo: import csv with open(filename, "r") ...READ MORE
Hi, @Edureka Are you facing this above mentioned ...READ MORE
Hi, @XYZGOD, Python has a built-in input() function that accepts user-generated ...READ MORE
If you are running Python 3.5 you ...READ MORE
Hello, A function that returns True for an integer number (int or ...READ MORE
Run with Python 3 from the command ...READ MORE
To install requests module on Debian/Ubuntu for Python2: $ sudo ...READ MORE
Install Xcode and Xcode Command Line Tools ...READ MORE
All you have to do is: sudo easy_install ...READ MORE
Honestly, as long as you have the ...READ MORE
This error occurs because you are using ...READ MORE
Hello @moli, You can easily optimize this code ...READ MORE
Hello, The error itself explain what's the problem.In ...READ MORE
Least Significant Bit (LSB) is a technique in which ...READ MORE
Hi@MUHAMMAD, You are trying to pass State in ...READ MORE
Hi@MUHAMMAD, I tried to run the exact code ...READ MORE
Hello @Sana, Lines 3, 6-8 look very sketchy.Here ...READ MORE
I resolved this issue using AWS Glue ...READ MORE
Hello, You can do it by using find_elements_by_xpath() driver ...READ MORE
Try using this code snippet to resolve ...READ MORE
Hey, @Archisman, in case of this: with sr.Microphone as ...READ MORE
Hello @ kapil, For your query you can refer ...READ MORE
Hello @kapil, A split plot design is a ...READ MORE
Hello @mahesh, First you have to fetch user ...READ MORE
Hello @kartik, Try use: response = self.client.post('/foo/') messages = list(response.context['messages']) self.assertEqual(len(messages), ...READ MORE
Hello @kartik, Django provides an utility function to ...READ MORE
Hello, Try this: return HttpResponse(status=204) Hope it works!! ...READ MORE
Hello @kartik, See the Changing passwords section Navigation to your project ...READ MORE
Hello @kartik, The error caused when you try ...READ MORE
Hello @kartik, The first thing to do is ...READ MORE
Hello @kartik, You missed the models - and ...READ MORE
Hello @kartik, You can debug a custom Django ...READ MORE
Hello @kartik, The correct way to create a ...READ MORE
Hello @kartik, You don't need to overwrite or ...READ MORE
Hi@akhtar, Strings can be reversed using slicing. To ...READ MORE
Hi@akhtar, Starting from IPython 3 (now Jupyter project), ...READ MORE
Hi@akhtar, There is no simple way to import ...READ MORE
Hello @kartik, The simplest way to include the {{csrf_token}} value ...READ MORE
Hello @kartik, Simple you can use this code: class ...READ MORE
Hello @kartik, For Django >= 1.8 you can ...READ MORE
Hello @kartik, You'll notice that password_reset takes a named parameter ...READ MORE
Hello @kartik, Expire the session on browser close ...READ MORE
Hello @kartik, You can just show both forms ...READ MORE
Hello @kartik, For Django 1.7+, you should use form.add_error() instead ...READ MORE
Hello @kartik, Here is how to do Basic ...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.