On Wed, Feb 22, 2017 at 12:50 PM, Nagy László Zsolt
wrote:
>
> I'm in a situation where I would like to refactor some code to use
> native coroutine functions (aync def) instead of "normal" coroutines
> that use yield. Most of the code is asnyc, but some of the operations
> are performed in differ
On Thursday, January 26, 2017 at 8:12:24 AM UTC+5:30, Tony Chen wrote:
> On Wednesday, January 25, 2017 at 8:34:01 PM UTC+13, Chris Angelico wrote:
> > On Wed, Jan 25, 2017 at 6:22 PM, Tony Chen
> > wrote:
> > > This error can be due to the fact that ImageMagick is not installed on
> > > your co
Hi everyone! :)
I just wanted to share with everyone a lightweight online tool I created called
PythonBuddy (https://github.com/ethanchewy/PythonBuddy) which actively lints
Python online.
I made this so that MOOCs like edX or codecademy could easily embed and use
this on their courses. Also, P
Dennis Lee Bieber wrote, on February 22, 2017 6:48 PM
>
> On Wed, 22 Feb 2017 10:50:18 -0800, "Deborah Swanson"
> declaimed the following:
>
>
> >first, and be able to use a running C version to check my Python
> >version against. I couldn't afford Visual Studio, especially since
> >there wa
One other thing besides the issues noted with filename - newline is set to
a space. It should be set to an empty string.
See: https://docs.python.org/3/library/csv.html#id3
Regards,
Nate
On Wed, Feb 22, 2017 at 3:52 PM, wrote:
> On Wednesday, February 22, 2017 at 5:55:47 PM UTC, Braxton Alfred
On Wednesday, February 22, 2017 at 5:55:47 PM UTC, Braxton Alfred wrote:
> Why does this not run? It is right out of the CSV file in the Standard Lib.
>
> Python ver 3.4.4, 64 bit.
>
> import csv
> """ READ EXCEL FILE """
> filename = 'c:\users\user\my documents\Braxton\Excel\personal\bp.csv'
>
On 2017-02-22 21:08, Gilmeh Serda wrote:
On Wed, 08 Feb 2017 09:31:09 -0800, Rob Gaddi wrote:
JSON's cute, but the format doesn't support inline comments.
{
"your_key": "whatever",
"COMMENT": "blah",
"meh": [
"yup",
"yep",
"yip"
],
"COMMENT": "mooh"
Braxton Alfred writes:
> Why does this not run? It is right out of the CSV file in the Standard Lib.
>
>
>
>
> Python ver 3.4.4, 64 bit.
>
>
>
>
>
>
>
> import csv
> """ READ EXCEL FILE """
> filename = 'c:\users\user\my documents\Braxton\Excel\personal\bp.csv'
'\b' is backspace. A coupl
I'm in a situation where I would like to refactor some code to use
native coroutine functions (aync def) instead of "normal" coroutines
that use yield. Most of the code is asnyc, but some of the operations
are performed in different threads (using concurrent.futures.Executor).
We have concurrent.
Grant Edwards wrote, on February 22, 2017 7:52 AM
>
> On 2017-02-21, Chris Warrick wrote:
>
> > Git Bash, or basically msys, is pretty reasonable. But if you are on
> > Windows 10, you might like the built-in Windows Subsystem for Linux
> > (aka Bash on Ubuntu on Windows) more - it's real Linu
On 22/02/17 17:38, Peter Pearson wrote:
On Wed, 22 Feb 2017 22:33:31 +0530, Ganesh Pal wrote:
[snip]
I need suggestion on the if statement in the below code , all that I was
trying to do was to add a check i.e if any one of the functions return
True then break the loop.
end_time = time.tim
On 22-2-2017 8:39, Argentinian Black ops lll wrote:
> Thanks for the quick response...! you saved me a lot of time, thank you!
>
I don't know if you want/have to use your own custom caching decorator, but are
you
aware of the lru_cache decorator that's part of the standard library?
https://docs
On 22-2-2017 18:26, Braxton Alfred wrote:
> Why does this not run? It is right out of the CSV file in the Standard Lib.
What does "not run" mean.
We can't help if you are not telling us the exact error message you're getting
(if any)
> filename = 'c:\users\user\my documents\Braxton\Excel\perso
On Thu, Feb 23, 2017 at 4:26 AM, Braxton Alfred wrote:
> filename = 'c:\users\user\my documents\Braxton\Excel\personal\bp.csv'
Use forward slashes instead.
Also, if something isn't working, post the actual output - probably an
exception. Don't assume that we can read your mind, even when we can.
Why does this not run? It is right out of the CSV file in the Standard Lib.
Python ver 3.4.4, 64 bit.
import csv
""" READ EXCEL FILE """
filename = 'c:\users\user\my documents\Braxton\Excel\personal\bp.csv'
with open (filename, newline = ' ') as bp:
dialect = csv.excel
reade
On Wed, Feb 22, 2017 at 8:16 AM, Pavol Lisy wrote:
> Maybe this technique could be reusable (and maybe part of functools?)
>
> With this decorator:
>
> def wrap_args(decorator):
> def decor_out(*args, **kwargs):
> def decor_in(func):
> return decorator(func,
On Wed, 22 Feb 2017 22:33:31 +0530, Ganesh Pal wrote:
[snip]
> I need suggestion on the if statement in the below code , all that I was
> trying to do was to add a check i.e if any one of the functions return
> True then break the loop.
>
> end_time = time.time() + 300
> umount_completed =
On Wed, 22 Feb 2017 22:33:31 +0530, Ganesh Pal wrote:
> Hello Friends,
>
> I need suggestion on the if statement in the below code , all that I
> was trying to do was to add a check i.e if any one of the functions
> return True then break the loop.
>
>
> end_time = time.time() + 300
>
Hello Friends,
I need suggestion on the if statement in the below code , all that I was
trying to do was to add a check i.e if any one of the functions return
True then break the loop.
end_time = time.time() + 300
umount_completed = False
while time.time() < end_time:
if att
On 2017-02-21, Chris Warrick wrote:
> Git Bash, or basically msys, is pretty reasonable. But if you are on
> Windows 10, you might like the built-in Windows Subsystem for Linux
> (aka Bash on Ubuntu on Windows) more — it’s real Linux that runs
> alongside Windows, but less crazy than Cygwin.
Cyg
On 2/22/17, Steve D'Aprano wrote:
> On Wed, 22 Feb 2017 08:47 pm, Cecil Westerhof wrote:
>
>> On Wednesday 22 Feb 2017 08:49 CET, Argentinian Black ops lll wrote:
>>
>>> *** SOLVED ***
>>
>> It would be nice if you shared the solution.
>
> I believe Cameron's post contains the bones of a solution.
Thanks! This helped me!
--
https://mail.python.org/mailman/listinfo/python-list
Kasper wrote:
> How can i make the score stop blinking
The following part
> #draws the score on the screen
> mypen.undo()
> mypen.penup()
> mypen.hideturtle()
> mypen.setposition(-290, 310)
> scorestring1 = (name1 + ": %s" + " points ") %score1
> scorestring2 = (nam
On Tuesday, February 21, 2017 at 3:55:40 PM UTC, Robert William Lunnon wrote:
> Dear Python
>
> I am trying to install pylab alongside python 3.6. However when I type
>
> python -m pip install pylab
>
> I get the message
>
> No module named site
>
> In the documentation [documentation for inst
On Wed, 22 Feb 2017 08:47 pm, Cecil Westerhof wrote:
> On Wednesday 22 Feb 2017 08:49 CET, Argentinian Black ops lll wrote:
>
>> *** SOLVED ***
>
> It would be nice if you shared the solution.
I believe Cameron's post contains the bones of a solution.
Here's my untested solution.
def func_ca
Hi!
How can i make the score stop blinking and how can i make a high score table,
in this game made with python? (this game is made on a Macbook)
(there are some files in the game that i don't haven't copied into this file!
like pyth.GIF)
On Wednesday 22 Feb 2017 08:49 CET, Argentinian Black ops lll wrote:
> *** SOLVED ***
It would be nice if you shared the solution.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
--
https://mail.python.org/mailman/listinfo/python-list
27 matches
Mail list logo