Re: Moving to Python for web

2013-08-29 Thread ChrisKwpolskaWarrick
.) -- 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: Moving to Python for web

2013-08-29 Thread ChrisKwpolskaWarrick
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

Re: New VPS Provider needed

2013-08-27 Thread ChrisKwpolskaWarrick
that. -- 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: PEP8 revised: max line lengths

2013-08-02 Thread ChrisKwpolskaWarrick
of the stdlib, PEP 8 is not mandated by Python (but it might be by the project leader or similar entities). If someone wanted long lines, then they could do so ALL THE TIME. So, what are you feasting for? Nothing? -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop html mail

Re: ImportError: No module named appengine.ext

2013-07-31 Thread ChrisKwpolskaWarrick
appengine.ext what to do please help . -- http://mail.python.org/mailman/listinfo/python-list You do not have the Google AppEngine packages installed on your system. You may want to get the AppEngine SDK or the AppEngine development server. -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread ChrisKwpolskaWarrick
. -- 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: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread ChrisKwpolskaWarrick
Whoops! On Sat, Jul 27, 2013 at 1:30 PM, Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: You already asked this on Thursday. And the answer is probably “no”. Creating …a solution for this is not the easiest thing one can do. -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16

Re: Critic my module

2013-07-27 Thread ChrisKwpolskaWarrick
? Mahalo, DCJ -- http://mail.python.org/mailman/listinfo/python-list import os pwd = os.getcwd pwd() '/home/kwpolska' os.chdir('/') pwd() '/' -- Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense -- http://mail.python.org

Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-21 Thread ChrisKwpolskaWarrick
On Sun, Jul 21, 2013 at 1:14 PM, Dave Cook davec...@nowhere.net wrote: On 2013-07-20, Aseem Bansal asmbans...@gmail.com wrote: Do I need to use QtCreator with PySide if I want drag-and-drop feature for GUI development? No, you just need the layout part of QtCreator, called QtDesigner, and

Re: Question about mailing list rules

2013-07-12 Thread ChrisKwpolskaWarrick
On Fri, Jul 12, 2013 at 12:47 PM, Chris Angelico ros...@gmail.com wrote: On Fri, Jul 12, 2013 at 8:44 PM, Devyn Collier Johnson devyncjohn...@gmail.com wrote: I am going to love this mailing list even more. Really, only Python code? I wanted to ask Python users about Perl! (^u^) Devyn

Re: Question about mailing list rules

2013-07-12 Thread ChrisKwpolskaWarrick
On Fri, Jul 12, 2013 at 2:25 PM, Devyn Collier Johnson devyncjohn...@gmail.com wrote: On 07/12/2013 07:11 AM, Chris “Kwpolska” Warrick wrote: On Fri, Jul 12, 2013 at 12:47 PM, Chris Angelico ros...@gmail.com wrote: On Fri, Jul 12, 2013 at 8:44 PM, Devyn Collier Johnson devyncjohn

Re: How do I get the OS System Font Directory(Cross-Platform) in python?

2013-07-11 Thread ChrisKwpolskaWarrick
On Thu, Jul 11, 2013 at 5:32 PM, Metallicow metaliobovi...@gmail.com wrote: How do I get the OS System Font Directory(Cross-Platform) in python? Need a simple script for Windows, Linux, Mac, etc.. Or using wxPython. I can't seem to find anything that works, and I don't want to hard-code

Re: How do I get the OS System Font Directory(Cross-Platform) in python?

2013-07-11 Thread ChrisKwpolskaWarrick
On Thu, Jul 11, 2013 at 08:54:17AM -0700, Metallicow wrote: For a portable font install tool. Finding if a particular font exists, useful when testing apps in virtual environent, rendering text from a font, Font file manipulations, etc.. --

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread ChrisKwpolskaWarrick
On Tue, Jul 9, 2013 at 11:34 AM, wxjmfa...@gmail.com wrote: Note the difference between SS and ẞ 'FRANZ-JOSEF-STRAUSS-STRAẞE' This is a capital Eszett. Which just happens not to exist in German. Germans do not use this character, it is not available on German keyboards, and the German

Re: OSError [Errno 26] ?!?!

2013-07-02 Thread ChrisKwpolskaWarrick
On Tue, Jul 2, 2013 at 11:40 AM, Νίκος ni...@superhost.gr wrote: Στις 2/7/2013 10:21 πμ, ο/η Cameron Simpson έγραψε: On 02Jul2013 08:57, Νίκος ni...@superhost.gr wrote: | Thank you, the error have been caused due to the fact that the | uploading procedure of my edited 'pelatologio.py' hadn't

Re: OSError [Errno 26] ?!?!

2013-07-02 Thread ChrisKwpolskaWarrick
On Tue, Jul 2, 2013 at 2:39 PM, Νίκος ni...@superhost.gr wrote: How and from where should i use rsync? From your computer, in the command line. I currently ditched FileZilla and start using CrossFTP Pro. I searched inside it but i have seen no rsync command/method just Synchronized Browsing

Re: Unable to import NHunspell.dll using ctypes in Python

2013-06-25 Thread ChrisKwpolskaWarrick
On Tue, Jun 25, 2013 at 9:45 AM, Dave Angel da...@davea.name wrote: You're on Linux or similar, and dll's are the way a Windows executable is named. dll’s are libraries for windows, not executables (/lib not /bin) Try going back to where you downloaded this file, and see if you can get the

Re: Unable to import NHunspell.dll using ctypes in Python

2013-06-25 Thread ChrisKwpolskaWarrick
On Tue, Jun 25, 2013 at 10:04 AM, akshay.k...@gmail.com wrote: @Chris I understand that. But then I am supposed to create something that works on a Windows environment using a Windows Dll.Aaandd Im stuck. -- http://mail.python.org/mailman/listinfo/python-list Then you need to get your

Re: Loop Question

2013-06-24 Thread ChrisKwpolskaWarrick
On Mon, Jun 24, 2013 at 8:42 PM, John Gordon gor...@panix.com wrote: In e41ce3a3-c8cb-4cfc-ba86-462f40f32...@googlegroups.com christheco...@gmail.com writes: On Sunday, June 23, 2013 6:18:35 PM UTC-5, christ...@gmail.com wrote: How do I bring users back to beginning of user/password

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread ChrisKwpolskaWarrick
On Sun, Jun 16, 2013 at 12:33 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sun, 16 Jun 2013 11:28:00 +0300, Nick the Gr33k wrote: On 16/6/2013 8:06 πμ, Steven D'Aprano wrote: Nikos, Have you considered subscribing to this?

Re: Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-16 Thread ChrisKwpolskaWarrick
On Sun, Jun 16, 2013 at 1:09 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 16/06/2013 11:57, Ferrous Cranus wrote: i did Steven that why i asked in the 1st place To post a message to all the list members, send email to python-gre...@python.org. this is not a valid nrewgroup name/

Re: Version Control Software

2013-06-16 Thread ChrisKwpolskaWarrick
On Sun, Jun 16, 2013 at 1:14 AM, Chris Angelico ros...@gmail.com wrote: Hmm. ~/cpython/.hg is 200MB+, but ~/pike/.git is only 86MB. Does Mercurial compress its content? A tar.gz of each comes down, but only to ~170MB and ~75MB respectively, so I'm guessing the bulk of it is already compressed.

Re: A few questiosn about encoding

2013-06-16 Thread ChrisKwpolskaWarrick
On Sat, Jun 15, 2013 at 10:35 PM, Benjamin Schollnick benja...@schollnick.net wrote: Nick, The only thing that i didn't understood is this line. First please tell me what is a byte value \x1b is a sequence you find inside strings (and byte strings, the b'...' format). \x1b is a

Re: Don't feed the troll...

2013-06-15 Thread ChrisKwpolskaWarrick
On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote: I suggested including the poster that you are replying to. In the name of all that's good and decent in the world, why on earth would you

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread ChrisKwpolskaWarrick
On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to this as we speak. Spamming endless ZOMG HELP ME I'M INCOMPETENT posts isn't research. --

Re: Don't feed the troll...

2013-06-15 Thread ChrisKwpolskaWarrick
On Sat, Jun 15, 2013 at 7:07 PM, D'Arcy J.M. Cain da...@druid.net wrote: On Sat, 15 Jun 2013 18:41:41 +0200 Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: In the name of all that's good

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread ChrisKwpolskaWarrick
On Sat, Jun 15, 2013 at 7:29 PM, Nick the Gr33k supp...@superhost.gr wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread ChrisKwpolskaWarrick
On Sat, Jun 15, 2013 at 7:52 PM, Alister alister.w...@ntlworld.com wrote: On Sat, 15 Jun 2013 20:29:09 +0300, Nick the Gr33k wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp

Re: A few questiosn about encoding

2013-06-09 Thread ChrisKwpolskaWarrick
On Sun, Jun 9, 2013 at 12:44 PM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote: A few questiosn about encoding please: Since 1 byte can hold up to 256 chars, why not utf-8 use 1-byte for values up to 256? Because then how do you tell when you need one byte, and when you need two? If you read

Re: Apache and suexec issue that wont let me run my python script

2013-06-04 Thread ChrisKwpolskaWarrick
On Tue, Jun 4, 2013 at 4:49 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: I don't know much about the Python suexec module, can you please explain where it's documented. Or is suexec nothing to do with Python? From Wikipedia: Apache suEXEC is a feature of the Apache Web server. It allows

Re: Changing filenames from Greeklish = Greek (subprocess complain)

2013-06-04 Thread ChrisKwpolskaWarrick
On Tue, Jun 4, 2013 at 7:23 PM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote: What on eart is this damn error: Michael tried to explain to me about surrogates but dont think i understand it. Encoding giving me trouble years now. [Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59]

Re: Changing filenames from Greeklish = Greek (subprocess complain)

2013-06-04 Thread ChrisKwpolskaWarrick
On Tue, Jun 4, 2013 at 8:27 PM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote: 2. No idea wht is flask or pyramid or wsgi http://lmgtfy.com/?q=flask+python http://lmgtfy.com/?q=pyramid+python http://lmgtfy.com/?q=wsgi+python 3. Files are located in '/home/nikos/www/data/apps' and they appear in

Re: Problems with python and pyQT

2013-05-27 Thread ChrisKwpolskaWarrick
On Mon, May 27, 2013 at 11:26 AM, silusilus...@gmail.com wrote: Hi, i'm new with python: so excuse me for my questions i have this code: def updateLog(self, text): self.ui.logTextEdit.moveCursor(QTextCursor.End) self.ui.logTextEdit.insertHtml(font

Re: PEP 378: Format Specifier for Thousands Separator

2013-05-21 Thread ChrisKwpolskaWarrick
On Tue, May 21, 2013 at 8:49 PM, Carlos Nepomuceno carlosnepomuc...@outlook.com wrote: Thank you, but let me rephrase it. I'm already using str.format() but I'd like to use '%' (BINARY_MODULO) operator instead. There is no real reason to do this. `str.format()` is the new shiny thing you

Re: ssl proxy server

2013-05-15 Thread ChrisKwpolskaWarrick
On Tue, May 14, 2013 at 9:14 PM, Skip Montanaro s...@pobox.com wrote: I haven't touched the SpamBayes setup for the usenet-to-mail gateway in a long while. For whatever reason, this message was either held and then approved by the current list moderator(s), or (more likely) slipped through

Re: ssl proxy server

2013-05-14 Thread ChrisKwpolskaWarrick
On Tue, May 14, 2013 at 2:34 PM, 23alagmy hossamala...@gmail.com wrote: ssl proxy server hxxp://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html -- http://mail.python.org/mailman/listinfo/python-list I have been seeing those mails for a long time. Why didn’t anybody ban that guy? If

Re: in need of some help...

2013-05-12 Thread ChrisKwpolskaWarrick
(slightly offtopic, sorry.) On Sun, May 12, 2013 at 12:20 AM, Jens Thoms Toerring j...@toerring.de wrote: PS: If I may ask you a favor: consider refraining from using Google's completely broken interface to newsgroups - your post consists of nearly 200 lines of text containing all I

Re: Anybody familiar with pygments ?

2013-05-10 Thread ChrisKwpolskaWarrick
On Thu, May 9, 2013 at 10:40 AM, Fábio Santos fabiosantos...@gmail.com wrote: On 9 May 2013 05:19, dabaichi valben...@outlook.com wrote: And hereis the output file: That's not the output file. That is just an HTML fragment to put on your page. A full HTML file will need more things, which

Re: First python program, syntax error in while loop

2013-05-03 Thread ChrisKwpolskaWarrick
On Fri, May 3, 2013 at 7:18 PM, ryankoc...@gmail.com wrote: title = Guess my number game: print title.title() raw_input(Press any key to continue..) import random tries = 0 number = random.randrange(99) + 1 guess = int(raw_input(Guess my number! Secret - It is between 1 and 100 :)

Re: Python platform/framework for new RESTful web app

2013-04-27 Thread ChrisKwpolskaWarrick
On Thu, Apr 25, 2013 at 10:00 PM, Eric Frederich eric.freder...@gmail.com wrote: If I wanted to create a new web application (RESTful) today with Python what are my options given the following requirements. * Google Account authentication * Facebook authentication * Managed hosting (like

Re: QTableWidget updating columns in a single row

2013-04-24 Thread ChrisKwpolskaWarrick
On Wed, Apr 24, 2013 at 8:22 AM, Sara Lochtie sara.loch...@gmail.com wrote: I have written a GUI that gets data sent to it in real time and this data is displayed in a table. Every time data is sent in it is displayed in the table in a new row. My problem is that I would like to have the data

Re: improvements sought re. logging across modules

2013-04-24 Thread ChrisKwpolskaWarrick
On Wed, Apr 24, 2013 at 6:54 PM, The Night Tripper jkn...@nicorp.co.uk wrote: Hi all I have a small suite of python modules, say A.py B.py C.py which can be invoked in a variety of ways. eg. 1) A.py is invoked directly; this imports and uses B.py and C.py

Re: My gui

2013-04-24 Thread ChrisKwpolskaWarrick
On Wed, Apr 24, 2013 at 7:08 PM, Daniel Kersgaard danielkersga...@gmail.com wrote: Today, being the last day of lectures at school, my instructor ran briefly through Tkninter and GUIs. I'd been looking forward to this particular lesson all semester, but when I got home and copied a sample

Re: QTableWidget updating columns in a single row

2013-04-24 Thread ChrisKwpolskaWarrick
On Wed, Apr 24, 2013 at 7:12 PM, Sara Lochtie sara.loch...@gmail.com wrote: So that is where I am stuck. I don't how to compare them and I am trying to avoiding saving the data to a file. To a file? Just store it in a class attribute and you will be fine. You have it in self.data already.

Re: percent faster than format()? (was: Re: optomizations)

2013-04-23 Thread ChrisKwpolskaWarrick
On Tue, Apr 23, 2013 at 9:46 AM, Ulrich Eckhardt ulrich.eckha...@dominolaser.com wrote: Am 23.04.2013 06:00, schrieb Steven D'Aprano: If it comes down to micro-optimizations to shave a few microseconds off, consider using string % formatting rather than the format method. Why? I don't see

Re: Serial Port Issue

2013-04-23 Thread ChrisKwpolskaWarrick
On Mon, Apr 22, 2013 at 11:34 AM, chandan kumar chandan_...@yahoo.co.in wrote: Python Ver: 2.5 Old. Please upgrade to 2.7.4 ASAP. ser=ser=serial.Serial(port=21,baudrate=9600) That double `ser=` thing is not necessary. It should only be `ser = serial.Serial(port=21, baudrate=9600)`. Look at

Re: Encoding NaN in JSON

2013-04-20 Thread ChrisKwpolskaWarrick
that you were proposing a JSON null value and not the string 'null'? Not me, Wayne Werner proposed to use the JSON null value. I parsed the backticks (`) used by him as a way to delimit it from text and not as a string. PS. On 2013-04-19, Chris ???Kwpolska??? Warrick kwpol...@gmail.com wrote

Re: Is Unicode support so hard...

2013-04-20 Thread ChrisKwpolskaWarrick
/6aec70817705c226# , Chris “Kwpolska” Warrick wrote: “Is Unicode support so hard, especially in the 21st century?” -- Unicode is not really complicate and it works very well (more than two decades of development if you take into account iso-14). But, - I can say, as usual - people

Re: Encoding NaN in JSON

2013-04-19 Thread ChrisKwpolskaWarrick
On Fri, Apr 19, 2013 at 4:54 PM, Grant Edwards invalid@invalid.invalid wrote: On 2013-04-18, Wayne Werner wa...@waynewerner.com wrote: On Wed, 17 Apr 2013, Miki Tebeka wrote: I'm trying to find a way to have json emit float('NaN') as 'N/A'. No. There is no way to represent NaN in JSON. It's

Re: [OT?]gmane not updating

2013-04-07 Thread ChrisKwpolskaWarrick
On Sat, Apr 6, 2013 at 9:01 PM, Neal Becker ndbeck...@gmail.com wrote: breamore...@yahoo.co.uk wrote: The gmane site is online but none of the Python lists I subscribe to have been updated for over 24 hours. I fired off an email yesterday evening to larsi + gmane at gnus dot org but I've

<    1   2