On 2019-03-22 03:25, Sharan Basappa wrote:
I am running a program and even though the program runs all fine, the log file
is missing. I have pasted first few lines of the code.
Any suggestions where I maybe going wrong?
import os
import csv
import logging
import assertion_design as asd
import
On Thursday, March 21, 2019 at 10:26:14 PM UTC-5, Sharan Basappa wrote:
> I am running a program and even though the program runs all fine, the log
> file is missing. I have pasted first few lines of the code.
>
I am thinking--hoping, rather--that you just kind of double pasted there.
Anyways, y
On 22/03/19 4:25 PM, Sharan Basappa wrote:
I am running a program and even though the program runs all fine, the log file
is missing. I have pasted first few lines of the code.
Any suggestions where I maybe going wrong?
import os
import csv
import logging
import assertion_design as asd
import
On Tuesday, March 19, 2019 at 9:49:48 PM UTC-5, Chris Angelico wrote:
> I would recommend parsing in two broad steps, as CPython does:
>
> 1) Take the source code and turn it into an abstract syntax tree
> (AST). This conceptualizes the behaviour of the code more-or-less the
> way the programmer w
I am running a program and even though the program runs all fine, the log file
is missing. I have pasted first few lines of the code.
Any suggestions where I maybe going wrong?
import os
import csv
import logging
import assertion_design as asd
import random
#Create and configure logger
logging.
On Fri, Mar 22, 2019 at 11:56 AM Michael Torrie wrote:
>
> On 03/21/2019 09:36 AM, Tim Johnson wrote:
> > Michael, I should have asked the following question:
> > Would I be able to install from the EPEL Repository or the Redhat
> > Software Collections to a local ~/bin?
>
> I am not sure, b
On 03/21/2019 09:36 AM, Tim Johnson wrote:
> Michael, I should have asked the following question:
> Would I be able to install from the EPEL Repository or the Redhat
> Software Collections to a local ~/bin?
I am not sure, but have my doubts. Software Collections distributes
software in RPM,
On 2019-03-21 21:09, Artie Ziff wrote:
Some more info
I wanted to add this relevant stack overflow post:
https://stackoverflow.com/questions/17822342/understanding-python-http-streaming
The code splitting on text produces the following sample output:
{"status":"connected"}{"quote":{"ask":"
On 2019-03-21 20:12, Artie Ziff wrote:
Hello,
I am trying to learn how to do use response library in the least confusing
way possible. My data source is streaming.
The sample I share below looks more complicated that it needs to be. I do
not have enough experience with this to know better. Henc
On 2019-03-21, Artie Ziff wrote:
> I am trying to learn how to do use response library in the least
> confusing way possible.
>
> [...]
What do you mean by "response library"?
> Does this mailing list use a paste site or is better to paste code
> in-line for future?
You can do either, but not
Some more info
I wanted to add this relevant stack overflow post:
https://stackoverflow.com/questions/17822342/understanding-python-http-streaming
The code splitting on text produces the following sample output:
{"status":"connected"}{"quote":{"ask":"195.95","asksz":"1000","bid":"195.93","bi
Hello,
I am trying to learn how to do use response library in the least confusing
way possible. My data source is streaming.
The sample I share below looks more complicated that it needs to be. I do
not have enough experience with this to know better. Hence why I came here
for guidance and direct
If you run on linux system? May be you are already installed for python
3, but not for python (python 2.7) or vice_versa .
Checks this.
(The code work fine, openSuSE Leap 15)
El 20/03/19 a las 19:34, jasonanyil...@gmail.com escribió:
So, I typed in code:
from turtle import *
forward(100)
rig
On Fri, Mar 22, 2019 at 1:01 AM Steve wrote:
>
> I believe I can see what is happening here but maybe someone can explain
> least I run into this again.
>
> Situation 1: I am using "ws.MessageBeep(1)" to generate a tone through the
> speakers. I wanted two tones to separate it from other tones t
* Michael Torrie [190320 19:22]:
> On 03/20/2019 07:10 PM, Tim Johnson wrote:
> > * Ian Kelly [190320 12:00]:
> >> 1) https://www.python.org/downloads/ has release information. Based on that
> >> you would currently want 3.7.2. Make sure you actually download 3.7.2 and
> >> not 3.7.2rc1.
> > Un
* Michael Torrie [190320 19:22]:
> On 03/20/2019 07:10 PM, Tim Johnson wrote:
> > * Ian Kelly [190320 12:00]:
> >> 1) https://www.python.org/downloads/ has release information. Based on that
> >> you would currently want 3.7.2. Make sure you actually download 3.7.2 and
> >> not 3.7.2rc1.
> > Un
I'm assuming by ws you mean winsound?
Check the docs: https://docs.python.org/3.7/library/winsound.html
winsound.MessageBeep(type=MB_OK)
Call the underlying MessageBeep() function from the Platform API. This
plays a sound as specified in the registry. The type argument specifies which
s
Assuming ws is winsound, MessageBeep(-1) produces a "simple beep".
MessageBeep(1) doesn't seem to actually exist so it might fall back to
that same "simple beep". The possible values are -1, MB_ICONASTERISK,
MB_ICONEXCLAMATION, MB_ICONHAND, MB_ICONQUESTION, and MB_OK, all of
which are defined in th
I believe I can see what is happening here but maybe someone can explain least
I run into this again.
Situation 1: I am using "ws.MessageBeep(1)" to generate a tone through the
speakers. I wanted two tones to separate it from other tones that might happen
and placed that code a second time in t
Also: What is the code for other tones that I can call?
Footnote:
When someone asks "A penny for your thoughts" and you give your 2c worth,
I wonder what happens to that other penny?
TTKMAWAN
--
https://mail.python.org/mailman/listinfo/python-list
A couple of people asked the link to the post I mentioned, sorry I forgot to
add it
http://www.thedigitalcatonline.com/blog/2017/07/21/refactoring-with-test-in-python-a-practical-example/
This is just a very simple exercise in refactoring, but I believe it's a good
starting point for people who
Akkana, yes that is a good idea, even though I expected the LeanPub output to
be already the correct one. I'll check with them.
Thanks for reading the book, you actually gave me an idea: writing something
about adding tests to a project *after* the code has been written. I already
wrote a post
22 matches
Mail list logo