shinobi@f153.n1.z21.fsxnet (shinobi) writes:
> Hello All,
>
> can anyone please let me know what's the path to port linux python curses
> program to Windows?
Is there really anything that needs to be done? At least a simple hello
world python curses program runs on Windows and Linux with no chang
Your subject line will sure draw attention to the topic!
On Tue, Sep 4, 2018 at 8:33 PM shinobi wrote:
>
> Hello All,
>
> can anyone please let me know what's the path to port linux python curses
> program to Windows?
>
> Thanks
>
> --
> https://mail.python.org/mailman/listinfo/python-list
--
And here I thought this was a rant :D
On Tue, Sep 4, 2018 at 8:33 PM shinobi wrote:
> >
> > Hello All,
> >
> > can anyone please let me know what's the path to port linux python curses
> > program to Windows?
> >
> > Thanks
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
>
-
My scenario is having an app which was on Py 2, ported to Python 2 and 3
(using six) and will become Python 3 only in a few months.
So, my question is: when Python 2 is no longer needed, is there some tool
which helps removing the six compatibility layer (as well as the if
six.PY2/six.PY3 checks)
Python itself runs fine, but when I try to drop a file on a script it just
doesn't work.
If I try to regsvr32 the shell extension, it says: The module
"c:\windows\pyshellext.amd64.dll" failed to load.
There was no indication of any problem until this. Apparently it is linked
against "VCRUNTIME140
On 2018-09-03 11:38, gvim wrote:
> Anyone have any idea when Anaconda might ship a version compatible with
> Python 3.7. I sent them 2 emails but no reply.
>
> gvim
You can install Python 3.7 in a conda environment right now. Most packages
(certainly all the ones I use) appear to be available for
I am having trouble with installation of one library â £mysqlclientâ Ø and it
keeps on showing the same message (copied below as it is
) .
THE MESSAGE :
C:\>pip install mysqlclient
Collecting mysqlclient
Using cached https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d
1cb31f128e6
On 2018-09-03 16:07, Alex Kaye wrote:
> When one downloads Anaconda, doesn't it
> bring Pyhon with it ?
It does, but one of the main features is the ability to create additional
virtual environments which can use different versions of Python. You can even
upgrade these environments to a different
Use case: Want to prevent 2+ instances of a script from running ... ideally in
a cross platform manner. I've been researching this topic and am surprised how
complicated this capability appears to be and how the diverse the solution set
is. I've seen solutions ranging from using directories, named
On 09/03/18 09:45, Malcolm Greene wrote:
> Use case: Want to prevent 2+ instances of a script from running ...
> ideally in a cross platform manner. I've been researching this topic and
> am surprised how complicated this capability appears to be and how the
> diverse the solution set is. I've seen
Anyone have any idea when Anaconda might ship a version compatible with Python
3.7. I sent them 2 emails but no reply.
gvim
--
https://mail.python.org/mailman/listinfo/python-list
Hello all,
I am learning the basics of Python. How do I know when a method modifies the
original object, when it does not. I have to exmaples: Example 1:
> L = [3, 6, 1,4]
> L.reverse()
> L
[4, 1, 6, 3]
This changes the original list.
Example 2:
> name = "John Smith"
> name.replace("J", j")
> nam
On Mon, Sep 3, 2018 at 1:50 PM C W wrote:
>
> Hello all,
>
> I am learning the basics of Python. How do I know when a method modifies
> the original object, when it does not. I have to exmaples:
> Example 1:
> > L = [3, 6, 1,4]
> > L.reverse()
> > L
> [4, 1, 6, 3]
> This changes the original list.
On 2018-09-03 09:10, ojas gupta wrote:
> error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft
Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-to
ols
>
>
> Command ""c:\users\ojas gupta\appdata\local\progr
On Tue, Sep 4, 2018 at 3:49 AM, C W wrote:
> Hello all,
>
> I am learning the basics of Python. How do I know when a method modifies
> the original object, when it does not. I have to exmaples:
> Example 1:
>> L = [3, 6, 1,4]
>> L.reverse()
>> L
> [4, 1, 6, 3]
> This changes the original list.
>
>
PyDev 6.5.0 Release Highlights
-
*Debugger*
- Debugger is *much* more responsive (fixed bug in reader/writer on the
PyDev side).
- *breakpoint()* builtin is now supported to add a programmatic
breakpoint (on any Python version).
- Watch expression no longer givin
Sorry bad typing. AK
On Mon, Sep 3, 2018 at 7:07 AM Alex Kaye wrote:
> When one downloads Anaconda, doesn't it
> bring Pyhon with it ?
>
> AK
>
> On Mon, Sep 3, 2018 at 6:13 AM Thomas Jollans wrote:
>
>> On 2018-09-03 11:38, gvim wrote:
>> > Anyone have any idea when Anaconda might ship a ver
Yes, I forgot that strings are immutable. I can't change anything in the
string. Silly me!
Thank you very much, I appreciate it. I guess sometimes it just take an
outsider to take you outside the box. And all is answered. :)
From: Python-list on behalf
of Mark La
What about using flock()? I don't know if it works on Windows, but it works
really well for Unix/Linux systems. I typically create a log file in a known
location using any atomic method that doesn't replace/overwrite a file, and
flock() it for the duration of the script.
Thanks,
Cem Karan
On Mon
On 09/04/2018 05:35 AM, Cameron Simpson wrote:
> On 03Sep2018 07:45, Malcolm Greene wrote:
>> Use case: Want to prevent 2+ instances of a script from running ...
>> ideally in a cross platform manner. I've been researching this topic and
>> am surprised how complicated this capability appears to b
On Tue, 4 Sep 2018 at 13:31, Steven D'Aprano
wrote:
>
> I have this snippet of SML code which I'm trying to translate to Python:
>
> fun isqrt n = if n=0 then 0
> else let val r = isqrt (n/4)
> in
> if n < (2*r+1)^2 then 2*r
>
On 03/09/2018 10:49, Thomas Jollans wrote:
> On 2018-09-03 11:38, gvim wrote:
>> Anyone have any idea when Anaconda might ship a version compatible with
>> Python 3.7. I sent them 2 emails but no reply.
>>
>> gvim
>
> You can install Python 3.7 in a conda environment right now. Most
> packages (cer
Greetings,
I have an error in a python application that I installed. I already opened an
issue about it on the application page at github, but I would also greatly
appreciate any help to (at least) better debug the problem, because I urgently
need to use that program.
Details:
I need to run the
Steven D'Aprano :
> I have this snippet of SML code which I'm trying to translate to Python:
>
> fun isqrt n = if n=0 then 0
> else let val r = isqrt (n/4)
> in
> if n < (2*r+1)^2 then 2*r
> else 2*r+1
> end
>
Hi ,
for example:
I want to know if AAPL is more than value 300 and if it does I want it to send
to me mail with gmail :) . thanks for the help..
--
https://mail.python.org/mailman/listinfo/python-list
I have this snippet of SML code which I'm trying to translate to Python:
fun isqrt n = if n=0 then 0
else let val r = isqrt (n/4)
in
if n < (2*r+1)^2 then 2*r
else 2*r+1
end
I've tried reading up on SML and
On Tuesday, September 4, 2018 at 7:21:31 PM UTC+3, alon@gmail.com wrote:
> Hi ,
> for example:
> I want to know if AAPL is more than value 300 and if it does I want it to
send to me mail with gmail :) . thanks for the help..
im using python 2.7
--
https://mail.python.org/mailman/listinfo/pyt
When one downloads Anaconda, doesn't it bring Pyhon with it ?
AK
On Mon, Sep 3, 2018 at 6:13 AM Thomas Jollans wrote:
> On 2018-09-03 11:38, gvim wrote:
> > Anyone have any idea when Anaconda might ship a version compatible with
> > Python 3.7. I sent them 2 emails but no reply.
> >
> > gvim
>
On 2018-09-04 18:22, alon.naj...@gmail.com wrote:
> On Tuesday, September 4, 2018 at 7:21:31 PM UTC+3, alon@gmail.com wrote:
>> Hi ,
>> for example:
>> I want to know if AAPL is more than value 300 and if it does I want it to
send to me mail with gmail :) . thanks for the help..
Of course it's
On Sun, 2 Sep 2018 13:40:18 -0700 (PDT), Nick Berg wrote:
> how can i be able to store a list of values to drop-down menu and then
> grab the value that the user selects?
>
> **
> name = month = year = ''
>
> # populate names, months, years
> names.ad
On 03/09/18 18:49, C W wrote:
> Hello all,
>
> I am learning the basics of Python. How do I know when a method modifies
> the original object, when it does not. I have to exmaples:
> Example 1:
>> L = [3, 6, 1,4]
>> L.reverse()
>> L
> [4, 1, 6, 3]
> This changes the original list.
Lists are mutabl
> I want to know if AAPL is more than value 300 and if it does I want it to
send to me mail with gmail :) . thanks for the help..
Try searching pypi.org for "finance", then scroll through the many returned
packages. A few show how to get stock data from Yahoo! or Google.
Skip
--
https://mail.py
On 09/04/2018 10:21 AM, alon.naj...@gmail.com wrote:
> Hi ,
> for example:
> I want to know if AAPL is more than value 300 and if it does I want it to
send to me mail with gmail :) . thanks for the help..
>
Yes it's definitely possible! Hop on Google and do some searches; you're bound
to find so
On 2018-09-01, Peter Pearson wrote:
> Writing your own crypto software is fraught with peril, and that
> includes using existing libraries.
Writing your own crypto software isn't a problem, and it can be very
educational.
Just don't _use_ your own crypto software.
Howerver, the set of people w
On 03Sep2018 07:45, Malcolm Greene wrote:
>Use case: Want to prevent 2+ instances of a script from running ...
>ideally in a cross platform manner. I've been researching this topic and
>am surprised how complicated this capability appears to be and how the
>diverse the solution set is. I've seen s
I believe that this https://www.python.org/dev/peps/pep-8001/ may be of
interest.
--
My fellow Pythonistas, ask not what our language can do for you, ask what you
can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
Please don't keep spamming this list with the same question, while you have
not responded to any of the advice you've already been given.
If you have specific trouble with any of that advice and need further help,
please give details and ask new questions!
Good luck.
On Wed, Sep 5, 2018 at 4:02
On Thu, Sep 6, 2018 at 6:06 AM, Calvin Spealman wrote:
> Please don't keep spamming this list with the same question, while you have
> not responded to any of the advice you've already been given.
>
> If you have specific trouble with any of that advice and need further help,
> please give details
I get this:
C:\Users\Me> py
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32
bit (Inte
l)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files
Thanks Serhiy. This does come with a performance penalty (in particular for
function taking keyword arguments) but this is to be expected. Also the
PyList_Insert solution does not sadly work for all the methods that I need to
wrap.
Best
Matthieu
> On Aug 30, 2018, at 11:09 AM, Serhiy Storchak
Marko Rauhamaa (Marko Rauhamaa):
> Steven D'Aprano :
>> I have this snippet of SML code which I'm trying to translate to Python:
>>
>> fun isqrt n = if n=0 then 0
>> else let val r = isqrt (n/4)
>> in
>> if n < (2*r+1)^2 then 2*r
>>
On 2018-09-05 08:21, dieter wrote:
"M. Fioretti" writes:
I have an error in a python application that I installed...
... https://github.com/shaarli/python-shaarli-client/issues/33
...
Looks like the problem is immediately at the start of the response
(--> "ValueError: Expecting value: line 1 c
42 matches
Mail list logo