Re: Logging cf Reporting = Friday Filosofical Finking

2019-04-09 Thread Antoon Pardon
On 9/04/19 17:43, Skip Montanaro wrote: >>> Is logging an unpopular package? >> I've been writing Python applications for 20 years. On several >> occasions, I've sat down determined to use it. After a frustrating >> half a day or so trying to get it to do what I want (and failing), >> I've always

Re: Logging cf Reporting = Friday Filosofical Finking

2019-04-09 Thread Antoon Pardon
On 8/04/19 23:14, DL Neil wrote: > Is logging an unpopular package? I think it does too much and too litle. On the one hand, you are overwhelmed by the possibilities, most of which you don't need. On the other hand, you find that it is missing a number of levels in comparison with syslog. I als

Re: Design a function that finds all positive numbers

2019-04-09 Thread Ben Bacarisse
r...@zedat.fu-berlin.de (Stefan Ram) writes: > Ben Bacarisse writes: >>Ranjith Bantu writes: >>>can I solve any problems like this by learning python? >>You need to learn how to solve problems as well as learning Python -- > > I do not separate "solving the problem" from "using Python", > be

Re: What is a, b, c, and d in: rect1 = drawing.create_rectangle(a, b, c, d) and circle1 = drawing.create_oval(a, b, c, d)

2019-04-09 Thread Terry Reedy
On 4/9/2019 4:24 PM, Christian Gollwitzer wrote: Am 09.04.19 um 21:57 schrieb CrazyVideoGamez: What is a, b, c, and d in: from tkinter import * window = Tk() drawing = Canvas(window, height=500, width=500) rectangle = drawing.create_rectangle(a, b, c, d) and: circle = drawing.create_oval(a, b, c

Re: What is a, b, c, and d in: rect1 = drawing.create_rectangle(a, b, c, d) and circle1 = drawing.create_oval(a, b, c, d)

2019-04-09 Thread Peter Otten
CrazyVideoGamez wrote: > What is a, b, c, and d in: > from tkinter import * > window = Tk() > drawing = Canvas(window, height=500, width=500) > rectangle = drawing.create_rectangle(a, b, c, d) > and: > circle = drawing.create_oval(a, b, c, d) > ??? Here's a picture: http://infohost.nmt.edu/tcc/h

What is a, b, c, and d in: rect1 = drawing.create_rectangle(a, b, c, d) and circle1 = drawing.create_oval(a, b, c, d)

2019-04-09 Thread CrazyVideoGamez
What is a, b, c, and d in: from tkinter import * window = Tk() drawing = Canvas(window, height=500, width=500) rectangle = drawing.create_rectangle(a, b, c, d) and: circle = drawing.create_oval(a, b, c, d) ??? -- https://mail.python.org/mailman/listinfo/python-list

Design a function that finds all positive numbers

2019-04-09 Thread Ranjith Bantu
A numeric array of length 'N' is given. you need to design a function that finds all positive numbers in the array that have their opposites in it swell. give the approach for solving the optimal average or best case performance. answer will be your obsolute. Array: -7,4,-3, 2, 2, -8, -2, 3, 3,

ANN: Wing Python IDE 7 is Now Available

2019-04-09 Thread Wingware
Wing Python IDE 7.0 - April 8, 2019 Wing 7 introduces an improved code warnings and code quality inspection system that includes built-in error detection and tight integration with pylint, pep8, and mypy. This release also adds a new data frame and array viewer, a MATLAB keyboard personal

Re: What is a, b, c, and d in: rect1 = drawing.create_rectangle(a, b, c, d) and circle1 = drawing.create_oval(a, b, c, d)

2019-04-09 Thread Christian Gollwitzer
Am 09.04.19 um 21:57 schrieb CrazyVideoGamez: What is a, b, c, and d in: from tkinter import * window = Tk() drawing = Canvas(window, height=500, width=500) rectangle = drawing.create_rectangle(a, b, c, d) and: circle = drawing.create_oval(a, b, c, d) ??? Look it up in the original Tk documenta

Re: How to make an application run "online"

2019-04-09 Thread Chris Angelico
On Wed, Apr 10, 2019 at 4:31 AM Daniel Tkach wrote: > > Hey Chris, thank you! So by this I found https://www.pythonanywhere.com, and > I'm checking it out! > Good points about the "polling", I thought I could do it that way but I > didn't know the term. I think every 30 minutes will be fine, but

Re: How to make an application run "online"

2019-04-09 Thread Daniel Tkach
Hey Chris, thank you! So by this I found https://www.pythonanywhere.com, and I'm checking it out! Good points about the "polling", I thought I could do it that way but I didn't know the term. I think every 30 minutes will be fine, but I'll check the notifications part. Thanks again for putting

Re: How to make an application run "online"

2019-04-09 Thread Chris Angelico
On Wed, Apr 10, 2019 at 2:46 AM Daniel Tkach wrote: > What I want to do now is ... I want the Kajabi product be activated for that > user as soon as he checks out on Shopify and there's a new order, and I want > this not to depend on my computer. > The first part of that can be done in two ways

How to make an application run "online"

2019-04-09 Thread Daniel Tkach
Hello group. I started learning Python about a week ago. I have a few years of experience with other languages, mostly Pascal and C#, and I've always programmed for desktop, so I'm a bit clueless when it comes to web programming. So I was able to pull off my first working app with Python using A

RE: Design a function that finds all positive numbers

2019-04-09 Thread Schachner, Joseph
I'm willing to bet "sorted" is a sort of the list of strings. The result is certainly not what I'd expect if the list contained numeric values. So: make a new list that holds the values in your "Array" (which is probably a list) converted to numbers. Sort the new list. That should give you're

Re: Logging cf Reporting = Friday Filosofical Finking

2019-04-09 Thread Skip Montanaro
> > Is logging an unpopular package? > > I've been writing Python applications for 20 years. On several > occasions, I've sat down determined to use it. After a frustrating > half a day or so trying to get it to do what I want (and failing), > I've always given up and gone back to writing my own

Re: Logging cf Reporting = Friday Filosofical Finking

2019-04-09 Thread Grant Edwards
On 2019-04-08, DL Neil wrote: > Is logging an unpopular package? I've been writing Python applications for 20 years. On several occasions, I've sat down determined to use it. After a frustrating half a day or so trying to get it to do what I want (and failing), I've always given up and gone ba

Re: Kill stuck threads

2019-04-09 Thread Rhodri James
On 09/04/2019 14:08, Shakti Kumar wrote: Over due course I've felt the need of a way to kill a thread gracefully, by relieving all occupied resources. A bit of search online shows me that killing a thread depends very much on the underlying platform support, and is something not advised, however

Kill stuck threads

2019-04-09 Thread Shakti Kumar
Hello Team, Over due course I've felt the need of a way to kill a thread gracefully, by relieving all occupied resources. A bit of search online shows me that killing a thread depends very much on the underlying platform support, and is something not advised, however I face this problem when one o

Re: Design a function that finds all positive numbers

2019-04-09 Thread Ben Bacarisse
Ranjith Bantu writes: > A numeric array of length 'N' is given. you need to design a function > that finds all positive numbers in the array that have their opposites > in it swell. give the approach for solving the optimal average or best > case performance. answer will be your obsolute. > Array

newer version

2019-04-09 Thread John Doe
I've already -X555UJ:~$ python python python3python3.6m python3m python2python3.6 python3.6m-config python3m-config python2.7 python3.6-config python3-config Wondering if not add Python3.7 yet if so should I just do: sudo apt instal

ANN: Python Meeting Düsseldorf - 10.04.2019

2019-04-09 Thread eGenix Team: M.-A. Lemburg
[This announcement is in German since it targets a local user group meeting in Düsseldorf, Germany] ANKÜNDIGUNG Python Meeting Düsseldorf http://pyddf.de/ Ein Tr