Νίκος Βέργος writes:
> plugin = bottle_pymysql.Plugin( dbuser='user', dbpass='pass',
> dbname='counters', dictrows=False )
> app.install(plugin)
>
> ...
> ...
>
> @app.route( '/' )
> @auth_basic( counters.is_authenticated_user )
> def listall( pymydb ):
This declar
On 09Oct2019 16:50, DL Neil wrote:
Another option might be to add a symlink* from the application's
directory to wherever you've downloaded and expanded the GitHub .zip
archive.
I do this. A current project is using Spectra's ds3 Python library.
The project itself has a directory for the add
On 9/10/19 4:34 PM, jf...@ms4.hinet.net wrote:
jf...@ms4.hinet.net於 2019年10月8日星期二 UTC+8上午10時45分36秒寫道:
For example:
from my-dir import test
I know it can be solved by renaming, but any alternative?
--Jach
Maybe another (better?) solution is:
import sys
sys.path.append(r'my-dir')
import test
jf...@ms4.hinet.net於 2019年10月8日星期二 UTC+8上午10時45分36秒寫道:
> For example:
> from my-dir import test
>
> I know it can be solved by renaming, but any alternative?
>
> --Jach
Maybe another (better?) solution is:
import sys
sys.path.append(r'my-dir')
import test
--Jach
--
https://mail.python.org/mail
On Wed, Oct 9, 2019 at 12:56 PM DL Neil via Python-list
wrote:
>
> On 9/10/19 2:46 PM, Chris Angelico wrote:
> > On Wed, Oct 9, 2019 at 12:36 PM DL Neil via Python-list
> > wrote:
> ...
>
> > (Or just using pip to install directly from GitHub, although not
> > everyone knows that that's possible.
On 9/10/19 2:46 PM, Chris Angelico wrote:
On Wed, Oct 9, 2019 at 12:36 PM DL Neil via Python-list
wrote:
...
(Or just using pip to install directly from GitHub, although not
everyone knows that that's possible.)
Come on, you just knew I was going to ask how...
--
Regards =dn
--
https://mai
On Wed, Oct 9, 2019 at 12:36 PM DL Neil via Python-list
wrote:
>
> On 9/10/19 2:12 PM, jf...@ms4.hinet.net wrote:
> > dieter於 2019年10月8日星期二 UTC+8下午1時33分20秒寫道:
> >> jf...@ms4.hinet.net writes:
> >>> ...
> >>> But most of the download from Github has a directory named '-master'
> >>> which caus
On 9/10/19 2:12 PM, jf...@ms4.hinet.net wrote:
dieter於 2019年10月8日星期二 UTC+8下午1時33分20秒寫道:
jf...@ms4.hinet.net writes:
...
But most of the download from Github has a directory named '-master' which
causes a trouble sometimes.
Those are likely not meant to be imported directly.
Typically, y
The first release candidate of Python 2.7.17 is now available for download and
testing. Python 2.7.17 includes 80 fixes over Python 2.7.16.
Downloads may be found on python.org:
https://www.python.org/downloads/release/python-2717rc1/
Read the full changelog at:
https://raw.githubuser
dieter於 2019年10月8日星期二 UTC+8下午1時33分20秒寫道:
> jf...@ms4.hinet.net writes:
> > ...
> > But most of the download from Github has a directory named '-master'
> > which causes a trouble sometimes.
>
> Those are likely not meant to be imported directly.
>
> Typically, you have a "setup" step which i
> On 7 Oct 2019, at 00:44, Ian Pilcher wrote:
>
> On 10/6/19 12:55 PM, Barry Scott wrote:
>> Then the answer to your question is simple. Do it in python and passt
>> logger into the C++ module.
>
> Funny thing, that's exactly where I started this journey. I couldn't
> figure out how to get t
plugin = bottle_pymysql.Plugin( dbuser='user', dbpass='pass',
dbname='counters', dictrows=False )
app.install(plugin)
...
...
@app.route( '/' )
@auth_basic( counters.is_authenticated_user )
def listall( pymydb ):
But when i try to load the app's URL like http://superhost.gr/clientele a
Cameron Simpson 于2019年10月8日周二 下午12:25写道:
>
> On 08Oct2019 02:49, Hongyi Zhao wrote:
> >On Tue, 08 Oct 2019 06:28:05 +0530, Pankaj Jangid wrote:
> >> A very good use-case is when you have both, python2 and python3
> >> installed.
> >> python2 -m pip install mod
> >> python3 -m pip install mod
> >>
On Tue, Oct 8, 2019 at 7:27 AM dieter wrote:
> Geoff Bache writes:
> > Yes, this is hard, that's why I'm here :)
> >
> > I've enabled the equivalent tools to valgrind in Visual Studio, and tried
> > setting PYTHONMALLOC=debug, but neither of those seem to be showing
> > anything either. I don't
Hongyi Zhao 于2019年10月8日周二 下午4:53写道:
>
> Cameron Simpson 于2019年10月8日周二 下午12:25写道:
> >
> > On 08Oct2019 02:49, Hongyi Zhao wrote:
> > >On Tue, 08 Oct 2019 06:28:05 +0530, Pankaj Jangid wrote:
> > >> A very good use-case is when you have both, python2 and python3
> > >> installed.
> > >> python2 -m
Thankyou!!!
That was it. Saved me a lot of time debugging no doubt and potential nasty
problems at customer sites etc.
I must admit I had just pattern-matched with these functions but had no
idea that some of them stole references. I still don't really understand
why, the docs say it is a "common
You might just consider working with the BuildBot project to add support
for lighter weight build workers.
Re-Re-Re-inventing the wheel is almost always wasted effort.
On Tue, Oct 8, 2019 at 8:33 AM Rhodri James wrote:
> On 08/10/2019 11:22, Simon Connah wrote:
> > I'm posting this message as a
On 08/10/2019 11:22, Simon Connah wrote:
I'm posting this message as a way to gauge interest in the project and
to see if it is worth moving forward with. There are probably hundreds
of CI/CD tools out there and many more general devops tools but what I
want to build is a CI/CD tool that ONLY s
I'm posting this message as a way to gauge interest in the project and
to see if it is worth moving forward with. There are probably hundreds
of CI/CD tools out there and many more general devops tools but what I
want to build is a CI/CD tool that ONLY supports Python 3.6 or greater
and only ru
Piet van Oostrum wrote:
> Chris Angelico writes:
>
>> I'm not sure what's going on here, and it's probably not actually
>> enum-specific, but that's where I saw it.
>>
>> If you create a plain class and have an attribute with an annotation,
>> you can see that:
>>
> class Foo:
>> ... spa
20 matches
Mail list logo