ode?
> --
> https://mail.python.org/mailman/listinfo/python-list
It should parse this as
else:
print 'false'
print 'done'
Why? Because things like `print 'done'` usually have an empty line before it:
if True:
print 'true'
else:
print 'fal
ct “the
manufacturer”? Python is an open-source language with multiple people
involved. Depending on what your query is, you may want the Python
Software Foundation, a release manager, tons of other people… State
your question here and you may receive an answer or a pointer to
someone with an answer.
and security fixes (including Heartbleed…)
without breaking backwards compatibility.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
specially because it’s error-prone.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Sep 24, 2014 at 9:39 PM, Juan Christian
wrote:
> On Wednesday, September 24, 2014, Chris “Kwpolska” Warrick
> wrote:
>>
>> Learning from videos is the worst thing you can do. Use the official
>> flask documentation at http://flask.pocoo.org/docs/0.10/qu
a video.
Also, there is nothing to “learn” — just change the line, and you will
have more helpful errors.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
ist.github.com/anonymous/947191a4635cd7b7f79a
distribute is long dead (probably why the website is down). Use
setuptools instead:
https://pythonhosted.org/setuptools/
https://bootstrap.pypa.io/ez_setup.py
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | a
or use one of the more magical
methods and implement them. Describe your needs to get more details.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
ode representation. The codepoint for Ä is
U+00C4 (196 decimal). It's just a coincidence that it also matches latin1
aka ISO 8859-1 as Unicode starts with all 256 latin1 codepoints. Please
kindly forget encodings other than UTF-8.
BTW: ASCII covers only the first 128 bytes.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my Galaxy S3.
--
https://mail.python.org/mailman/listinfo/python-list
Is there any other good
> source which can be used by a person who knows the basics of programming
> already?
The official Python tutorial should suit you:
version 2 — https://docs.python.org/2/tutorial/index.html
version 3 — https://docs.python.org/3/tutorial/index.html
--
Chris
you may try to install
from the Terminal:
cd /path/to/your/virtualenv
bin/pip install psycopg2
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
ows,Entertainment,Music,Radio
$ get_iplayer --type=radio 12878 --get
And kaboom, #12878, "Peter Capaldi, Daniel Radcliffe, Jon Hamm and
Ruby Turner", is downloaded and stored on your hard drive.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
thon-list
Your browser helpfully ignores that header and uses ISO-8859-1, which
*is* the actual encoding of that message. Gmail displays the message
properly me, but apparently Google Groups defaults to UTF-8, and that
results in question marks.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Aug 21, 2014 at 3:22 AM, Everything You Need To Know
wrote:
> I do understand where you are coming from 'Chris "Kwpolska" Warrick', though,
> your own self serving link to your own website and unproductive post is
> closer to spam than my own, I offer someth
erphile video at
https://www.youtube.com/watch?v=daro6K6mym8 or any other sane source —
and not reproduce it with this weird division scheme. Your video does
not tell a thing about the number anyway.
Please stop spamming with your barely original content.
--
Chris “Kwpolska” Warrick <http
ally LMT. This can be problematic, as there
are ways to attach a ~100 years ago time zone object to a 2014 date.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my SGS3.
--
https://mail.python.org/mailman/listinfo/python-list
standards. AFAIK there is no easy solution, you'd
have to calculate it manually from the longitude, which you'd have to find
somewhere (online?)
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my SGS3.
--
https://mail.python.org/mailman/listinfo/python-list
;
> Richard
> --
> https://mail.python.org/mailman/listinfo/python-list
Google hints at https://flask-oauthlib.readthedocs.org/en/latest/ and it's
looking pretty good. There is also flask-oauth, but it seems quite outdated.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my SGS3.
--
https://mail.python.org/mailman/listinfo/python-list
nnectBot
(though better apps likely exist.)
Another alternative might be to use a real device with adb shell.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my SGS3.
--
https://mail.python.org/mailman/listinfo/python-list
es for Raspbian or other RPi-friendly distros and see
python-tk there, or various Python tutorials for the device:
http://davidbriddock.blogspot.com/2013/04/learn-python-installing-tkinter.html
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my SGS3.
--
https://mail.pyt
to make it run.
>
> Is there a python console to type python command to run python directly
such as in pc ?
Why are you using an Android emulator to run Python, a PC-first software?!
Just install the Windows version from http://python.org/ and use that.
--
Chris “Kwpolska” Warrick <http://
On Aug 14, 2014 8:11 AM, "alex23" wrote:
>
> On 10/08/2014 7:08 PM, Chris “Kwpolska” Warrick wrote:
>>>
>>> 2) the phone isn't necessarily visible on a pc as a drive at all.
>>> For example the Samsung gs4.
>>
>>
>> This i
heless, most
people will likely install Python by themselves, or with a package
that depends on Python.
On Mon, Aug 11, 2014 at 9:02 PM, Chris Rebert wrote:
> It would seem that such distros are opting to not be LSB-compliant?:
> http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Languages/LSB
is is actually true for ALL android devices, starting with Android 3.0.
It’s possible that the OP is running an ancient device, or a modern
one that appears as a USB drive for some reason (eg. custom ROM from
the manufacturer).
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP
on.org/2/tutorial/inputoutput.html#reading-and-writing-files
However, if you want to do it via Bluetooth for some reason, you need
to find a library that does OBEX — Google hints at
http://lightblue.sourceforge.net/ .
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
exe window (there
is a thing named PowerShell ISE, which circumvents cmd.exe; I have no
idea whether all the Unicode issues apply to that, too)
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.
at that) — you are not running away
from all the issues of running in a Windows environment, and add
issues of running in a remote Windows environment.
Please stop, for your own good.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | o
Possible cause:
dmarc=fail (p=REJECT dis=NONE) header.from=wegge.dk
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
patible with each other.
Instead, upgrade to the most recent version, 3.4.1, which is happily
supported by Paramiko. Many Python 3-compatible libraries
dropped/never had support for 3.0—3.2 due to
<http://legacy.python.org/dev/peps/pep-0414/>, which makes porting
between Python 2 and 3 muc
instruction.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
eem to be able to get separately, and doesn't seem to have any
> documentation (ie 3rd party books on it). But there is Evernote.
OneNote is actually available for free: http://www.onenote.com/
(though Evernote is superior)
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EA
On Thu, Jul 24, 2014 at 8:33 PM, Zachary Ware
wrote:
> On Thu, Jul 24, 2014 at 12:04 PM, Chris “Kwpolska” Warrick
> wrote:
>> Tk is neither sane
>
> How so? Like any other facet of programming, using Tk(inter) has it's
> frustrations, but for the most part it has alway
neither sane nor native-feeling, especially on Linux, where it looks
like something from two decades ago. On other platforms, it also is not
100% native.
I personally recommend PyQt4/PySide. wxPython is also worth checking out.
And it might be better to stay with Python 2, there are still things
On Sat, Jul 19, 2014 at 5:44 PM, Sibylle Koczian wrote:
> Am 18.07.2014 20:45, schrieb Chris “Kwpolska” Warrick:
>
>> Yes, exceptions do exist. But most video tutorials are produced by
>> people without enough knowledge, and people that should not be working
>> on educa
ancient methods.
Upgrade your setup.py to use setuptools, and its entry points
mechanism.
I’ve sent a PR to fix all of your errors:
https://github.com/yasar11732/tklsystem/pull/1
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, Jul 19, 2014 at 1:23 AM, Terry Reedy wrote:
> On 7/18/2014 2:56 PM, Chris “Kwpolska” Warrick wrote:
>
>> It’s also slightly easier to find pre-made binaries for 32-bit than
>> 64-bit.
>
>
> Searching 'python windows binaries' on Google and the first hi
On Fri, Jul 18, 2014 at 3:54 PM, Zachary Ware
wrote:
> On Fri, Jul 18, 2014 at 8:48 AM, Chris “Kwpolska” Warrick
> wrote:
>> “win32” is the name given to the Windows API as of Windows NT 3.1 and
>> Windows 95. The “AMD64” part in parentheses tells the truth, that
>> you
anything good. (In order to be more precise, I'd have to be
politically incorrect.)
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my SGS3.
--
https://mail.python.org/mailman/listinfo/python-list
> --
> https://mail.python.org/mailman/listinfo/python-list
“win32” is the name given to the Windows API as of Windows NT 3.1 and
Windows 95. The “AMD64” part in parentheses tells the truth, that
you’re actually running the 64-bit version (which can cause problems,
though — i
utorials are the most evil invention of
the human race. It’s hard to learn from them. You should not watch
any — use text tutorials instead.
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.
And if
someone brings the “people need to download it anyway” argument: it’s
2014, people: hard-drives are large nowadays (or you can just use
IMAP) and if you’re paying $100 per kilobyte, you’re doing it wrong
and should not be online in the first place.
* trickier on mobile, though.
--
Chris “K
('...') or double quotes ("...") with the same result [2]. \ can be
> used to escape quotes.
>
> [snip]
>
> [2] Unlike other languages, special characters such as \n have the
> same meaning with both single ('...') and double ("...") quotes.
>
om 2001. You should learn
from modern documentation: https://docs.python.org/ (if not running
3.4.x, change the version in the top)
You also should not read the language reference, it’s meant for people
who really care about what’s under the hood. The official tutorial is
better for learning:
the line lengths in the original message:
[47, 45, 45, 46, 46, 47, 45, 5, 46, 43, 46, 47, 47, 49, 31, 57, 52,
34, 42, 23]
[RFC 5322]: http://tools.ietf.org/html/rfc5322#section-2.1.1
[RFC 2822]: http://tools.ietf.org/html/rfc2822#section-2.1.1
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
=
> [System.Net.CredentialCache]::Default
> Credentials; (new-object
> System.Net.WebClient).DownloadFile('https://pypi.python
> .org/packages/source/s/setuptools/setuptools-5.2.zip',
> 'C:Userspengsir\\
> \\setuptools-5.2.zip')"]' returned non
the one used here is setuptools
entrypoints, which produces a nicer .exe file.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
at('nan')
nan
>>>
also:
https://docs.python.org/2/library/math.html#math.isnan
> Check if the float x is a NaN (not a number). For more information on NaNs,
> see the IEEE 754 standards.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop htm
r my current uses) in a VPS. I just want some
> place where it doesn't feel like python support is some sort of bone thrown
> out there just to say that they 'support' python.
Heroku, Google App Engine, or pretty much any other
Platform-as-a-Service provider.
--
Chris “Kwpolska
e this:
> plt.title(r'$\mathrm{poles}$ $(\times)$ \
>$\mathrm{\&}$ $\mathrm{zeros}$ \
>$(\circ)$ $\mathrm{of}$ $T(s)T(-s)$',\
>fontsize=16)
Moreover, in the next two things, you already did it right in the first place:
> plt.xlabel(r
s “indentation is not a multiple of four”. Which
you are never going to listen to anyways if you want 2 spaces per
indentation level. If you *really* want to do 2 spaces (and look
weird), then just ignore that.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop ht
ou.
[0]: http://www.youtube.com/watch?v=-5wpm-gesOY
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
ot
differentiate them, you may think they’re the same. If you ask some
intelligent software (like `unicodedata.name()` in Python), you’ll
quickly find out the first is MICRO SIGN, and the other is GREEK SMALL
LETTER MU. Such craziness is what makes Unicode Unicode.
--
Chris “Kwpolska” Warrick &l
t a couple days ago). Does that
> mean I'm a curmudgeon? :-)
If you dislike social media (or prefer a nice website with graphs and
such), then go there:
https://status.github.com/
(though GitHub could qualify as social media for some…)
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
t instead? It’s a much easier way to
access this place.
https://mail.python.org/mailman/listinfo/python-list
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
t; stu_scores because the table from above starts on line 11.
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
rt. You can often find good solutions for
popular problems (like user accounts) without reinventing wheels.
Flask is the easiest option, and it’s very popular.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https:/
#x27;, 'sid': sid}
r =
session.post("http://www.tt-forums.net/ucp.php",params=parameters,data=payload)
if "Logout" in r.text: print("We are in")
(for the record, I added the session creation line and replaced
requests. with session. so it uses your session. Th
is something which has changed in newer versions of pip?
> I've got 1.1 (and python 2.7.3). I'm pretty sure both of these are what
> came with Ubuntu Precise.
> --
> https://mail.python.org/mailman/listinfo/python-list
It’s heavily outdated, and that IS the cause of your
ould produce two
almost-identical-but-not-quite tarballs).
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
ir under control. 2. move or be hurled
quickly through the air.
Those could be valid docstrings (if sheep could fly, of course…) — so,
in other words, act as if you were writing a dictionary and not Python
code.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
be privileged. If you are not the intended recipient, please notify the
> sender immediately and do not disclose the contents to any other person, use
> it for any purpose, or store or copy the information in any medium. Thank you.
>
> --
> https://mail.python.org/mailman/li
d by
production environments, in which uWSGI (in Emperor mode if
possible/makes sense on Windows) and nginx is the best solution
around, and auto-reload isn’t supported (for good reasons, as
mentioned before).
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail |
t;>> s
[u'\u0105\u017c\u0119\u0142\u0144']
>>> s[0]
u'\u0105\u017c\u0119\u0142\u0144'
>>> print s
[u'\u0105\u017c\u0119\u0142\u0144']
>>> print s[0]
ążęłń
However, that is only the case with Python 2, as Python 3 has a
human-f
oper Unicode support: £ = GBP.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
d traditions of other cultures an
>> amazing thing began to happen. They opened their minds and their hearts to
>> the true message of the submission and surrender and obedience to the One
>> True God, Allah -- in Islam.
>>
>> Back to Islam
>>
>> Since September 11th, I have seen a huge increase in the interest of
>
slash.
>>> r'a\a'
'a\\a'
>>> r'a\'
File "", line 1
r'a\'
^
SyntaxError: EOL while scanning string literal
>>> r'\'
File "", line 1
r'\'
^
SyntaxError: EOL while scanni
Tell your legal department that such notices have no legal power
whatsoever and are just a waste of everyone’s bandwidth, time and the
like.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
gt;
> Thomas
> --
> https://mail.python.org/mailman/listinfo/python-list
The PSF should buy all the tickets and give them out to Python devs.
Or even invite the group to PyCon 2014.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8
hing for killfile evasion (my original attempted report); (c) spam
(if I understand the Breidbart Index correctly, we might have to wait
for this, at least two emails to be precise)
[0]: http://www.eternal-september.org/index.php?showpage=abuse
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
On Nov 16, 2013 3:45 PM, "Silvio Siefke" wrote:
>
> Hello,
>
> i want try a static Website Generator. Has someone an advice for a simple
> and easy System to use? I want run my blog with it, so the system should
> run with my design of Website.
>
> I has try Pelican, but its i dont know that theme
not to enter a password, one will be automatically
> generated for you, and it will be sent to you once you've confirmed
> your subscription. You can always request a mail-back of your
> password when you edit your personal options. Once a month, your
> password will be emailed to y
it.
That should install it for the Python 2.6.6 you have, and possibly
under the name `python-pip` because of various shenanigans in the
redhatesque repos.
> Please help me install 'pip' so i can install the modules.
http://www.pip-installer.org/en/latest/installing.html#install-or-u
ch python3
Alternatively, you could run `where python3` to see how big the mess
on your system is (i.e. how many interpreters you have).
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
ter import Tk, Canvas, Frame, BOTH
> ImportError: No module named 'Tkinter'
> ===
In Python 3, 'Tkinter' was renamed to 'tkinter' (both sans quotes).
Please change the file to reflect that (as the traceback points out,
line 16).
--
Chris “Kwpolska” Warrick <ht
On Nov 10, 2013 9:01 PM, "Rod Person" wrote:
> Tortoise? What's a tortoise?
Is that a real question? If yes, then it's an animal, similar to a turtle.
Ask Google or Wikipedia for more details.
--
https://mail.python.org/mailman/listinfo/python-list
oreover, this list/newsgroup IS NOT the valid place for job offers,
Python or otherwise. Please stop sending them.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
longer quotes (Google Groups does the
same, so they don’t get to see their double-spaced nonsense) AS WELL
AS signatures. Well, world couldn’t be more wonderful than Nikos
posting nothing.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post |
quires pywin32 from [1]).
[0]: http://win32com.goermezer.de/content/view/136/254/
[1]: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
ystem as if it were typed in from the keyboard? Perl can do that and I
> would imagine that Python probably has that same capability.
Definitely possible, but might take you a bit of work and knowledge of
Windows internals (go ask Google).
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP:
emicolon (same case). So, the proper code
would be:
a=1
if a==1:
print(1)
else:
print(0)
wait = input("press key")
(I resisted the urge to add spaces around `=` and `==`, something most
people want you to do.)
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAE
equest
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
e entries is not much of a hack.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
On Oct 7, 2013 9:36 PM, "Duncan Booth" wrote:
>
> Skip Montanaro wrote:
>
> > On Mon, Oct 7, 2013 at 1:08 PM, Tobiah wrote:
> >> I just noticed this:
> >>
> >>
> >> http://dev.mysql.com/doc/connector-python/en/index.html
> >
> > * Does it adhere to the Python database API?
> > http://www.python.
e, go use Pillow, the Python
3-compatible fork.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, Oct 6, 2013 at 1:36 PM, rusi wrote:
> On Sunday, October 6, 2013 2:35:24 PM UTC+5:30, Chris “Kwpolska” Warrick
> wrote:
>> So, instead of this, maybe we should work on getting psycopg2 to the
>> top result on Googling “python sql”, or even “python mysql” with an
>&
The wiki (that nobody reads anyways) could also
use some marketing fixes.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
) could also
use some marketing fixes.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
the brilliance you display that there could
> be any possibility of login details being kept in plaintext in your
> database.
Or the statement is a blatant lie and was meant to be
mysql_password is not account_password
as they have the same value, but are set independently. (too
Why is this list not setting Reply-To correctly again?
-- Forwarded message --
From: Chris “Kwpolska” Warrick
Date: Tue, Oct 1, 2013 at 3:55 PM
Subject: Re: JUST GOT HACKED
To: Νίκος
On Tue, Oct 1, 2013 at 3:42 PM, Νίκος wrote:
> Στις 1/10/2013 4:27 μμ, ο/η Chris “Kwpol
hit
password, (c) is the best option. Unless your password is very long,
in which case is not.
I’m also wondering what language your password is in. If you actually
used a Greek phrase, how long will it take you to get locked out due
to encoding bullshit?
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
https://mail.python.org/mailman/listinfo/python-list
direction that someone will be able to help me
> with this since the provider doesn't care to do so?
I can point you to “find a sysadmin that will work for you and fix
your problems for money”. Where can you find one? That’s not a
question for me. I suggest looking around Greek websites, a
xisted in the os.environ dictionary i issues a print(
> os.environ ) to see all available keys and their values:
The Referer header is not mandatory by any means. Your client
probably does not send it.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail |
s urllib2 which in Python 3 aint there. I will greatly
>> appreciate any help
>>
>
> urllib2 has been renamed in Python 3 see
> http://www.python.org/dev/peps/pep-3108/#urllib-package
Note that, for sanity, you should use <http://python-requests.org/> (a
third-party
On Sat, Sep 21, 2013 at 11:10 AM, Don Sylvia wrote:
> void...?
> --
> https://mail.python.org/mailman/listinfo/python-list
void does not exist in Python, unless you named a variable “void”. In
that case, it means whatever you set it to.
--
Chris “Kwpolska” Warrick <http:/
Cheeseshop and produce garbage in the output.
[kwpolska@kwpolska-lin config_resolver-3.3.0]% rst2html README.rst
README.rst:67: (WARNING/2) Inline emphasis start-string without end-string.
README.rst:108: (ERROR/3) Unknown interpreted text role "py:class".
README.rst:115: (ERROR/3) Unknown int
fullstring.split('\n') turns it into a list of ['foo', 'bar', 'baz']
2. the [1:] slice removes the first element, making it ['bar', 'baz']
3. Finally, '\n'.join() turns the list into a string separated by
newlines ("""
>
> Sorry for cheap question.
>
> Yours,
> Mohsen
>
> --
> http://mail.python.org/mailman/listinfo/python-list
@hybrid_property is a decorator. Great resource:
http://simeonfranklin.com/blog/2012/jul/1/python-decorators-in-12-steps/
--
Chris “Kwpolska” Warrick <
ld use common sense instead: if the
exception fits your needs (eg. ValueError when incorrect output
occurs) then use it.
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
http://mail.python.org/mailman/listinfo/python-list
ct you from your website
going down when something crashes. You run the Emperor through your
OS’s init system (e.g. upstart in Ubuntu, systemd in many others).
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
http://m
de.)
--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 183 matches
Mail list logo