Re: Is there an easy way to control indents in Python

2014-10-15 Thread Chris “Kwpolska” Warrick
it: if True: print 'true' else: print 'false' print 'done' That should be parsed the way you want it done. Makes perfect sense when you look at it. -- Chris “Kwpolska” Warrick http://chriswarrick.com/ PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense -- https://mail.python.org

Re: Python 2.76

2014-10-06 Thread Chris “Kwpolska” Warrick
fixes 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

Re: Python 2.76

2014-10-06 Thread Chris “Kwpolska” Warrick
with an answer. -- 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

Re: Flask and Python 3

2014-09-25 Thread Chris “Kwpolska” Warrick
On Wed, Sep 24, 2014 at 9:39 PM, Juan Christian juan0christ...@gmail.com wrote: On Wednesday, September 24, 2014, Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: Learning from videos is the worst thing you can do. Use the official flask documentation at http://flask.pocoo.org/docs/0.10

Re: Flask and Python 3

2014-09-25 Thread Chris “Kwpolska” Warrick
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

Re: Flask and Python 3

2014-09-24 Thread Chris “Kwpolska” Warrick
friendlier than 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

Re: python-distribute.org down

2014-09-17 Thread Chris “Kwpolska” Warrick
/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 | always bottom-post

Re: Example of python service running under systemd?

2014-09-11 Thread Chris “Kwpolska” Warrick
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

Nikola v7.1.0 released!

2014-09-06 Thread Chris “Kwpolska” Warrick
regeneration after change of ``NAVIGATION_LINKS`` * Made ``nikola bootswatch_theme`` compatible with Jinja themes * Fixed submenus in Jinja themes (Issue #1327) * Quietly ignore empty lines in bundles files * Fixed wrong filter order in post_list plugin (Issue #1365) - -- Chris “Kwpolska” Warrick http

Re: How to turn a string into a list of integers?

2014-09-05 Thread Chris “Kwpolska” Warrick
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

Re: Looking for a suitable Python resource

2014-09-04 Thread Chris “Kwpolska” Warrick
. 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 “Kwpolska” Warrick

Re: Psycopg2 package installation puzzle in Pycharm - any thoughts?

2014-08-31 Thread Chris “Kwpolska” Warrick
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

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-27 Thread Chris “Kwpolska” Warrick
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

Re: GO vs Python

2014-08-25 Thread Chris “Kwpolska” Warrick
, 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

Re: what do you get with 1 divide by 998001, interesting results

2014-08-21 Thread Chris “Kwpolska” Warrick
On Thu, Aug 21, 2014 at 3:22 AM, Everything You Need To Know ey...@outlook.com 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 something practical

Re: what do you get with 1 divide by 998001, interesting results

2014-08-20 Thread Chris “Kwpolska” Warrick
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://chriswarrick.com/ PGP

Re: How can I get the timezone time of a location?

2014-08-18 Thread Chris “Kwpolska” Warrick
to find somewhere (online?) -- Chris “Kwpolska” Warrick http://chriswarrick.com/ Sent from my SGS3. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to look up historical time zones by date and location

2014-08-18 Thread Chris “Kwpolska” Warrick
. 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

Re: how to write file into my android phone?

2014-08-14 Thread Chris “Kwpolska” Warrick
On Aug 14, 2014 8:11 AM, alex23 wuwe...@gmail.com 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 is actually true for ALL android devices, starting with Android 3.0

Re: a python console in bluestacks

2014-08-14 Thread Chris “Kwpolska” Warrick
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://chriswarrick.com

Re: newbee

2014-08-14 Thread Chris “Kwpolska” Warrick
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.python.org/mailman

Re: a python console in bluestacks

2014-08-14 Thread Chris “Kwpolska” Warrick
ConnectBot (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

Re: Which OAuth library?

2014-08-14 Thread Chris “Kwpolska” Warrick
://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

Re: Linux distros w/o Python in base installation

2014-08-12 Thread Chris “Kwpolska” Warrick
. -- 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

Re: how to write file into my android phone?

2014-08-10 Thread Chris “Kwpolska” Warrick
. This 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: 5EAAEA16 stop

Re: how to write file into my android phone?

2014-08-09 Thread Chris “Kwpolska” Warrick
-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 stop html mail | always bottom-post | only UTF-8 makes sense

Re: CodeSkulptor

2014-08-04 Thread Chris “Kwpolska” Warrick
(and an ancient version 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

Re: cmd.exe on WIndows - problem with displaying some Unicode characters

2014-08-04 Thread Chris “Kwpolska” Warrick
(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.python.org/mailman

Re: Is there a tracker target for this mailing list?

2014-07-31 Thread Chris “Kwpolska” Warrick
=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

Re: Unable to find ssh library supporting python 3.1

2014-07-30 Thread Chris “Kwpolska” Warrick
. 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 much easier. -- Chris “Kwpolska

Re: .Net Like Gui Builder for Python?

2014-07-27 Thread Chris “Kwpolska” Warrick
, 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: 5EAAEA16 stop html mail | always bottom-post | only UTF-8

Re: .Net Like Gui Builder for Python?

2014-07-27 Thread Chris “Kwpolska” Warrick
and 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

Re: Exploring Python for next desktop GUI Project

2014-07-24 Thread Chris “Kwpolska” Warrick
. -- Chris “Kwpolska” Warrick http://chriswarrick.com/ Sent from my SGS3. -- https://mail.python.org/mailman/listinfo/python-list

Re: Exploring Python for next desktop GUI Project

2014-07-24 Thread Chris “Kwpolska” Warrick
On Thu, Jul 24, 2014 at 8:33 PM, Zachary Ware zachary.ware+pyl...@gmail.com wrote: On Thu, Jul 24, 2014 at 12:04 PM, Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: Tk is neither sane How so? Like any other facet of programming, using Tk(inter) has it's frustrations, but for the most

Re: Python 3.4.1 64 bit Version

2014-07-19 Thread Chris “Kwpolska” Warrick
On Sat, Jul 19, 2014 at 1:23 AM, Terry Reedy tjre...@udel.edu 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 hit is http://www.lfd.uci.edu

Re: Pip doesn't install my scripts

2014-07-19 Thread Chris “Kwpolska” Warrick
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

Re: I am stuck on OOP

2014-07-19 Thread Chris “Kwpolska” Warrick
On Sat, Jul 19, 2014 at 5:44 PM, Sibylle Koczian nulla.epist...@web.de 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 educational

Re: I am stuck on OOP

2014-07-18 Thread Chris “Kwpolska” Warrick
: video tutorials 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

Re: Python 3.4.1 64 bit Version

2014-07-18 Thread Chris “Kwpolska” Warrick
” 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 — it’s better to use the 32-bit version, IMO) -- Chris “Kwpolska” Warrick http://chriswarrick.com

Re: I am stuck on OOP

2014-07-18 Thread Chris “Kwpolska” Warrick
, 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

Re: Python 3.4.1 64 bit Version

2014-07-18 Thread Chris “Kwpolska” Warrick
On Fri, Jul 18, 2014 at 3:54 PM, Zachary Ware zachary.ware+pyl...@gmail.com wrote: On Fri, Jul 18, 2014 at 8:48 AM, Chris “Kwpolska” Warrick kwpol...@gmail.com 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

Re: Python 3 is killing Python

2014-07-16 Thread Chris “Kwpolska” Warrick
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 “Kwpolska” Warrick http://chriswarrick.com/ PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes

Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or .) mean?

2014-07-10 Thread Chris “Kwpolska” Warrick
/ (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: https://docs.python.org/3/tutorial/index.html -- Chris “Kwpolska” Warrick http

Re: I am confused about ' and

2014-07-10 Thread Chris “Kwpolska” Warrick
to escape (but you have to escape \') and vice versa. [0]: https://docs.python.org/2/tutorial/index.html -- 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

Re: PEP8 and 4 spaces

2014-07-04 Thread Chris “Kwpolska” Warrick
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 PGP: 5EAAEA16 stop

Fwd: What can Nuitka do?

2014-06-28 Thread Chris “Kwpolska” Warrick
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

Re: why i can't install ez_setup

2014-06-28 Thread Chris “Kwpolska” Warrick
when trying to install. Also, you generally want to use get-pip.py instead, it will also get you pip in addition to setuptools: https://bootstrap.pypa.io/get-pip.py -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense -- https

Re: can I get 0./0. to return nan instead of exception?

2014-06-19 Thread Chris “Kwpolska” Warrick
: 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 html mail | always bottom-post | only UTF-8 makes sense -- https

Re: Shared web hosting where python is *not* a second class citizen

2014-05-25 Thread Chris “Kwpolska” Warrick
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” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always

Nikola v7.0.0 released!

2014-05-19 Thread Chris “Kwpolska” Warrick
in the Nikola class (Issue #1100) * Use TIMEZONE with ``nikola new_post`` and ``nikola new_page``. (Issue #1088) - -- Chris “Kwpolska“ Warrick Release Manager for v7.0.0 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJTdlWJAAoJEHECPb1equoW7scIAKxes94prdRFc1o9Ousj5CJG

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread Chris “Kwpolska” Warrick
}$ \ $(\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'$\sigma$', fontsize=16) plt.ylabel(r'$\mathrm{j}\omega$', fontsize=16) -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop

Re: change spacing to two instead of four with pep8 or flake8?

2014-04-08 Thread Chris “Kwpolska” Warrick
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 html mail | always bottom-post | only UTF-8 makes sense -- https

Re: Calculating time differences given daylight savings time

2014-04-03 Thread Chris “Kwpolska” Warrick
/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

Re: Time we switched to unicode?

2014-03-25 Thread Chris “Kwpolska” Warrick
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 http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense

Re: Github down?

2014-03-21 Thread Chris “Kwpolska” Warrick
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 PGP: 5EAAEA16

Re: test

2014-03-16 Thread Chris “Kwpolska” Warrick
the mailing list 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

Re: The sum of numbers in a line from a file

2014-02-20 Thread Chris “Kwpolska” Warrick
-- 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

Re: Python Requests script to login to a phpbb forum

2014-02-19 Thread Chris “Kwpolska” Warrick
) 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. This code was not tested on a real phpBB forum; if everything you coded is correct, it will work.) -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP

Re: Wheezy.web - is it been developed?

2014-02-19 Thread Chris “Kwpolska” Warrick
offering help and support. 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

Re: How to turn a package into something pip can install

2014-02-16 Thread Chris “Kwpolska” Warrick
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 problem. pip 1.5 accepts such paths just fine. Please upgrade your pip. -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP

Re: How to turn a package into something pip can install

2014-02-15 Thread Chris “Kwpolska” Warrick
` would be a waste of time (and would 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

Re: imperative mood in docstrings

2014-02-09 Thread Chris “Kwpolska” Warrick
, 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

Re: Editor for Python

2014-01-08 Thread Chris “Kwpolska” Warrick
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/listinfo/python-list -- Chris “Kwpolska” Warrick http

Re: Apache restart after source changes

2013-12-26 Thread Chris “Kwpolska” Warrick
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 | always bottom-post | only UTF-8 makes sense -- https

Re: unicode to human readable format

2013-12-22 Thread Chris “Kwpolska” Warrick
\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-friendly representation in the repr, too: s=[u'\u0105\u017c\u0119\u0142\u0144'] s ['ążęłń'] -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP

Re: GUI:-please answer want to learn GUI programming in python , how should i proceed.

2013-12-15 Thread Chris “Kwpolska” Warrick
: £ = 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

Re: Islam is the fastest growing religion in the world especially since sept. 11.

2013-12-13 Thread Chris “Kwpolska” Warrick
-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

Re: Is It Bug?

2013-12-08 Thread Chris “Kwpolska” Warrick
\a' 'a\\a' r'a\' File stdin, line 1 r'a\' ^ SyntaxError: EOL while scanning string literal r'\' File stdin, line 1 r'\' ^ SyntaxError: EOL while scanning string literal -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF

Re: SetupTools

2013-11-25 Thread Chris “Kwpolska” Warrick
*** 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

Re: Terry Jones: Monty Python to reunite for stage show

2013-11-19 Thread Chris “Kwpolska” Warrick
://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 makes sense -- https

Re: Self-defence

2013-11-17 Thread Chris “Kwpolska” Warrick
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

Re: Static Website Generator

2013-11-16 Thread Chris “Kwpolska” Warrick
On Nov 16, 2013 3:45 PM, Silvio Siefke siefke_lis...@web.de 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

Re: Odd msg received from list

2013-11-15 Thread Chris “Kwpolska” Warrick
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 you as a reminder. -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop

Re: Trying tcompile an use the Python 3.4a

2013-11-13 Thread Chris “Kwpolska” Warrick
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

Re: Trying tcompile an use the Python 3.4a

2013-11-13 Thread Chris “Kwpolska” Warrick
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-upgrade-setuptools Get ez_setup.py and get-pip.py, and run them with the desired Python. -- Chris “Kwpolska” Warrick http

Re: Install Tkinter for Windows 7 64-bit

2013-11-11 Thread Chris “Kwpolska” Warrick
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 http://kwpolska.tk PGP: 5EAAEA16 stop html mail

Re: To whoever hacked into my Database

2013-11-10 Thread Chris “Kwpolska” Warrick
On Nov 10, 2013 9:01 PM, Rod Person rodper...@rodperson.com 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

Re: To whoever hacked into my Database

2013-11-07 Thread Chris “Kwpolska” Warrick
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 | only UTF-8 makes sense -- https://mail.python.org

Re: Immediate requirement - Sr. Business Analyst for Pricewaterhouse Coopers (PwC) in Tampa, FL.

2013-11-07 Thread Chris “Kwpolska” Warrick
. Moreover, 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

Re: Basic Python Questions - Oct. 31, 2013

2013-10-31 Thread Chris “Kwpolska” Warrick
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: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense -- https

Re: Basic Python Questions - Oct. 31, 2013

2013-10-31 Thread Chris “Kwpolska” Warrick
/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

Re: indentation blocking in Python

2013-10-27 Thread Chris “Kwpolska” Warrick
: 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: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense -- https://mail.python.org/mailman/listinfo

Re: OT: looking for best solutions for tracking projects and skills

2013-10-13 Thread Chris “Kwpolska” Warrick
-request -- 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

Re: How to make Tkinter Listbox entry insensitive?

2013-10-10 Thread Chris “Kwpolska” Warrick
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

Re: Mysql's mysql module

2013-10-07 Thread Chris “Kwpolska” Warrick
On Oct 7, 2013 9:36 PM, Duncan Booth duncan.booth@invalid.invalid wrote: Skip Montanaro s...@pobox.com wrote: On Mon, Oct 7, 2013 at 1:08 PM, Tobiah t...@tobiah.org wrote: I just noticed this: http://dev.mysql.com/doc/connector-python/en/index.html * Does it adhere to the Python

Re: Database statements via python but database left intact

2013-10-06 Thread Chris “Kwpolska” Warrick
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

Re: Database engine bindings for Python (was: Database statements via python but database left intact)

2013-10-06 Thread Chris “Kwpolska” Warrick
. 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

Re: Database statements via python but database left intact

2013-10-06 Thread Chris “Kwpolska” Warrick
On Sun, Oct 6, 2013 at 1:36 PM, rusi rustompm...@gmail.com 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 anti

Re: Image manipulation

2013-10-06 Thread Chris “Kwpolska” Warrick
? In that case, 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

Re: JUST GOT HACKED

2013-10-02 Thread Chris “Kwpolska” Warrick
. 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 much Python Ale…) -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense

Re: JUST GOT HACKED

2013-10-01 Thread Chris “Kwpolska” Warrick
) 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

Fwd: JUST GOT HACKED

2013-10-01 Thread Chris “Kwpolska” Warrick
Why is this list not setting Reply-To correctly again? -- Forwarded message -- From: Chris “Kwpolska” Warrick kwpol...@gmail.com Date: Tue, Oct 1, 2013 at 3:55 PM Subject: Re: JUST GOT HACKED To: Νίκος nikos.gr...@gmail.com On Tue, Oct 1, 2013 at 3:42 PM, Νίκος nikos.gr

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-29 Thread Chris “Kwpolska” Warrick
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, as someone speaking the same language as you could help you better. -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16

Re: How to login to a website using Python 3.x?

2013-09-25 Thread Chris “Kwpolska” Warrick
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 package) instead. -- Chris “Kwpolska” Warrick http

Re: Referrer key missing form os.environ dictionary?

2013-09-25 Thread Chris “Kwpolska” Warrick
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 | always bottom-post | only UTF-8

Re: In Python language, what is (void) referring to?

2013-09-21 Thread Chris “Kwpolska” Warrick
On Sat, Sep 21, 2013 at 11:10 AM, Don Sylvia donsylvi...@gmail.com 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

Re: How to display ReST properly on pypi?

2013-09-14 Thread Chris “Kwpolska” Warrick
. [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 interpreted text role py:class. README.rst:121: (ERROR/3

Re: How can I remove the first line of a multi-line string?

2013-09-02 Thread Chris “Kwpolska” Warrick
element, making it ['bar', 'baz'] 3. Finally, '\n'.join() turns the list into a string separated by newlines (bar baz) -- 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

Re: Newbie: use of built-in exceptions

2013-09-01 Thread Chris “Kwpolska” Warrick
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

Re: What does mean @ sign in first of statement

2013-09-01 Thread Chris “Kwpolska” Warrick
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 http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always bottom

  1   2   >