Re: Problem using cx_Freeze

2022-08-18 Thread subin
Hope you had a good time.

On Wed, Aug 17, 2022 at 10:19 PM Peter J. Holzer  wrote:

> On 2022-08-17 12:09:14 -0600, David at Booomer wrote:
> > Executable(
> >
>  "prjui.py","Maiui.py","about.py","dict.py","geometry.py","getEquation.py",
> >
>  "gtrail.py","main.py","matchingstring.py","producelatex.py","readfile.py",
> > "separete.py","speak.py",
> > )
> [...]
> > I am/was worried about the trailing ‘,' after ',"speak.py”,’ <- but
> > deleting it or moving it after the ] didn’t help.
>
> This has nothing to do with your problem but:
>
> Python allows a trailing comma in any comma-separated list of values. It
> will just be ignored.
>
> This is really common in modern programming languages (read: programming
> languages younger than 30 years or so), because it makes it much more
> convenient to extend/shorten/reorder a list. Otherwise you alway have to
> remember add or remove a comma in the right place. (Some people
> (especially SQL programmers for some reason) resorted to put the comma
> at the start of each line to get around this, which is really ugly.)
>
> hp
>
> --
>_  | Peter J. Holzer| Story must make more sense than reality.
> |_|_) ||
> | |   | h...@hjp.at |-- Charles Stross, "Creative writing
> __/   | http://www.hjp.at/ |   challenge!"
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Parallel(?) programming with python

2022-08-11 Thread subin
Please let me know if that is okay.

On Wed, Aug 10, 2022 at 7:46 PM <2qdxy4rzwzuui...@potatochowder.com> wrote:

> On 2022-08-09 at 17:04:51 +,
> "Schachner, Joseph (US)"  wrote:
>
> > Why would this application *require* parallel programming?  This could
> > be done in one, single thread program.  Call time to get time and save
> > it as start_time.  Keep a count of the number of 6 hour intervals,
> > initialize it to 0.
>
> In theory, you are correct.
>
> In practice, [stuff] happens.  What if your program crashes?  Or the
> computer crashes?  Or there's a Python update?  Or an OS update?  Where
> does all that pending data go, and how will you recover it after you've
> addressed whatever happened? ¹
>
> OTOH, once you start writing the pending data to a file, then it's an
> extremely simple leap to multiple programs (rather than multiple
> threads) for all kinds of good reasons.
>
> ¹ FWIW, I used to develop highly available systems, such as telephone
> switches, which allow [stuff] to happen, and yet continue to function.
> It's pretty cool to yank a board (yes, physically remove it, without
> warning) from the system without [apparently] disrupting anything.  Such
> systems also allow for hardware, OS, and application upgrades, too
> (IIRC, we were allowed a handful of seconds of downtime per year to meet
> our availability requirements).  That said, designing and building such
> a system for the sakes of simplicity and convenience of the application
> we're talking about here would make a pretty good definition of
> "overkill."
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Parallel(?) programming with python

2022-08-11 Thread subin
Thanks again for the info.

On Wed, Aug 10, 2022 at 9:31 PM Peter J. Holzer  wrote:

> On 2022-08-10 14:19:37 -0400, Dennis Lee Bieber wrote:
> > On Wed, 10 Aug 2022 19:33:04 +0200, "Dieter Maurer"  >
> > declaimed the following:
> > >Schachner, Joseph (US) wrote at 2022-8-9 17:04 +:
> > >>Why would this application *require* parallel programming?   This
> > >>could be done in one, single thread program.   Call time to get time
> > >>and save it as start_time.   Keep a count of the number of 6 hour
> > >>intervals, initialize it to 0.
> [...]
> >   Though if I read this correctly, a long running action /will/
> >   delay others -- which could mean the (FFT) process could block
> >   collecting new 1-second readings while it is active.
>
> Certainly, but does it matter? Data is received from some network
> connection and network connections often involve quite a bit of
> buffering. If the consumer is blocked for 3 or 4 or maybe even 20
> seconds, the producer might not even notice. (This of course depends
> very much on the details which we know nothing about.)
>
> hp
>
> --
>_  | Peter J. Holzer| Story must make more sense than reality.
> |_|_) ||
> | |   | h...@hjp.at |-- Charles Stross, "Creative writing
> __/   | http://www.hjp.at/ |   challenge!"
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


To automate email login through browser

2014-08-29 Thread subin alex
Hi Guys,

I am very new to python and am trying to  learn python.
I want to automate my email login through browser,in a way that when my
computer boots up,it must be automatically logged into my mailbox.

Please provide your suggestions on this :)

Thanks  Regards,
Subin Alex.
-- 
https://mail.python.org/mailman/listinfo/python-list


concurrent.futures vs gevent

2012-07-29 Thread subin
Hi,
It will be my first post here.
I just found a great presentation here
https://ep2012.europython.eu/conference/talks/concurrentfutures-is-here.

As non native english, i can't fully understand all of the material
presented there.
I have some doubt, i hope someone here can give clarification.

Could concurrent.futures be a (partly) replacement of gevent?
I guess not, because gevent provide lightweight thread via greenlet,
while concurrent.futures only provide multiprocessing across different
processor) (not lightweight).

Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list