On Thu, Feb 9, 2017 at 6:03 PM, ast wrote:
> class Temperature:
> def __init__(self):
>self.value = 0
>
> # @property
>def celsius(self):return self.value
> celsius = property(celsius)
> # @celsius.setter def celsius(self, value):<--
> overwri
Hi
In python courses I read, it is explained that
@decor
def f():
pass
is equivalent to:
def f():
pass
f = decor(f)
But that's not always true. See this code
class Temperature:
def __init__(self):
self.value = 0
# @property
def celsius(self):
return self.va
On 08Feb2017 18:56, Andreas Paeffgen wrote:
The Problem with the subprocess code is: Using the sourcecode
functioning as normal.
The frozen app with cx_freeze on every platform just returns an empty result
I don't know what the sentence above above cx_freeze means.
Here is the code in short
The Problem with the subprocess code is: Using the sourcecode
functioning as normal.
The frozen app with cx_freeze on every platform just returns an empty result
Here is the code in short:
def get_path_pandoc():
settings = QSettings('Pandoc', 'PanConvert')
path_pandoc = settings.value
> myBlurb = "My Favorite Cars -
> My favorite cars are available at " +
> myText + "
>
> What am I missing here?
Sorry about posting in python group. My XML coding was embedded in python
script. I will do better next time.
The problem was with placement of tags. The following worked:
myB
On 2/8/2017 6:26 AM, Cecil Westerhof wrote:
In Java you (can) use a properties file store configuration. What is
the best way to do something like that in Python?
I saw ConfigParser, but have the feeling that it is not really used.
IDLE uses it for default and user configuration files.
--
Ter
Kelvid Pang wrote, on February 06, 2017 10:22 PM
>
> hi,
>
> I am trying to gmail api with reference to this URL:
> https://developers.google.com/gmail/api/quickstart/python
>
>
> But I couldn't find the
> 'gmail-python-quickstart.json' file. Any one can help? thanks.
You likely won't have a
From: Cecil Westerhof
On Wednesday 8 Feb 2017 13:11 CET, Peter Heitzer wrote:
> Cecil Westerhof wrote:
>> In Java you (can) use a properties file store configuration. What
>> is the best way to do something like that in Python? I saw
>> ConfigParser, but have the feeling that it is not really
From: Pavol Lisy
On 2/7/17, Steven D'Aprano wrote:
> On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote:
[...]
>> But when I try to bold, it bombs. It does not seem to like either of
>> these (+ myText + "") (separately or together) appended on the
>> end.
>
> How are you trying to bold? If
From: Michael Torrie
On 02/08/2017 04:26 AM, Cecil Westerhof wrote:
> In Java you (can) use a properties file store configuration. What is
> the best way to do something like that in Python?
> I saw ConfigParser, but have the feeling that it is not really used.
> Would a JSON file be a good idea?
From: Deborah_Swanson@f38.n261.z1
From: Deborah_Swanson@f38.n261.z1
From: "Deborah Swanson"
I don't see any Python in your code. The python.org list isn't generally
familiar with Microsoft proprietary code, which is often quite different from
other versions. Try asking this question in Microsof
From: kelvidpang@f38.n261.z1
From: kelvidpang@f38.n261.z1
From: kelvidp...@gmail.com
On Monday, 6 February 2017 22:43:17 UTC+8, Meeran Rizvi wrote:
> Hello guys,
> Here i am writing a script which will open my chrome browser and opens the
URL www.google.com.
> But how to search for a data via s
From: "Deborah Swanson"
Cute, whoever you are. Very cute. (I know how to sign up for fake email
addresses too.)
> -Original Message-
> From: Python-list
> [mailto:python-list-bounces+python=deborahswanson.net@python.o
> rg] On Behalf Of Deborah_Swanson@f38.n261.z1
> Sent: Monday, Februar
From: John_Gordon@f38.n261.z1
From: John_Gordon@f38.n261.z1
From: John Gordon
In "Deborah Swanson"
writes:
> bajimicb...@gmail.com wrote, on February 02, 2017 2:44 AM
> >
> > for start of month to the beginning of next month
> >
> > from datetime import timedelta
> > from dateutil.relativede
On 02/08/2017 03:26 AM, Cecil Westerhof wrote:
In Java you (can) use a properties file store configuration. What is
the best way to do something like that in Python?
I saw ConfigParser, but have the feeling that it is not really used.
Would a JSON file be a good idea?
In the interest of trying
On 02/08/2017 04:26 AM, Cecil Westerhof wrote:
> In Java you (can) use a properties file store configuration. What is
> the best way to do something like that in Python?
> I saw ConfigParser, but have the feeling that it is not really used.
> Would a JSON file be a good idea?
I've used ConfigParse
On 2017-02-08, Cholo Lennon wrote:
> On 02/08/2017 08:26 AM, Cecil Westerhof wrote:
>> In Java you (can) use a properties file store configuration.
>> What is the best way to do something like that in Python? I
>> saw ConfigParser, but have the feeling that it is not really
>> used.
>
> I use it a
On Wednesday 8 Feb 2017 13:11 CET, Peter Heitzer wrote:
> Cecil Westerhof wrote:
>> In Java you (can) use a properties file store configuration. What
>> is the best way to do something like that in Python? I saw
>> ConfigParser, but have the feeling that it is not really used.
>> Would a JSON fi
2017-02-08 13:34 GMT+01:00 Cholo Lennon :
> On 02/08/2017 08:26 AM, Cecil Westerhof wrote:
>>
>> In Java you (can) use a properties file store configuration. What is
>> the best way to do something like that in Python?
>> I saw ConfigParser, but have the feeling that it is not really used.
>
>
> I
On 02/08/2017 08:26 AM, Cecil Westerhof wrote:
In Java you (can) use a properties file store configuration. What is
the best way to do something like that in Python?
I saw ConfigParser, but have the feeling that it is not really used.
I use it a lot ;-)
Would a JSON file be a good idea?
-
Cecil Westerhof wrote:
>In Java you (can) use a properties file store configuration. What is
>the best way to do something like that in Python?
>I saw ConfigParser, but have the feeling that it is not really used.
>Would a JSON file be a good idea?
If you only want to read the configuration, just
In Java you (can) use a properties file store configuration. What is
the best way to do something like that in Python?
I saw ConfigParser, but have the feeling that it is not really used.
Would a JSON file be a good idea?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.c
Thank you, with your help, we have added events on the t-shirt.
Now, Could you just add them on python.org/events ?
Have a nice day,
Stephane
On 9 Jan 2017, at 10:54, Stephane Wirtel via Python-list wrote:
Dear Community,
For the PythonFOSDEM [1] on 4th and 5th February in Belgium, I would
23 matches
Mail list logo