On Monday, November 13, 2017 at 6:03:23 PM UTC-6, joshj...@gmail.com wrote:
> for importing obfuscate do we just type in import obfuscate
> or import obfuscate 0.2.2
Oh boy. I had forgotten about this little community "gem"
dating back to 2010. And unfortunately for comrade Steven,
there is no way
On Monday, November 13, 2017 at 10:59:06 AM UTC-6, bvdp wrote:
> Thanks all for confirming that I was wrong to use "from ..
> import".
In this case, but i wouldn't extrapolate that advice to mean
that the form `from X import Y` is _always_ bad. You just
need to understand the consequences of each
Chris Angelico wrote:
> Edward Montague wrote:
> > After successfully installing python 3.6.3 and the
> > appropriate version of IDLE , I attempted to run a matchpy
> > example , to no avail . I'm using a debian distribution ,
> > 8.x or greater , is there something I need to be aware of
> > . The
for importing obfuscate do we just type in import obfuscate or import obfuscate
0.2.2
--
https://mail.python.org/mailman/listinfo/python-list
well, yeah, it's unidirectional and final destination is always the same
and have little to do with the question.
Say, i have a dict:
fut_suffix ={ 1 : 'F',
2 : 'G',
3 : 'H',
4 : 'J',
5 : 'K',
6 : 'M',
7 : 'N',
My implied solution is incorrect.
I should start with using the date type and, for example, dateutil package
for date manipulation and building the dictionary of needed dates/months.
And only after that, map against the fut_suffix.
On Tue, Nov 14, 2017 at 12:56 AM, Andrew Z wrote:
> well, yea
Hello,
i wonder how do i get the "for" and "if" to work against a dictionary in
one line?
basically i want to "squeeze":
dct= [ 1 : "one", 2:"two", 3:"three"]
for k, val in dct:
if k >= 2:
# do magnificent things
Thank you
AZ
--
https://mail.python.org/mailman/listinfo/python-list
Skip Montanaro writes:
> Thanks, Justin. I imagine editors probably exist which can switch between
> WYSIWYG and markup.
The ‘rsted’ app https://github.com/anru/rsted> is a
reStructuredText WYSIWYG editor written in the Flask framework.
--
\ “Remember: every member of your ‘target audie
Hi,
Can anybody recommend a good, preferably recent, book about Spark and Pyspark?
I am using Pyspark now, but I am looking for a book that also gives a thorough
background about Spark itself. I've been looking around on e.g. Amazon but, as
the saying goes, one can't judge a book by its cover.
On Tue, Nov 14, 2017 at 3:58 AM, bvdp wrote:
> Thanks all for confirming that I was wrong to use "from .. import". Hmmm,
> perhaps for functions it might be okay. But, in most cases it's a lot more
> obvious to use module.function() when calling. Maybe a bit slower, but I'm
> sure it's negligib
On Mon, Nov 13, 2017 at 1:16 AM, M.-A. Lemburg wrote:
> Hi Justin,
>
> the default markup is currently set to restructuredtext:
>
> https://github.com/python/pythondotorg/blob/master/jobs/models.py
>
> but this can be changed to any of these supported ones:
>
> https://github.com/jamesturk/django
On Sunday, November 12, 2017 at 7:18:04 PM UTC-7, bvdp wrote:
> I'm having a conceptual mind-fart today. I just modified a bunch of code to
> use "from xx import variable" when variable is a global in xx.py. But, when I
> change/read 'variable' it doesn't appear to change. I've written a bit of
On Sunday, November 12, 2017 at 8:18:04 PM UTC-6, bvdp wrote:
> I'm having a conceptual mind-fart today. I just modified a bunch of code to
> use "from xx import variable" when variable is a global in xx.py. But, when I
> change/read 'variable' it doesn't appear to change. I've written a bit of
Hi Justin,
the default markup is currently set to restructuredtext:
https://github.com/python/pythondotorg/blob/master/jobs/models.py
but this can be changed to any of these supported ones:
https://github.com/jamesturk/django-markupfield
as long as we make sure that all existing records contin
14 matches
Mail list logo