Hi,
I got a problem and hope your gurus can show me some clues.
I run python on an embedded ARM system. Everything is fine except that it
seems every program need 3s+ time to load -- I mean it took 3s before executing
the first line of every program.
I run strace but cannot identify the true
On Fri, 24 Apr 2015 01:51 am, brokolists wrote:
> my problem is i m working with very long float numbers and i use
> numberx =float(( input( 'enter the number\n ')))
> after i use this command when i enter something more than 10 or 11 digits
> it uses like 1e+10 or something like that but i have t
On 21 April 2015 at 16:53, Paulo da Silva
wrote:
> On 21-04-2015 11:26, Dave Angel wrote:
>> On 04/20/2015 10:14 PM, Paulo da Silva wrote:
>>> I have program that generates about 100 relatively complex graphics and
>>> writes then to a pdf book.
>>> It takes a while!
>>> Is there any possibility o
Greetings, anyone using micro python or Jaltek System's pyboard designed
to run it?
http://micropython.org/
Cheers,
marcus
:)
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Apr 23, 2015 at 9:51 AM, brokolists wrote:
> my problem is i m working with very long float numbers and i use
> numberx =float(( input( 'enter the number\n ')))
> after i use this command when i enter something more than 10 or 11 digits it
> uses like 1e+10 or something like that
> but i
Albert-Jan Roskam wrote:
Just had to share this:
https://youtu.be/CDeG4S-mJts
"Linus had a a weekend coding binge, jacked
up on blow in Vegas".
Sounds pretty accurate.
--
https://mail.python.org/mailman/listinfo/python-list
my problem is i m working with very long float numbers and i use
numberx =float(( input( 'enter the number\n ')))
after i use this command when i enter something more than 10 or 11 digits it
uses like 1e+10 or something like that
but i have to calculate it without scientific 'e' type. what can i d
Here is an old one I wrote. Good for small collections of documents and
uncomplicated queries.
https://github.com/jackdied/boolmatch
-Jack
On Thu, Apr 23, 2015 at 10:50 AM, wrote:
> Dear Group,
>
> I want to do the Boolean search over various sentences or documents.
> I do not want to use spec
On Thu, Apr 23, 2015 at 6:34 AM, Cem Karan wrote:
>
> On Apr 23, 2015, at 1:59 AM, Steven D'Aprano <
> steve+comp.lang.pyt...@pearwood.info> wrote:
>
> > On Thursday 23 April 2015 11:53, Cem Karan wrote:
> >
> >> Precisely. In order to make my simulations more realistic, I use a lot
> of
> >> ra
Just had to share this:
https://youtu.be/CDeG4S-mJts--
https://mail.python.org/mailman/listinfo/python-list
Dear Group,
I want to do the Boolean search over various sentences or documents.
I do not want to use special programs like Whoosh, etc.
May I use any other parser?
If anybody may kindly let me know.
Regards,
Subhabrata Banerjee.
--
https://mail.python.org/mailman/listinfo/python-list
Here is a simple multi-threaded python web application that uses only the
stanard library modules :
#!/usr/bin/env python
#-*- encoding=utf-8 -*-
import SimpleHTTPServer
import BaseHTTPServer
import SocketServer
class MyServer(SocketServer.ThreadingMixIn,BaseHTTPServer.HTTPServer):
pass
Hi all:
Now I develop an ios app, which need use long polling. when server have
data, the server push data to ios app. I use django to backend,
Can give me some advice or example ?
ths
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Apr 24, 2015 at 12:17 AM, nagaraju thoudoju
wrote:
> Hi,
>
> Hope you are doing well,
>
> Please find the requirement below and let me know you interest on this
> position
> (chomp chomp)
Please don't spam this list with job ads that have nothing whatsoever
to do with Python. Go earn you
On Fri, Apr 24, 2015 at 12:12 AM, Dave Angel wrote:
> On 04/23/2015 08:36 AM, Gregory Ewing wrote:
>>
>> Jean-Michel Pichavant wrote:
From: "subhabrata banerji"
list_of_files = glob.glob('C:\Python27\*.*')
>>
>> >
>>>
>>> 1/ Your file pattern search will not get files that do
Hi,
Hope you are doing well,
Please find the requirement below and let me know you interest on this position
on nagar...@intsystech.com or feel free to call me on D:908-333-3540.
1.Requirement:
Role: Agile Coach
Work location :- Bloomington, IL,
Job description:
The person should hav
On 04/23/2015 08:36 AM, Gregory Ewing wrote:
Jean-Michel Pichavant wrote:
From: "subhabrata banerji"
list_of_files = glob.glob('C:\Python27\*.*')
>
1/ Your file pattern search will not get files that do not have any
dot in
their name
Actually, on Windows, it will. (This is for compatibili
On 04/23/2015 06:11 AM, subhabrata.bane...@gmail.com wrote:
Dear Group,
I am trying to read a list of files as
list_of_files = glob.glob('C:\Python27\*.*')
Now I am trying to read each one of them,
convert into list of words, and append to a list
as.
list1=[]
for file in list_of_files:
p
Hello,
I wanted to make a little update on this thread. The problem is solved, and
while debugging my application I learned that it is actually possible to have
multithreaded or multi-process web application in python using only the
standard library.
A longer explanation, along with minimal wo
Jean-Michel Pichavant wrote:
From: "subhabrata banerji"
list_of_files = glob.glob('C:\Python27\*.*')
>
1/ Your file pattern search will not get files that do not have any dot in
their name
Actually, on Windows, it will. (This is for compatibility with
MS-DOS 8.3 filenames, where the dot was
On Thu, 23 Apr 2015 09:12 pm, Jean-Michel Pichavant wrote:
> If both list1 and fword are lists, you can also write
>
> list1 = list1 + fword
> or
> list1 += fword
You can, but you shouldn't since it risks being very slow, especially the
first version. Repeated list addition has quadratic behavi
Jean-Michel Pichavant wrote:
> - Original Message -
>> From: "Peter Otten" <__pete...@web.de>
>> To: python-list@python.org
>> Sent: Thursday, 23 April, 2015 12:26:41 PM
>> Subject: Re: May I drop list bracket from list?
>>
>> subhabrata.bane...@gmail.com wrote:
>>
>> > Dear Group,
>> >
- Original Message -
> From: "Peter Otten" <__pete...@web.de>
> To: python-list@python.org
> Sent: Thursday, 23 April, 2015 12:26:41 PM
> Subject: Re: May I drop list bracket from list?
>
> subhabrata.bane...@gmail.com wrote:
>
> > Dear Group,
> >
> > list1=[]
> > for file in list_of_fil
subhabrata.bane...@gmail.com writes:
> I am trying to read a list of files as
> list_of_files = glob.glob('C:\Python27\*.*')
> Now I am trying to read each one of them,
> convert into list of words, and append to a list
> as.
>
> list1=[]
> for file in list_of_files:
> print file
> f
subhabrata.bane...@gmail.com wrote:
> On Thursday, April 23, 2015 at 3:57:28 PM UTC+5:30, Peter Otten wrote:
>>
>>
>> > Dear Group,
>> >
>> > I am trying to read a list of files as
>> > list_of_files = glob.glob('C:\Python27\*.*')
>> > Now I am trying to read each one of them,
>> > convert into
On Thursday, April 23, 2015 at 3:57:28 PM UTC+5:30, Peter Otten wrote:
>
>
> > Dear Group,
> >
> > I am trying to read a list of files as
> > list_of_files = glob.glob('C:\Python27\*.*')
> > Now I am trying to read each one of them,
> > convert into list of words, and append to a list
> > as.
>
On Apr 23, 2015, at 1:59 AM, Steven D'Aprano
wrote:
> On Thursday 23 April 2015 11:53, Cem Karan wrote:
>
>> Precisely. In order to make my simulations more realistic, I use a lot of
>> random numbers. I can fake things by keeping the seed to the generator,
>> but if I want to do any sort of
subhabrata.bane...@gmail.com wrote:
> Dear Group,
>
> I am trying to read a list of files as
> list_of_files = glob.glob('C:\Python27\*.*')
> Now I am trying to read each one of them,
> convert into list of words, and append to a list
> as.
>
> list1=[]
> for file in list_of_files:
> print
Dear Group,
I am trying to read a list of files as
list_of_files = glob.glob('C:\Python27\*.*')
Now I am trying to read each one of them,
convert into list of words, and append to a list
as.
list1=[]
for file in list_of_files:
print file
fread1=open(file,"r").read()
fword=fre
Hello Rehab, and welcome,
On Thursday 23 April 2015 17:56, Rehab Habeeb wrote:
> Hi there :)
> i would like to know your opinion about a small booklet about what we want
> to know python before learning it .. because many people may want to be
> satisfied in what they are going to learn and want t
Hi there :)
i would like to know your opinion about a small booklet about what we want
to know python before learning it .. because many people may want to be
satisfied in what they are going to learn and want to be more confident
thats what i felt so i surfed the net wanting to know where is p
On 04/22/15 at 07:25pm, Cecil Westerhof wrote:
> I thought there was a Python shell that could be used instead of Bash
> (or whichever shell you are using)
Perhaps you had [xonsh](http://xonsh.org/) in mind?
Manolo
--
https://mail.python.org/mailman/listinfo/python-list
Have you tried a conditional/try-catch block in your __init__? Something like
class MyDBConn(object):
def __init__(self, **db_kwargs):
try:
db = some_db.connect(**db_kwargs)
except some_db.ConnectionError:
db = my_fake_db()
On Wednesday, April 22, 2015 at 10:20:58 PM UTC+5:30, Ganesh Pal wrote:
> Thank you , this answers my question : )
Hi, Thanks for asking this question, it introduced me to the timeit module.
Just a friendly, next time refrain yourself from top posting.
Cheers!
--
https://mail.python.org/mai
34 matches
Mail list logo