W dniu piątek, 2 grudnia 2016 21:51:08 UTC+1 użytkownik codew...@gmail.com
napisał:
> Something like this: https://marketplace.django-cms.org/en/ ?
Hey, that's nice solution, good to know that there is site like this :D Thanks
--
https://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
> Mehrzad Irani wrote:
>
>> Hi All,
>>
>> Consider the situation
>> [cti@iranim-rhel python_cti]$ cat a.py
>> def a(a = 1, b = 2, c = 3, *d, **e):
>> print(a, b, c)
>> print(d)
>> print(e)
>>
>> r = {'e': 7, 'f': 8, 'g': 9}
>>
>>
>> a(**r)
>> a(3, **
On Mon, Dec 5, 2016 at 4:20 PM, Steven D'Aprano
wrote:
> And you thought Agile development was simple:
>
> https://pbs.twimg.com/media/CyjbCtGXcAEhQi8.jpg:large
>
Agile may be complicated to explain, but it's so easy to use. This guy
understands it.
https://twitter.com/PHP_CEO/status/66423719736
And you thought Agile development was simple:
https://pbs.twimg.com/media/CyjbCtGXcAEhQi8.jpg:large
--
Steven
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." - Jon Ronson
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, Dec 4, 2016 at 10:19 PM, BartC wrote:
>
> Command parameters /do/ behave differently between Windows and Linux, for
> example try writing *.* as that third parameter.
>
> In Windows, it will print *.*.
In Windows each program parses its own command line. Most C/C++
programs use the CRT's
On 2016-12-04 22:52, Steve D'Aprano wrote:
On Mon, 5 Dec 2016 07:26 am, DFS wrote:
$python program.py column1=2174 and column2='R'
Here is a simple script demonstrating the issue:
# --- program.py ---
import sys
print "argv:", sys.argv
print ' '.join(sys.argv[1:])
I haven't tested it on
On Mon, 5 Dec 2016 09:19 am, BartC wrote:
> Command parameters /do/ behave differently between Windows and Linux,
> for example try writing *.* as that third parameter.
>
> In Windows, it will print *.*.
>
> In Linux, if you have 273 files in the current directory, if will print
> the name of th
On Mon, Dec 5, 2016 at 9:52 AM, Steve D'Aprano
wrote:
> I'm not sure how to interpret this error, so I'm guessing. Please correct me
> if I'm wrong, but doesn't this mean that your column is called:
>
> single quote R single quote
>
> that is, literally 'R', which means that if you were using it i
Steve D'Aprano wrote:
On Mon, 5 Dec 2016 07:26 am, DFS wrote:
no such column: R
doesn't this mean that your column is called:
single quote R single quote
I think he intends it to be an SQL string literal (which uses
single quotes), but since the quotes disappeared, SQL is trying
to interpr
On Mon, Dec 5, 2016 at 9:19 AM, BartC wrote:
> Command parameters /do/ behave differently between Windows and Linux, for
> example try writing *.* as that third parameter.
>
> In Windows, it will print *.*.
>
> In Linux, if you have 273 files in the current directory, if will print the
> name of t
On Mon, 5 Dec 2016 07:26 am, DFS wrote:
> $python program.py column1=2174 and column2='R'
Here is a simple script demonstrating the issue:
# --- program.py ---
import sys
print "argv:", sys.argv
print ' '.join(sys.argv[1:])
I haven't tested it on Windows, but on Linux it behaves as you descr
On 04/12/2016 20:26, DFS wrote:
$python program.py column1=2174 and column2='R'
Windows (correct)
$print sys.argv[3]
column2='R'
Linux (incorrect)
$print sys.argv[3]
column2=R
It drops the apostrophes, and the subsequent db call throws an error:
sqlite3.OperationalError: no such column: R
Th
On Mon, Dec 5, 2016 at 6:14 AM, Terry Reedy wrote:
> On 12/3/2016 7:31 PM, Chris Angelico wrote:
>>
>> On Sun, Dec 4, 2016 at 11:10 AM, Terry Reedy wrote:
But the expression result isn't even used. So this is better written:
>>>
>>>
>>> matplotlib.pyplot.xlabel sets x-axis scaling, with
On 12/3/2016 7:31 PM, Chris Angelico wrote:
On Sun, Dec 4, 2016 at 11:10 AM, Terry Reedy wrote:
But the expression result isn't even used. So this is better written:
matplotlib.pyplot.xlabel sets x-axis scaling, with no documented return
value.
http://matplotlib.org/api/pyplot_api.html#matplo
For those of you, who like PyQt{4,5} as much as I do, as well as for those who
don't like it that much, because of the poor integration with setuptools
et.al., here's another piece of software to bridge the gap:
A distutils build extension for PyQt{4,5} applications
that makes handling
15 matches
Mail list logo