On 08/20/2018 06:07 AM, Νίκος wrote:
> Iam trying to access the bottle web framework running on my VPS as
>
> http://superhost.gr:8080/hello
>
> i get connection refused
> The weird thing is that in my vps command line my hello app is in state of
> listening
>
> [root@superhost public_html]# p
Τη Δευτέρα, 20 Αυγούστου 2018 - 7:18:16 μ.μ. UTC+3, ο χρήστης Chris Warrick
έγραψε:
> On Mon, 20 Aug 2018 at 18:15, Νίκος wrote:
> >
> > Τη Δευτέρα, 20 Αυγούστου 2018 - 9:49:00 π.μ. UTC+3, ο χρήστης Miki Tebeka
> > έγραψε:
> > > If you're trying to access the machine from another machine, you ne
Τη Τρίτη, 21 Αυγούστου 2018 - 4:39:50 μ.μ. UTC+3, ο χρήστης Michael Torrie
έγραψε:
> On 08/20/2018 06:07 AM, Νίκος wrote:
> > Iam trying to access the bottle web framework running on my VPS as
> >
> > http://superhost.gr:8080/hello
> >
> > i get connection refused
>
> > The weird thing is that
On Tue, 21 Aug 2018 00:36:56 +, Dan Sommers wrote:
[...]
(Not that I do this using "inner classes", but I do often want to use
a class as a container for functions, without caring about "self" or
wrapping everything in staticmethod.)
>>>
>>> Isn't that what modules are for? (I
I am using for my logger
handler.setFormatter(SimpleJsonFormatter(json.dumps))
It had some default fields - timestamp, function, line_number, module, level
and flexibility to provide extra fields in json log with use of
logger.info("my test message", extra={"anotherfield1": "test"})
I am u
Is this a good example to follow for a project that does mostly python to
interact with external data sources including files, transformation, and import
into Postgres?
https://github.com/bast/somepackage
I have a SWE background but not with python, and I want to make sure my team is
following
are there other places also? On pypi I did not see anywhere the status of
defects or downloads, if it's actively supported.
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, August 21, 2018 at 9:48:50 AM UTC-6, Jeff M wrote:
> are there other places also? On pypi I did not see anywhere the status of
> defects or downloads, if it's actively supported.
nevermind, i see the info i was looking for on the left side.
--
https://mail.python.org/mailman/listinf
Hi,
I am looking for a way to save ini file with application section/option
combination. Something like the following:
[Default]
ROOT_DIR= /home/...
RUN = True
COUNTER = 5
LAST_VALUE = 5.6
TEST_FILES_LIST=['a.txt', 'b.txt', 'c.txt']
TEST_FILES_DICT={'CASE1' : ['a.txt', 'b.txt'], 'CASE2': ['c.
shradha...@gmail.com wrote:
> I am using for my logger
>
> handler.setFormatter(SimpleJsonFormatter(json.dumps))
Where does SimpleJsonFormatter come from?
If it uses the json.dumps argument to serialize a dict you may pass a
modified version instead:
# untested
KEYS_TO_IGNORE = {"fields", "yo
https://docs.python.org/3.7/library/logging.html#logging.Logger.debug
https://docs.python.org/3.7/library/logging.html#logging.Formatter.format
Basically your Formatter string doesn't include %(anotherfield1)s in it
anywhere, so that gets ignored. To have a variable number of those in there
you
Gregory Ewing :
> Marko Rauhamaa wrote:
>> Lexically, there is special access:
>>
>>class C:
>>def __init__(self, some, arg):
>>c = self
>>class D:
>>def method(self):
>>access(c)
>>access(some)
>>
zljubi...@gmail.com wrote:
> 1. saving json will result in unordered ini file. It could be solved by
> using OrderedDict that will than with json.dumps be saved to file in the
> same order as options are added to the ordered dict.
dict-s are guaranteed to keep insertion order in Python 3.7, see
On Wed, Aug 22, 2018 at 2:38 AM, Marko Rauhamaa wrote:
> Gregory Ewing :
>
>> Marko Rauhamaa wrote:
>>> Lexically, there is special access:
>>>
>>>class C:
>>>def __init__(self, some, arg):
>>>c = self
>>>class D:
>>>def method(self):
>>>
What’s up?
I am building up the microsite based on Bottle framework now.
Any references/books? I am unfamiliar with this framework yet.
Thanks!
--
https://mail.python.org/mailman/listinfo/python-list
On 8/21/2018 11:46 AM, Jeff M wrote:
Is this a good example to follow for a project that does mostly python to
interact with external data sources including files, transformation, and import
into Postgres?
https://github.com/bast/somepackage
AFAIK, the recommendations in the README are a pla
On 8/21/2018 11:48 AM, Jeff M wrote:
are there other places also? On pypi I did not see anywhere the status of
defects or downloads, if it's actively supported.
There is another good place for packages that need Windows binaries.
For this and previous post, most information from you can allo
>
> I am building up the microsite based on Bottle framework now.
> Any references/books? I am unfamiliar with this framework yet.
>
> I have used it with success. The online documentation was sufficient for
my needs, at least.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, Aug 21, 2018 at 12:06 PM Dennis Lee Bieber
wrote:
>
> On Mon, 20 Aug 2018 05:07:59 -0700 (PDT), ?
> declaimed the following:
>
> >?? ???, 20 ? 2018 - 7:59:06 ?.?. UTC+3, ? ??? dieter ??:
> >> ? writes:
>
> >> >
> >> > run(host='localhost', port=8080)
> >>
> >>
I would like to list all possible ways to put N students in groups of k
students (suppose that k divides N) with the restriction that no two students
should ever meet each other in more than one group.
I think this is a classical problem and I think there must be a python solution
out there but
On Wed, Aug 22, 2018 at 7:09 AM, Joel Goldstick
wrote:
> although i don't offer advice too often here, as i am kind of
> retired., this is extremely reminiscent of a whole lot of server issue
> posts from I believe this same OP some years ago. It will soon become
> a rabbit hole. take care to ge
On Tue, 21 Aug 2018 14:36:30 -0700, Poul Riis wrote:
> I would like to list all possible ways to put N students in groups of k
> students (suppose that k divides N) with the restriction that no two
> students should ever meet each other in more than one group. I think
> this is a classical problem
On Wed, 22 Aug 2018 03:58:29 +1000, Chris Angelico wrote:
> On Wed, Aug 22, 2018 at 2:38 AM, Marko Rauhamaa
> wrote:
>> Gregory Ewing :
>>
>>> Marko Rauhamaa wrote:
Lexically, there is special access:
class C:
def __init__(self, some, arg):
c = self
>
On Wed, Aug 22, 2018 at 10:39 AM, Steven D'Aprano
wrote:
> On Wed, 22 Aug 2018 03:58:29 +1000, Chris Angelico wrote:
>
>> On Wed, Aug 22, 2018 at 2:38 AM, Marko Rauhamaa
>> wrote:
>>> Gregory Ewing :
>>>
Marko Rauhamaa wrote:
> Lexically, there is special access:
>
>class C:
Hello All,
I have started a magazine for Data Science enthusiasts which brings you every
week the latest happenings in the world of Data Science. You can get the first
issue here https://datasciencenews.herokuapp.com/2018/08/19/issue-1.html
- Karthikeyan A K
--
https://mail.python.org/mailman/l
25 matches
Mail list logo