"Mr. Wrobel" writes:
> ...
> However the same skeptics told my that, ok we believe that it is true,
> however the code execution is much slower than any other compiled
> language.
However, in many cases "code execution speed" is not the primary concern.
In my experience, "development speed" is fa
On 2016-11-06, Michael Torrie wrote:
> I'm guessing that it notices by examining the path it was launched from
> and looks for virtual environment files relative to that path.
Indeed, the mysterious thing is what are "virtual environment files"?
The official docs say "A venv is a directory tree w
On 2016-11-06, Chris Angelico wrote:
> On Sun, Nov 6, 2016 at 4:27 PM, Jon Ribbens wrote:
>>> 2) If Python notices that its executable comes from a venv, it uses it.
>>
>> Yes. My question is *how does it notice*?
>
> I could answer this question, but since you don't appear to be
> following the
On 2016-11-06 19:36, Avijit Paul wrote:
I installed python-3.6.0b2-amd64 on my Windows PC. Which is running on
64-bit system of Windows 8.1. The installation was successful. After the
installation, when I ran the program it showed the following error, as
shows in the attachment.
I need your kin
On 07.11.2016 4:11, ddbug wrote:
Dear experts,
I need to install some scripts for current user (to skip sudo, UAC popups and
whatever).
So I make a sdist and use python -m pip install --user
This should work for either Python 2 or 3.
On Linux, pip installs the scripts into ~/.local/bin
-- Forwarded message --
From: Avijit Paul
Date: Mon, Nov 7, 2016 at 1:27 AM
Subject: About Installation.
To: python-list@python.org
Hello,
I installed python-3.6.0b2-amd64 on my Windows PC. Which is running on
64-bit system of Windows 8.1. The installation was successful. After
https://wiki.python.org/moin/WindowsCompilers has now completely
replaced instructions for `distutils`-based packages (starting with
`from distutils.core import setup`) with ones for `setuptools`-based
ones (starting with `from setuptools import setup`).
However, if I have a `distutils`-based
So basically I want to modify py.exe to not only detect the Python version from
a script file, but also help locating the script file.
-- d
--
https://mail.python.org/mailman/listinfo/python-list
Dear experts,
I need to install some scripts for current user (to skip sudo, UAC popups and
whatever).
So I make a sdist and use python -m pip install --user
This should work for either Python 2 or 3.
On Linux, pip installs the scripts into ~/.local/bin ; users are instructed to
add this
On Sunday, November 6, 2016 at 1:27:48 AM UTC-4, rosef...@gmail.com wrote:
> Considering the following html:
>
> cool stuff hiid="cool"> zz
>
> and the following list:
>
> ignore_list = ['example','lalala']
>
> My goal is, while going through the HTML using Beautifulsoup, I find
Hello all,
I'm glad to announce the release of psutil 5.0.0:
https://github.com/giampaolo/psutil
This release introduces important speedups making psutil from 2x to 6x
faster depending on what platform you're on.
A full blog post can be found here:
http://grodola.blogspot.com/2016/11/psutil-500-is-
Hello!
Hope you guys are fine. I am a newbie in programming, though I have been
experimenting with Python for close to 3 years, but have never attempt writing
any real-life program. However, recently I decided to embark on a personal
project to develop a Python App which I want to dedicate to
On Sun, Nov 6, 2016 at 12:33 AM, Abdullahi Salihu Abubakar
wrote:
> [lots of text, taking a representative sample]
> 4. I presently use list to hold the list of beneficiaries. Based on the
> short description of the proposed app above, which other container is it
> suitable for holding the categ
Hello!
Hope you guys are fine. I am a newbie in programming, though I have been
experimenting with Python for close to 3 years, but have never attempt
writing any real-life program. However, recently I decided to embark on a
personal project to develop a Python App which I want to dedicate to m
On Sun, Nov 6, 2016 at 12:50 AM, Arthur Havlicek
wrote:
> 2016-11-05 12:47 GMT+01:00 Chris Angelico :
>
>> On Sat, Nov 5, 2016 at 9:50 PM, Arthur Havlicek
>>
>> But here's the thing. For everyone who writes a decorator function,
>> there could be dozens who use it.
>>
>
> The day that one guy leav
Hello!
Hope you guys are fine. I am a newbie in programming, though I have been
experimenting with Python for close to 3 years, but have never attempt
writing any real-life program. However, recently I decided to embark on a
personal project to develop a Python App which I want to dedicate to m
2016-11-05 12:47 GMT+01:00 Chris Angelico :
> On Sat, Nov 5, 2016 at 9:50 PM, Arthur Havlicek
>
> But here's the thing. For everyone who writes a decorator function,
> there could be dozens who use it.
>
The day that one guy leaves the team, suddenly you have code that's become
a bit tricky to ma
On 11/05/2016 11:27 PM, Jon Ribbens wrote:
>> 2) If Python notices that its executable comes from a venv, it uses it.
>
> Yes. My question is *how does it notice*?
I'm guessing that it notices by examining the path it was launched from
and looks for virtual environment files relative to that path
On Sun, Nov 6, 2016 at 10:19 PM, Peter Otten <__pete...@web.de> wrote:
> Chris Angelico wrote:
>
>> On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
>> wrote:
>>> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
>>> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
On Sun, Nov 6, 2016 at 10:48 PM, SS wrote:
> # cmd='dig @4.2.2.2 nbc.com ns +short'
> cmd="dig @4.2.2.2 %s ns +short", % (domname)
> proc=subprocess.Popen(shlex.split(cmd),stdout=subprocess.PIPE)
> out,err=proc.communicate()
> print(out)
>
> The line that is commented out works fine. However, I w
On 11/6/2016 6:48 AM, SS wrote:
cmd="dig @4.2.2.2 %s ns +short", % (domname)
does not work.
No kidding. ', %' is a syntax error. The , makes a tuple, the % after
string does interpolation. You obviously want the latter so omit the ,.
The traceback should have pointed you to where the co
Alec Taylor wrote:
> On Sunday, November 6, 2016 at 10:20:53 PM UTC+11, Peter Otten wrote:
>> Chris Angelico wrote:
>>
>> > On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
>> > wrote:
>> >> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
>> >> 15.0.3 (`sudo -H pip install virtu
>
> import subprocess
> import shlex
>
> domname = raw_input("Enter your domain name: ");
> print "Your domain name is: ", domname
>
> print "\n"
>
> # cmd='dig @4.2.2.2 nbc.com ns +short'
> cmd="dig @4.2.2.2 %s ns +short", % (domname)
> proc=subprocess.Popen(shlex.split(cmd),stdout=subprocess.PIPE
Note the following code:
import subprocess
import shlex
domname = raw_input("Enter your domain name: ");
print "Your domain name is: ", domname
print "\n"
# cmd='dig @4.2.2.2 nbc.com ns +short'
cmd="dig @4.2.2.2 %s ns +short", % (domname)
proc=subprocess.Popen(shlex.split(cmd),stdout=subprocess
Hi,
In the pep,
https://www.python.org/dev/peps/pep-0492/#examples-of-await-expressions
It is said,
await await coro() is SyntaxError, instead, we should use await (await coro())
Why? because of await is not left-associative?
also, for
await -coro() , it should be written as, await (-coro
On Sunday, November 6, 2016 at 10:20:53 PM UTC+11, Peter Otten wrote:
> Chris Angelico wrote:
>
> > On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
> > wrote:
> >> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> >> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wro
Chris Angelico wrote:
> On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
> wrote:
>> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
>> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
>>
>> $ virtualenv a && . "$_"/bin/activate && pip --version
>
> I'm pret
On Sun, Nov 6, 2016 at 4:27 PM, Jon Ribbens wrote:
>> 2) If Python notices that its executable comes from a venv, it uses it.
>
> Yes. My question is *how does it notice*?
I could answer this question, but since you don't appear to be
following the thread properly, I'll point out that it's alread
On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor wrote:
> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
>
> $ virtualenv a && . "$_"/bin/activate && pip --version
I'm pretty sure virtualenv (like venv, abou
Alec Taylor wrote:
> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
>
> $ virtualenv a && . "$_"/bin/activate && pip --version
> New python executable in /tmp/a/bin/python
> Installing setuptool
Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
$ virtualenv a && . "$_"/bin/activate && pip --version
New python executable in /tmp/a/bin/python
Installing setuptools, pip, wheel...done.
pip 9.
31 matches
Mail list logo