and then file 2 ?
2) How to I acheive
so in this case file1 Start: Fri Feb 23 01:10:28 2018
End time : Fri Feb 23 01:10:58 2018
check in file 2 nearest to file1 end time : 02/23/18 01:10:33
Thanks in advance,
--
Asad Hasan
+91 9582111698
--
Asad Hasan
+91 9582111698
Here is my view.py
import os.path
import commands
def call_report(request):
a = commands.getstatusoutput('/usr/local/freeswitch/bin/fs_cli -x "show
calls"')
return HttpResponse(a)
When i run this command it gives output which you can see...
0uuid,direction,created,created_epoch,nam
def Test(request):
save_path = '/usr/share/newfies/'
name_of_file = ("Avatar")
completeName = os.path.join(save_path, name_of_file+".xlm")
file1 = open(completeName, "w")
toFile = raw_input("Write what you want into the field")
file1.write(toFile)
file1.c
On Monday, February 9, 2015 at 1:50:58 PM UTC+5:30, Ryan Stuart wrote:
> Hi Asad,
>
> Is there any reason why you can't just use profile/cProfile? In particular,
> you could use the api of that module to save out the profile stats to an
> external file with a unique name a
I have a Flask application where I run a specific task asynchronously using
Celery. Its basically parsing some HTML and inserting data into a Postgres
database(using SQLAlchemy). However, the task seems to be running very slowly,
at 1 insert per second.
I'd like to find out where the bottleneck
Hi All ,
I have started leaning Python through web . Would like to know if
I should follow any book so that basics become clear with examples also
want to know like in perl i use to invoke perl -d to get a debugged output
is there any option in python.
THanks,
--
http://mail.python.org/
Well, even if you are a hobbyist, that does not excuse you from being
civil. After all, we are all humans beings that deserve to be treated with
respect. Professional, hobbyist, vagabond, ogre, instigator, troll ...
THERE IS NO EXCUSE ... please treat others with respect.
- Asad
On Thu, 28 Jul
What, do you not consider yourself a professional? Just because you are in
academia does not justify attacking people on a mailing list and then
justifying your attack with Harter's quote! Life is more than a quote -
look outside your academic cocoon and you will realize what I mean.
- Asad
I agree with Mustafa. After all, we are a bunch of professionals and not
vagabonds hired to take pot shots at one another.
- Asad
On Thu, 28 Jul 2005, mustafa wrote:
> Rocco Moretti wrote:
> > projecktzero wrote:
> >
> >>but..but...It's so much more fun to unl
similar to C? Any help would be appreciated.
Thanks.
- Asad
--
http://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo