'Sunday December 9 2012 7:00pm ', 'Friday November 9
2012 6:00pm ', \
'Friday November 9 2012 7:00pm ', 'Friday November 9
2012 7:00pm ']
final_event_time = [datetime.strptime(iterable, '%A %B %d %Y %I:%M%p') for
iterable i
.
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-3156
--
http://mail.python.org/mailman/listinfo/python-list
; When i am using this it is sometimes giving me five digit and sometimes 6
>> . I want to avoid encryption . Can i have alphanumeric 6 digit random
>> number from this .
>>
>> Thanks in advance
>>
>> --
>> Regards
>> Nikhil Verma
>> +91-958-273-
:
> * Nikhil Verma [2012-03-26 08:49]:
> > Hi
> >
> > I want something to achieve like this :-
> >
> > def random_number(id): # I am passing it from request
> > # do something
> > return random_number
> >
> > Output
> >
> &
Thanks Shashank . It worked.
On Tue, Apr 10, 2012 at 11:34 AM, Shashank Singh <
shashank.sunny.si...@gmail.com> wrote:
>
>
> On Mon, Apr 9, 2012 at 10:49 PM, Nikhil Verma wrote:
>
>>
>> for_patient_type = {37: u'Test', 79: u'Real', 80: u
my concept
which i just forgot.
On Tue, Apr 10, 2012 at 12:54 PM, Shashank Singh <
shashank.sunny.si...@gmail.com> wrote:
>
>
> On Tue, Apr 10, 2012 at 12:16 AM, Dave Angel wrote:
>
>> On 04/10/2012 02:04 AM, Shashank Singh wrote:
>> > On Mon, Apr 9, 2012 at 10:49
en GI Monday AM, May 7
Pancreas Tuesday PM, May 8
How can achieve AM and PM also ? with this datetime object
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-3156
--
http://mail.python.org/mailman/listinfo/python-list
Thanks
On Wed, May 2, 2012 at 8:27 PM, Chris Rebert wrote:
> On Wed, May 2, 2012 at 7:49 AM, Nikhil Verma
> wrote:
>
> > def __unicode__(self):
> > return "%s %s" % (self.name, self.date_created.strftime("%A %B
> %d"))
> >
> &g
pple'
What i want is some i pass keys in get and in return i should have all the
values of those keys which i pass.
##
mydict.get('a','b','c')###demo for what i want
'apple','boy','cat'### Output i want
#
--
Regards
Nikhil Verma
+91-958-273-3156
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Arnaud
List comprehension method really works nicely.sorry for late reply.
On Mon, May 7, 2012 at 7:10 PM, Arnaud Delobelle wrote:
> On 7 May 2012 12:31, Nikhil Verma wrote:
> > HI All
> >
> > I was clearing my concepts on dictionary and stuck in this
like this "Kkrgt56r"
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-3156
--
http://mail.python.org/mailman/listinfo/python-list
-- Forwarded message --
From: Chris Angelico
To: python-list@python.org
Cc:
Date: Wed, 9 May 2012 17:44:00 +1000
Subject: Re: tweaking random number
On Wed, May 9, 2012 at 5:01 PM, Nikhil Verma
wrote:
> Hi All
>
> I want to generate a random number of 8 digits which involve 3 number and
Neuropancreatic')('21 May monday AM Neuropancreatic')('28 May monday AM
Neuropancreatic'),
('8 May tuesday PM Cardiovascular'),('15 May monday AM
Neuropancreatic'),('22 May monday AM Neuropancreatic'),('29 May monday AM
Neuropancreatic')]
Th
string let say
date_created = '11 May Friday PM '
and i want to convert it into datetime object like this
datetime.datetime(2012, 5, 11, 4, 12, 44, 24734)
Thanks in advance. Any help will be appreciated
--
Regards
Nikhil Verma
+91-958-273-3156
--
http://mail.python.org/mailman/listinfo/python-list
Hey guys
What is the most optimal and pythonic solution forthis situation
A = [{'person_id': '1', 'adop_count': '2'}, {'person_id': '3',
'adop_count': '4'}]
*len(A) might be above 10L*
B = [{'person_id': '1', 'village_id': '3'}, {'person_id': '3',
'village_id': '4'}]
*len(B) might be above 20L*
Just editing the count it was from Indian place value notation.
-- Forwarded message --
From: Nikhil Verma
Date: Thu, Dec 1, 2016 at 12:44 PM
Subject: Merge Two List of Dict
To: python-list@python.org
Hey guys
What is the most optimal and pythonic solution forthis situation
16 matches
Mail list logo