On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.4. This release comes with some new features
and a handful of bug fixes.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.3. This is a bugfix release, which fixes
compatibility with python-markdown and two more minor bugs.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It
is rebuilding only what has been changed).
Find out more at the website: https://getnikola.com/
Downloads
=
Install using `pip install Nikola`.
Changes
===
* Compatibility with Pygments 2.12.0 (Issue #3617, #3618)
--
Chris Warrick <https://chriswarrick.com>
PGP: 5E
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.1. This is a minor release with a couple
new features, as well as fixes for compatibility with the latest
version of doit.
What is Nikola?
===
Nikola is a static site and blog generator,
ratio to 3:1 and document behaviour.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
OpenPGP_signature
Description: OpenPGP digital signature
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.1.3. This release has some minor fixes, and
a minor dependency change.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2
New submission from Chris Warrick :
When formatting decimal.Decimal using old-style formatting (%g), the output is
as short as possible, as expected. When using new-style formatting (str.format
or f-strings), the output uses the input precision. Floats behave correctly
with new-style
tags (Issue #3405)
* Fix handling of duplicate plugins on Windows
* Allow else clause in post-list plugin. (Issue #3436)
* Ensure `type` metadata value from plugins is preserved (Issue 3445)
* Fix path handlers with slashes on Windows
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
requesting no line numbers. Listing pages still use line numbers
(Issue #3426)
* Remove duplicate MathJax config in bootstrap themes (Issue #3427)
* Fix ``doit`` requirement to ``doit>=0.32.0`` (Issue #3422)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
signature.asc
De
contents.
* Added Post.save() method to modify Post contents.
* Made is_two_file a property that uses save()
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
signature.asc
Description: OpenPGP digital signature
___
Python-announce-list maili
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.0.4. This release fixes a few small bugs,
including a date glitch that appeared around New Year’s Eve.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.0.3. This release fixes a few bugs, including
a notable one with galleries not working on mobile.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can
u mean.
Type comments are now best replaced by Python 3.6+ variable
annotations, but the comments are still valid, and can be used in some
contexts where annotations are not supported.
https://www.python.org/dev/peps/pep-0484/#type-comments
--
Chris Warrick <https://chriswarrick.com/>
PGP:
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.0.2. This is a quality-of-life release
with a handful of bug fixes, two new translations and a few extra features.
What is Nikola?
===
Nikola is a static site and blog generator, written in
our knowledge — for example, because these modules are
required by the interpreter itself, or are part of IDLE. The number
you see depends on the environment (I got 530 in ipython3, 34 in
python3, 45 in python2) and is not in any way important.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
olproof as INI though).
> 3. File location? I'm using Ubuntu and I believe that the correct
> location would be home/.config/ . What about Mac and Windows?
https://pypi.org/project/appdirs/
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
st. Also, even if you promise
to filter out private packages, they *do* reach your server, and many
people would prefer that didn’t happen.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
o remove this paragraph, because I don’t think
anyone would find it useful; in fact, it would only confuse people.
Here’s a diff for anyone interested in the original content:
https://en.wikipedia.org/w/index.php?title=Python_(programming_language)=prev=861064627
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
run some of my code that import beautyfulsoup it fails (python
> mycode.py), althoug running
> directly ./env-p3/python3.5 mycode.py is working...
Was the virtualenv copied between machines or directories? If yes: you
can’t do that, you must create a new virtualenv in the desired
location and in
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.0.1. Some bugs were fixed; more importantly,
we pinned down the Markdown package version due to incompatibilities.
What is Nikola?
===
Nikola is a static site and blog generator, written in
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.0.0. After 15 months in development, we’ve
created our best release ever, with new features, many bugs squashed,
and some improvements under the hood.
What is Nikola?
===
Nikola is a static
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.0.0rc1. This is the end of the road to Nikola
version 8. Within 48 hours, assuming there are no grave bugs reported in
that timeframe, we intend to release v8 final.
What is Nikola?
===
Change by Chris Warrick :
--
nosy: +Kwpolska
___
Python tracker
<https://bugs.python.org/issue23057>
___
___
Python-bugs-list mailing list
Unsubscribe:
e interfaces.
> Even with that still i cannot access the hello app.
You should avoid exposing the built-in web server to the Internet.
Either way, are you sure you don’t have any firewall set up on the
server?
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
On Tue, 7 Aug 2018 at 00:52, Gregory Ewing wrote:
>
> Chris Warrick wrote:
> > The unusual domain is a common staple of Mailchimp, which is an e-mail
> > newsletter platform (it was used to mail out the announcement), and
> > they replace all links with tracking ones
e announcement), and
they replace all links with tracking ones in their list-manage.com
domain. (They also implement the GDPR in an anti-user/pro-spam
fashion, but I digress.)
[1]: https://status.python.org/incidents/nk7cyn2vh4wr
[2]: https://github.com/pypa/warehouse/issues/3632
--
Chris Wa
broken.
>
> Is there another way to insert a pause that will work with PyCharm?
> --
> https://mail.python.org/mailman/listinfo/python-list
How does it fail? What PyCharm version are you on?
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
ts API from v1, and ipython doesn’t support the new one yet.
Don’t randomly upgrade pip packages without knowing what the upgrade
entails, especially if the version changed from 1.x to 2.x (x.y →
x+1.y) — that usually means an API change and possible
incompatibilities in dependent packages. Upg
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.15 and v8.0.0b1.
Nikola v7.8.15 is the last v7 maintenance release with a few more bug fixes.
Nikola v8.0.0b1 (Beta 1) is the first test release of the v8 series.
The v8 series adds a ton of new
o install the modules using the
virtualenv’s pip.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
rint("python\rhi")
hithon
(PS. it’s better to use a stable version, especially when you’re
learning. PPS. file attachments do not work on this list.)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16On
9 March 2018 at 01:07, 노연수 mailto:clear0...@naver.com;
ta
ter_by_character/UTF8#Python
No, it’s terrible. So is the Python 3 version. All you need for both
Pythons is this:
import io
with io.open('input.txt', 'r', encoding='utf-8') as fh:
for character in fh:
print(character)
(and please make sure you need to read character-by-character firs
tead, you need to split it into lines, first stripping
whitespace (starts and ends with an empty line).
s = s.strip().replace("=",":")
print s
d = {}
for i in s.split('\n'):
try:
key, val = i.split(":")
d[key.strip()] = val.strip()
except ValueError:
print "no key:value pair found in", i
(PS. please switch to Python 3)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
ssible* to copy text from.
Most standard error popups support pressing Ctrl+C to copy the text
displayed in them.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
ent
> next time?
cd into your virtualenv directory and run `source bin/activate`.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
rly:
https://chriswarrick.com/blog/2017/06/18/unix-locales-vs-unicode/
(Nikola’s co-maintainer over here.)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
qlclient. There are also other PostgreSQL libraries
available.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
On 22 October 2017 at 13:48, Chris Angelico <ros...@gmail.com> wrote:
> On Sun, Oct 22, 2017 at 10:34 PM, Chris Warrick <kwpol...@gmail.com> wrote:
>> On 22 October 2017 at 13:25, Lele Gaifax <l...@metapensiero.it> wrote:
>>> Chris Warrick <kwpol...@gmail.co
On 22 October 2017 at 13:25, Lele Gaifax <l...@metapensiero.it> wrote:
> Chris Warrick <kwpol...@gmail.com> writes:
>
>> Zope is effectively dead these days.
>
> Except it's alive and kicking: https://blog.gocept.com/
>
> :-)
>
> ciao, lele.
A
panel
* i18n support available for when you need it
* it’s a modern, friendly web framework
If you went with Flask, you’d end up with a pile of plugins (for auth,
for databases, for other things) and reimplement half of Django,
badly.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
So, if you’re working in text mode (which also handles
encodings and returns Unicode strings on Python 3), you can just
assume '\n'.
If you’re curious what the local newline is, look at os.linesep:
https://docs.python.org/3/library/os.html#os.linesep
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
, s)
This will print "s is False".
You can also replace your earlier `if` with:
>>> print((20 - 10) > 15)
(False will appear upper-case, of course.)
PS. don’t use semicolons with Python. Avoid eval() as well.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
wouldn’t
try the rewrite, or they would port the older codebase to Python 3 so
that it could be shipped. (They’re currently at Beta 2 of the
post-rewrite 4.0.0 version.)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
On 10 September 2017 at 11:24, Leam Hall <leamh...@gmail.com> wrote:
> On 09/10/2017 04:19 AM, Chris Warrick wrote:
>>
>> On 10 September 2017 at 09:30, Marko Rauhamaa <ma...@pacujo.net> wrote:
>>>
>>> INADA Naoki <songofaca...@gmail.com>:
&
nged, check if the PR is
“clean” (download diff from GitHub, find whitespace-only changes?) and
use the GitHub API to close PRs/comment on them/set status checks to
“failed”.
(Closing those PRs might be seen as harsh and discouraging to new contributors)
--
Chris Warrick <https://chriswarrick.co
On 9 August 2017 at 17:14, Steve D'Aprano <steve+pyt...@pearwood.info> wrote:
> On Wed, 9 Aug 2017 07:12 pm, Chris Warrick wrote:
>
>> So, I started by writing my opinion of those recommendations, and that
>> the “community” is very small (<1k Twitter followers, 2.7k Fac
org/3/tutorial/index.html
All three are free to read online.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
>
> `read()` is empty string ('' or b''). `status` is 302. `reason` is `Found`.
https://en.wikipedia.org/wiki/HTTP_302
See that Location header? The web server wants to redirect you
somewhere. Your low-level HTTP library does not handle redirects
automatically, so you’d need to take care of that yourself.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
Why are you trying to compile Python manually? You should use Homebrew to
install Python in 99% of cases. (The package is python3)
--
Chris Warrick <https://chriswarrick.com/>
--
https://mail.python.org/mailman/listinfo/python-list
signatures.
What does “password-protecting” mean? Why is this not “encrypting”?
How do you expect this to work with API keys?
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.8. It fixes some bugs and adds new
features.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2 templates, and input in many
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.7. This is a part-emergency bugfix,
part-world domination release.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2
40 Akamai International B.V.",
> "postal": "02142"
> },
> {
> "ip": "203.185.0.32",
> "hostname": "20318532.ctinets.com",
> "city": "Central District",
> "region": "&qu
91)
Other
-
* Limit Jupyter support to notebook >= 4.0.0 (it already was in
requirements-extras.txt; Issue #2733)
--
Chris Warrick
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Softwa
On 3 May 2017 at 17:58, Victor Porton <por...@narod.ru> wrote:
> Chris Warrick wrote:
>
>> On 3 May 2017 at 17:19, Victor Porton <por...@narod.ru> wrote:
>>> What do you mean by "banned"? Does this mean that Google does not use
>>> software of th
; This quick hack does work for the purpose it was made. This class is
> not feature-rich, but other features are not needed by other parts of
> my software. So it's OK.
No, it’s not okay. Quick hacks are never good when dealing with money.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
L9
Your website is ugly, uses default browser styles, and to me it feels
like you don’t pay attention to important stuff. That’s not someone
who I’d trust to do payments right.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
operator.add is a
prettier way to achieve the same result.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.4. It fixes some bugs and adds new
features.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2 templates, and input in many
e HTTP
request, already a waste of time. And then, CGI scripts take input via
random environment variables (not very dependable) and output to
stdout, which is a completely broken architecture. Give up and run a
real web framework (Django) using uWSGI and nginx.
--
Chris Warrick <https://chr
New submission from Chris Warrick:
The itertools recipes list [0] ends with the following dubious advice:
> Note, many of the above recipes can be optimized by replacing global lookups
> with local variables defined as default values. For example, the dotproduct
> recipe can b
elete original”, which takes much longer.
From macOS/BSD manpages, mv(1):
As the rename(2) call does not work across file systems, mv uses
cp(1) and rm(1) to accomplish the move.
See also: https://en.wikipedia.org/wiki/Mv
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
hat I used to
> use. But AFAIK, they all got bought and killed by Microsoft.
Git Bash, or basically msys, is pretty reasonable. But if you are on
Windows 10, you might like the built-in Windows Subsystem for Linux
(aka Bash on Ubuntu on Windows) more — it’s real Linux that runs
alongside Windows, but less crazy than Cygwin.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
cryptography,idna.
>
> The reason I'm asking is because I'm moving an application to python 3 and I
> am testing out which requirements continue to be required in the version.
No, requests[security] is only needed for old Python 2.7 versions
(before 2.7.9).
--
Chris Warrick <https://chriswarr
hon 3.6, you need to install it for
that version (most likely, with pip) and make sure there is an
ipython3 executable in your $PATH pointing at 3.6. You don’t need to
remove IPython for 3.4 (but you can if you want to get rid of it).
--
Chris Warrick <https://chriswarrick.com/>
PGP:
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.3. This is an emergency bugfix release,
which fixes a bug that prevented ``nikola new_page`` from working.
There has also been a minor change to post sorting order (won’t affect
most sites). The wheel
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.2. It adds a ton of new features, while
also fixing some bugs.
Key Changes
===
* A rewrite of all taxonomies (tags, categories, sections, etc.) in a
generic fashion, allowing for much
Changes by Chris Warrick <kwpol...@gmail.com>:
--
nosy: +Kwpolska
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29134>
___
__
ng a syntax error in Python2. Python3 is fine.
> How can I make this Py2+3 compatible?
With a __future__ import, the Python 3 syntax will work with both Pythons:
from __future__ import print_function
print(s, end="")
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
tten by an asshole and a xenophobe.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
esn’t even do sessions. Unlike
Flask, or of course Django.
Because, as the old saying goes, any sufficiently complicated Bottle
or Flask app contains an ad hoc, informally-specified, bug-ridden,
slow implementation of half of Django.
(In the form of various plugins to do databases, accounts, admin pa
r apache.
Those will do the first two properly, and the last one could be
handled by a simple-ish PHP script. Or a full-fledged app in Django or
Flask if you feel like it.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
m/wp/think-python/
https://automatetheboringstuff.com/
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.1. It fixes some bugs and adds new
features.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2 templates, and input in many
orm GUI libraries
for Python… You are free to use any of those four, though (or anything
less cross-platform). You don’t have to use Tkinter if you don’t like
it. And it’s not a hard requirement on many Linux distributions.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
image rotation to update image size correctly (Issue #2418)
- --
Chris Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
iQEcBAEBCAAGBQJXpJwYAAoJEHECPb1equoW7+8H/0zr6PALMVDfrk21mK/I+9Bg
4zUHptalVa1MGKlhoL2bfbWD5TjTS7LpQniNUSMbo/574dJ6YNlD
ython software? Does Python products contain all parts of a
> developed program or is it a series of 'call' statements?
You must either install a Python interpreter on that machine, or
distribute one with your program.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
lly with user input
— if you were to type in __import__('os').system('…') with some
particularly dangerous command (rm, format, …), you would kill your
system.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
k from the loop. (Ignore
invalid input for now)
2. Ask the user for two numbers.
3. Make an if/elif/else structure to calculate the result.
4. Print out the result outside of `if`.
Example for 3. and 4.:
if user_input == 'add':
result = num1 + num2 # no need to call str() if you use commas in print()
elif user_input == 'subtract':
result = num1 - num2
# other elif clauses go here
print("The result is", result)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
//mail.python.org/mailman/listinfo/python-list
It didn’t. mysql-python is installable with Python 2 only, so you
probably installed it for your system Python 2 install instead of your
Python 3 django virtualenv.
Either way, please use mysqlclient instead, as recommended by the
Django developers.
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.7.9. It fixes some bugs and adds new
features.
For this release, we also passed a milestone — Nikola has got
over 1000 stars on GitHub. Thanks for the
ndable URLs:
https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package
The current link:
https://files.pythonhosted.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz
(URLs in the pypi.io domain were used briefly and will still work)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.7.8. It fixes some bugs and adds new
features.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use
mplate system
that is written in Python and that has similar syntax.
(also, I wouldn’t consider such weird-thing-into-real-HTML template
engines pythonic)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
ike Python does.
That said, this code is designed badly. Here’s a better idea (also,
note the fixed print statement):
for x in range(0, 5):
if x % 2 != 0:
print(x)
Or even with a more suitable range() that adds 2 instead of 1 in each step:
for x in range(1, 5, 2):
print(x)
--
C
not every project needs packages.
It might not need it today, but it will probably grow. At which point
you will notice that a module is not enough. You can also easily
separate code with packages.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
and it will be even neater.
(PS. the page’s really ugly. Consider using Bootstrap or some other
existing framework if you’re not good at designing pretty things.)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
Please use reply-all in the future so that the list sees your message.
On 17 March 2016 at 11:38, Vinicius <m...@vmesel.com> wrote:
> Thanks for replying Chris,
>
> Enviado do meu iPad
>
>> Em 16 de mar de 2016, às 1:18 PM, Chris Warrick <kwpol...@gmail.com>
>&g
cookiecutter:
https://github.com/Kwpolska/python-project-template — it has a
comprehensive `release` script, and follows best practices (including
entry_points or packages instead of modules). It also uses .rst
instead of .md documents.
--
Chris Warrick <https://chriswarrick.com/>
PGP:
around functions when assigning to
variables:
maxim = max(list1)
minim = min(list1)
(Also, list1 is not a good variable name. Try something that describes its
contents.)
--
Chris Warrick <https://chriswarrick.com/>
Sent from my Galaxy S3.
--
https://mail.python.org/mailman/listinfo/python-list
a great framework that does a lot of the hard work for
you. Flask is low-level.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
t; to work offline.
>
> thanks
> raju
> --
> Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
> --
> https://mail.python.org/mailman/listinfo/python-list
There is a download link on the documentation index:
https://docs.python.org/3/download.html
--
Chris Warrick &l
ok off, and was
not supported by the consumer versions of Windows (other than XP x64).
(Not to mention 32-bit processors are sometimes called i386…i686,
where the i stands for Intel, and those processors were also
manufactured by AMD and others)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
On 28 February 2016 at 15:11, Rustom Mody <rustompm...@gmail.com> wrote:
> On Sunday, February 28, 2016 at 7:30:57 PM UTC+5:30, Chris Warrick wrote:
>> On 28 February 2016 at 14:49, Rustom Mody wrote:
>> > On Sunday, February 28, 2016 at 6:54:40 PM UTC+5:30, Gordon Levi
ANGE
> can give you a 10,000 line diff!!
You clearly haven’t ever done that.
1. git can manage EOL changing if you want to enforce a newline style that way.
2. A good editor can read and write any newline style. It should also
not convert without asking the user.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
dash in tags (Issue #2212)
* Decide is_mathjax based on current language tags (Issue #2205)
* Don't duplicate images in flowr when resizing page (Issue #2202)
- --
Chris Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
iQEcBAEBCAAGB
e major version number.
> --
> https://mail.python.org/mailman/listinfo/python-list
In fact, this was done by a very popular Python project two years ago.
That project is pip, which went from 1.5.6 to 6.0, and is now at
8.0.2.
And its best friend setuptools is up to version 20.0.
--
Chris
ng in 1. fails, get a wheel package from the website mentioned in 2.
Alternatively, try:
https://www.scipy.org/install.html#individual-binary-and-source-packages
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
lman/listinfo/python-list
Better yet, use a real WSGI server like uWSGI and its associated nginx
module. (there are plenty of tutorials around the Internet)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list
1 - 100 of 157 matches
Mail list logo