Using plotly and getting "This site can't be reached"

2021-01-16 Thread Chuck Untulis
The Chrome browser on the machine shows "127.0.0.1 refused to connect" for various urls of the form 127.0.0.1:x where x are numbers like 64981, 65029,... About once in 20-40 attempts, the graphs appear. I ran the same code on a different machine and it created the plots in the Chrome

[issue41365] Python Launcher is sorry to say... No pyvenv.cfg file

2020-07-22 Thread Chuck
Chuck added the comment: Does anyone know why when Python Launcher is executed by double clicking on the Python script called ecrypt_bitcoinj_seed.pyw a small window pops of stating... "Python Launcher is sorry to say... No pyvenv.cfg file" as in the image? Why wouldn't the pyven

[issue41365] Python Launcher is sorry to say... No pyvenv.cfg file

2020-07-22 Thread Chuck
Chuck added the comment: Mr. Dower, I apologize for not being more specific... since this is Windows based and not console driven, the file used for execution should be pythonw.exe according to the instructions at https://github.com/gurnec/decrypt_bitcoinj_seed so I right clicked

[issue41365] Python Launcher is sorry to say... No pyvenv.cfg file

2020-07-21 Thread Chuck
New submission from Chuck : on Windows 10 64 after install of Python 3.8.5 and after install of decrypt_bitcoinj_seed.pyw <--- and after double click, I get "Python Launcher is sorry to say... No pyvenv.cfg file". I have tried multiple reinstalls of Python to no avail.

Re: Sqlite3 help

2014-10-20 Thread Chuck
Thanks a bunch Sibylle! That seems like a better approach. -- https://mail.python.org/mailman/listinfo/python-list

Sqlite3 help

2014-10-14 Thread Chuck
designing that included databases. Thanks! Chuck -- https://mail.python.org/mailman/listinfo/python-list

Re: Most discussion on comp.lang.python is about developing with Python

2013-11-13 Thread Chuck Quast
On Thursday, November 14, 2013 3:35:56 AM UTC+7, bob gailer wrote: I joined a week or so ago. The subject line was copied from the description of comp.lang.python aka python-list@python.org. I am very disappointed to see so much energy and bandwidth going to conversations

Stop feeding the Ferrous Cranus troll

2013-11-11 Thread Chuck Quast
http://www.politicsforum.org/images/flame_warriors/flame_62.php why are any of you replying? -- https://mail.python.org/mailman/listinfo/python-list

Generating Filenames from Feeds

2013-03-14 Thread Chuck
\\Me\\Music\\Podcasts\\', pubdate.mp3), where pubdate has been parsed and stripped of whitespace. I keep getting an error around the .mp3. Any ideas? Thanks!! Chuck -- http://mail.python.org/mailman/listinfo/python-list

Re: Generating Filenames from Feeds

2013-03-14 Thread Chuck
Seriously, if you don't post a minimal code example that shows the problem and with a full traceback you are asking strangers to do magic tricks for your pleasure. I'm asking more for a better way of generating destination filenames, not so much debugging questions. I only put my

Config ConfigParser

2013-03-05 Thread Chuck
I'm curious about using configuration files. Can someone tell me how they are used? I'm writing a podcast catcher and would like to set up some default configurations, e.g. directory, etcOther than default directory, what are some of the things that are put in a configuration file?

Re: Config ConfigParser

2013-03-05 Thread Chuck
Thanks Tim! So much stuff I haven't thought of before. Out of curiosity, what's the benefit of caching the download, instead of downloading to the final destination? So much stuff they never teach you school.So much theory not enough practice. :( --

Re: Config ConfigParser

2013-03-05 Thread Chuck
I guess my question was more what is a config.file why/how do I use one. Thanks -- http://mail.python.org/mailman/listinfo/python-list

[issue7063] Memory errors in array.array

2013-02-19 Thread Chuck
Chuck added the comment: I attached a patch, in which I removed v and all code having to do with inserting elements. In particular, I changed the value of b to being positive, since there is no distinction between increasing and decreasing size anymore. -- keywords: +patch nosy

Keep getting this in PyDev TypeError: quiz() takes exactly 1 argument (0 given)

2012-08-10 Thread Chuck
Hi all, I cannot figure why I keep getting this error. It is my understanding that all methods need a self argument when designing a class. Here is my code: import random class ElementsQuiz: elements = {'H' : 'Hydrogen', 'He' : 'Helium', 'Li' : 'Lithium',

Re: Keep getting this in PyDev TypeError: quiz() takes exactly 1 argument (0 given)

2012-08-10 Thread Chuck
On Friday, August 10, 2012 2:05:36 PM UTC-5, Pedro Kroger wrote: On Aug 10, 2012, at 3:52 PM, Chuck galois...@gmail.com wrote: if __name__ == '__main__': quiz() You need to instantiate your class: foo = ElementsQuiz() foo.quiz

Re: Keep getting this in PyDev TypeError: quiz() takes exactly 1 argument (0 given)

2012-08-10 Thread Chuck
Thanks for the help guys! I finally got it working. Shouldn't I technically call quiz() through the constructor, though? Otherwise, the constructor is pointless. I just put in pass for now. (Also, I always thought that if __name__ == '__main__': went IN the class. Why wouldn't it be apart

Re: Keep getting this in PyDev TypeError: quiz() takes exactly 1 argument (0 given)

2012-08-10 Thread Chuck
Yeah, I am mostly a Java guy. Just starting with Python. :) -- http://mail.python.org/mailman/listinfo/python-list

installing modules in Enthought Python

2012-05-30 Thread Chuck
I just downloaded Enthought Python, free version. I wanted all the included packages, but I can't seem to find the correct directory to install new Python modules. Does anybody have an idea? I am trying to add Universal Feed Parser to Enthought. I have tried C:\Python27, C:\Python27\Lib,

Re: installing modules in Enthought Python

2012-05-30 Thread Chuck
On May 30, 10:57 am, David Fanning n...@idlcoyote.com wrote: Chuck writes: I just downloaded Enthought Python, free version.  I wanted all the included packages, but I can't seem to find the correct directory to install new Python modules.  Does anybody have an idea?  I am trying to add

ControlDesk, Python, ActiveX, TableEditor

2012-04-27 Thread Chuck
I am trying to hook into the TableEditor on Controldesk using Python. Unfortunately there are no good examples of how to write the code anywhere I have looked. Does anyone know where to look? OR does anyone have code? Thanks Chuck -- http://mail.python.org/mailman/listinfo/python-list

[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-01 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: Here are four ways to generate things called in the documentation Abstract Syntax Trees (ASTs). Obviously they are not all the same kind of object: #!/usr/local/bin/python2.6 import sys import compiler import parser import ast STATEMENT

[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-01 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: I don't see why the compiler module is any better than any of the other ways that produce reasonable AST. It is available on Python releases older than 2.6? -- ___ Python tracker rep

Re: unable to compile Python 2.6.4 on AIX using gcc

2009-11-04 Thread chuck
the exec_prefix as well? Thanks. Mark Dickinson wrote: On Nov 3, 10:40 pm, chuck nospam_chuckwhi...@charter.net wrote: Hello -- I am trying to compile Python 2.6.4 on a Power 5 PC with AIX 5.3. Here are the settings: Take a look at: http://bugs.python.org/issue1628484 Mark -- http://mail.python.org

[issue7076] Documentation add note about SystemRandom

2009-11-03 Thread chuck
chuck jan.hos...@gmail.com added the comment: I think many people who are looking for a random number generator end up on this page and need to be informed if there are alternatives so they can make up their own mind. If you want to discourage people to use it, that's fine and we can do so

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-31 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: Thanks. -ccr- -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210 ___ ___ Python-bugs-list

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-30 Thread Chuck Rhode
Changes by Chuck Rhode crh...@lacusveris.com: Removed file: http://bugs.python.org/file15231/test_grammar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-30 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: Oh! That's very different. :-) I can do that. -- Added file: http://bugs.python.org/file15237/test_grammar_trunk.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-29 Thread Chuck Rhode
Changes by Chuck Rhode crh...@lacusveris.com: Removed file: http://bugs.python.org/file15213/test_grammar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-29 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: Sorry I'm having so much trouble with this patch. Here's another. Thanks for your patience. -ccr- -- Added file: http://bugs.python.org/file15231/test_grammar.patch ___ Python tracker rep

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-27 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: Yet another patch file -- Added file: http://bugs.python.org/file15213/test_grammar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
New submission from Chuck Rhode crh...@lacusveris.com: PythonTidy is a code beautifier written three years ago and downloaded numerous times. o http://lacusveris.com/PythonTidy/PythonTidy.python It suffers a bug, which has only recently come to light. It considers the following lines

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: You mean like this? -- Added file: http://bugs.python.org/file15209/test_grammar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
Changes by Chuck Rhode crh...@lacusveris.com: Removed file: http://bugs.python.org/file15209/test_grammar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
Changes by Chuck Rhode crh...@lacusveris.com: Removed file: http://bugs.python.org/file15206/test_grammar.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7210

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: Well, the last two patch files weren't very good, but I hope the third time's the charm. -- Added file: http://bugs.python.org/file15210/test_grammar.patch ___ Python tracker rep...@bugs.python.org

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-10-21 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com added the comment: PythonTidy encounters this problem. o http://lacusveris.com/PythonTidy/PythonTidy.python It is unable correctly to render line 694 of test_grammar.py in the Python Test Suite: d[1,] = 2 becomes: d[1] = 2 because the *compiler

[issue7138] elementtree segfaults on invalid xml declaration

2009-10-15 Thread chuck
chuck jan.hos...@gmail.com added the comment: I'm seeing this on the built-in python on os x 10.6, too: Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin But neither with the trunk Python 2.7a0 (trunk:75433M, Oct 15 2009, 08:27:13) [GCC 4.2.1

[issue7069] inspect.isabstract to return boolean values only

2009-10-14 Thread chuck
chuck jan.hos...@gmail.com added the comment: That's fine with me. Looks like nobody wants to check it in anyways. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7069

[issue7076] Documentation add note about SystemRandom

2009-10-07 Thread chuck
chuck jan.hos...@gmail.com added the comment: Depends on how verbose we want to be. It should say why one might want to use urandom() instead of random (if you decide you are interested you can still look up the documentation). I think it would be nice to say why random does not use urandom

Re: Podcast catcher in Python

2009-09-19 Thread Chuck
On Sep 19, 7:40 am, Dave Angel da...@ieee.org wrote: Chuck wrote: On Sep 12, 3:37 pm, Chuck galois...@gmail.com wrote: On Sep 11, 9:54 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Sep 11, 2009 at 7:43 PM, Chuck galois...@gmail.com wrote: Does anyone know how I should read/download

Re: Podcast catcher in Python

2009-09-19 Thread Chuck
On Sep 19, 7:40 am, Dave Angel da...@ieee.org wrote: Chuck wrote: On Sep 12, 3:37 pm, Chuck galois...@gmail.com wrote: On Sep 11, 9:54 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Sep 11, 2009 at 7:43 PM, Chuck galois...@gmail.com wrote: Does anyone know how I should read/download

Re: Podcast catcher in Python

2009-09-19 Thread Chuck
On Sep 19, 7:40 am, Dave Angel da...@ieee.org wrote: Chuck wrote: On Sep 12, 3:37 pm, Chuck galois...@gmail.com wrote: On Sep 11, 9:54 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Sep 11, 2009 at 7:43 PM, Chuck galois...@gmail.com wrote: Does anyone know how I should read/download

Re: Podcast catcher in Python

2009-09-19 Thread Chuck
Never mind, guys I finally got things working. Woo hoo -- http://mail.python.org/mailman/listinfo/python-list

[issue6941] Socket error when launching IDLE

2009-09-19 Thread chuck
Changes by chuck jan.hos...@gmail.com: -- status: pending - open title: Socket error when launching IDL - Socket error when launching IDLE ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6941

Re: Podcast catcher in Python

2009-09-18 Thread Chuck
On Sep 12, 3:37 pm, Chuck galois...@gmail.com wrote: On Sep 11, 9:54 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Sep 11, 2009 at 7:43 PM, Chuck galois...@gmail.com wrote: Does anyone know how I should read/download the mp3 file, and how I should write/save it so that I can play

Re: Podcast catcher in Python

2009-09-12 Thread Chuck
On Sep 11, 9:54 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Sep 11, 2009 at 7:43 PM, Chuck galois...@gmail.com wrote: Does anyone know how I should read/download the mp3 file, and how I should write/save it so that I can play it on a media player such as Windoze media player?  Excuse

Podcast catcher in Python

2009-09-11 Thread Chuck
, or whatever, podcast? Do I need to somehow parse the XML document? I really don't know. Any ideas? Thanks! Chuck -- http://mail.python.org/mailman/listinfo/python-list

Re: Podcast catcher in Python

2009-09-11 Thread Chuck
Also, if anyone could recommend some books that cover this type of programming, I would greatly appreciate it. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Podcast catcher in Python

2009-09-11 Thread Chuck
On Sep 11, 10:30 am, Falcolas garri...@gmail.com wrote: On Sep 11, 8:20 am, Chuck galois...@gmail.com wrote: Hi all, I would like to code a simple podcast catcher in Python merely as an exercise in internet programming.  I am a CS student and new to Python, but understand Java fairly

Re: Podcast catcher in Python

2009-09-11 Thread Chuck
On Sep 11, 12:56 pm, Chuck galois...@gmail.com wrote: On Sep 11, 10:30 am, Falcolas garri...@gmail.com wrote: On Sep 11, 8:20 am, Chuck galois...@gmail.com wrote: Hi all, I would like to code a simple podcast catcher in Python merely as an exercise in internet programming.  I am

Re: Podcast catcher in Python

2009-09-11 Thread Chuck
On Sep 11, 1:09 pm, Chuck galois...@gmail.com wrote: On Sep 11, 12:56 pm, Chuck galois...@gmail.com wrote: On Sep 11, 10:30 am, Falcolas garri...@gmail.com wrote: On Sep 11, 8:20 am, Chuck galois...@gmail.com wrote: Hi all, I would like to code a simple podcast catcher

Re: Podcast catcher in Python

2009-09-11 Thread Chuck
On Sep 11, 8:32 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Sep 11, 2009 at 11:09 AM, Chuck galois...@gmail.com wrote: On Sep 11, 12:56 pm, Chuck galois...@gmail.com wrote: On Sep 11, 10:30 am, Falcolas garri...@gmail.com wrote: On Sep 11, 8:20 am, Chuck galois...@gmail.com wrote

Re: Podcast catcher in Python

2009-09-11 Thread Chuck
On Sep 11, 9:07 pm, Chuck galois...@gmail.com wrote: On Sep 11, 8:32 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Sep 11, 2009 at 11:09 AM, Chuck galois...@gmail.com wrote: On Sep 11, 12:56 pm, Chuck galois...@gmail.com wrote: On Sep 11, 10:30 am, Falcolas garri...@gmail.com

Reading then sending new parts of a log file

2009-06-24 Thread Chuck Connors
Hey guys. I'm trying to work up a little program that will send any new lines written to a file (log file from my home automation software) to me via instant message. I've gotten the instant message sending part figured out using xmpppy. I've done a few things with Python in the past but I am

Re: Reading then sending new parts of a log file

2009-06-24 Thread Chuck Connors
On Jun 24, 11:57 am, Scott David Daniels scott.dani...@acm.org wrote: What OS and version, what Python and version. Win XP, Python 2.6.2 -- http://mail.python.org/mailman/listinfo/python-list

Re: Reading then sending new parts of a log file

2009-06-24 Thread Chuck Connors
On Jun 24, 2:48 pm, unayok una...@gmail.com wrote: Here's a little nudge:http://code.activestate.com/recipes/157035/ In place of its print line, you'd make your call into your existing code to send the message. Wow! Thanks for the _shove_ in the right direction. Looks perfect. --

Re: What does self.grid() do?

2009-03-10 Thread chuck
On Mar 5, 3:03 am, Marc 'BlackJack' Rintsch bj_...@gmx.net wrote: On Wed, 04 Mar 2009 09:04:50 -0800, chuck wrote: On Mar 3, 10:40 pm, Marc 'BlackJack' Rintsch bj_...@gmx.net wrote: On Tue, 03 Mar 2009 18:06:56 -0800, chuck wrote: I am learning python right now.  In the lesson on tkinter I

Re: What does self.grid() do?

2009-03-04 Thread chuck
On Mar 3, 10:40 pm, Marc 'BlackJack' Rintsch bj_...@gmx.net wrote: On Tue, 03 Mar 2009 18:06:56 -0800, chuck wrote: I am learning python right now.  In the lesson on tkinter I see this piece of code from Tkinter import * class MyFrame(Frame):    def __init__(self):        Frame

What does self.grid() do?

2009-03-03 Thread chuck
I am learning python right now. In the lesson on tkinter I see this piece of code from Tkinter import * class MyFrame(Frame): def __init__(self): Frame.__init__(self) self.grid() My question is what does self.grid() do? I understand that the grid method registers widgets with

Re: Need help converting text to csv format

2008-11-22 Thread Chuck Connors
Firstly, I would like to thank those that offered help. I was able to get my data into the database and also have connectivity with the mysql and can pull the data in/out at will. Hooray and thanks again. Secondly, perhaps I overstated my abilities. I have written a couple of websites from

Need help converting text to csv format

2008-11-21 Thread Chuck Connors
Hey guys. I'm working on a little program to help my wife catalog her/ our coupons. I found a good resource but need help formatting the text data so that I can import it into a mysql database. Here's the data format: 40922003 Life Fitness Products $1 (12-13-08) (CVS) 546500181141 Oust Air

Re: Need help converting text to csv format

2008-11-21 Thread Chuck Connors
I'm wondering if PHP experience precludes the ability to use a search engine before asking for help... Thanks for the push in the right direction, friend. -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help converting text to csv format

2008-11-21 Thread Chuck Connors
Wow! What a change in direction from the previous post. Thank you both for the help and the explanations. This will work great! -- http://mail.python.org/mailman/listinfo/python-list

Music Theory Programming Google Group

2008-10-23 Thread Chuck Cronan
joined VBAX today (I hope someone will answer my question but it seems no one is interested). I am not a musician (but I have a piano I want to sell). Chuck Charles L. Cronan, PhD 4239 N. Larkin St Shorewood, WI 53211-1558 414-962-1627 [EMAIL PROTECTED] -- http

Re: Good python equivalent to C goto

2008-08-18 Thread Chuck Rhode
for *fortran*? Here there be typos (abject apologies): o Clark, R. Lawrence. A Linguistic Contribution to GOTO-less Programming. _Datamation_ Dec. 1973. 18 Aug. 2008 http://www.fortranlib.com/gotoless.htm. -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http

Re: Web Crawler - Python or Perl?

2008-06-26 Thread Chuck Rhode
the download stalled. -- .. Chuck Rhode, Sheboygan, WI, USA .. 1979 Honda Goldwing GL1000 (Geraldine) .. Weather: http://LacusVeris.com/WX .. 73° — Wind Calm -- http://mail.python.org/mailman/listinfo/python-list

Re: Web Crawler - Python or Perl?

2008-06-12 Thread Chuck Rhode
is to supply timeout parms to the *curl* command through the shell. Execute the command and retrieve its output through the *subprocess* module. -- .. Chuck Rhode, Sheboygan, WI, USA .. 1979 Honda Goldwing GL1000 (Geraldine) .. Weather: http://LacusVeris.com/WX .. 64° — Wind SE 5 mph — Sky partly cloudy

Re: Python 3000: Standard API for archives?

2007-06-05 Thread Chuck Rhode
Tim Golden wrote this on Mon, 04 Jun 2007 15:55:30 +0100. My reply is below. Chuck Rhode wrote: samwyse wrote this on Mon, 04 Jun 2007 12:02:03 +. My reply is below. I think it would be a good thing if a standardized interface existed, similar to PEP 247. This would make it easier

Re: Python 3000: Standard API for archives?

2007-06-04 Thread Chuck Rhode
abominations). -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 62° — Wind N 7 mph — Sky overcast. Mist. -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 8 style enforcing program

2007-05-31 Thread Chuck Rhode
montyphyton wrote this on Thu, 31 May 2007 05:16:30 -0700. My reply is below. I understand that there are a lot of code beautifiers out there, but i haven't seen one specially tailored for Python. Consider PythonTidy: o http://lacusveris.com/PythonTidy/PythonTidy.python -- .. Chuck Rhode

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-15 Thread Chuck Rhode
, I, too, was suffering flashbacks to CDC's 6-bit Hollerith code. -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 69° — Wind NNE 6 mph — Sky partly cloudy. -- http://mail.python.org/mailman/listinfo/python-list

Re: nonstandard XML character entities?

2007-04-14 Thread Chuck Rhode
)) : parser.entity = htmlentitydefs.entitydefs : self.parse(source=file, parser=parser) : return It looks goofy as can be, but it works for me. -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 32° — Wind Calm -- http://mail.python.org/mailman

Re: nonstandard XML character entities?

2007-04-14 Thread Chuck Rhode
Chuck Rhode wrote this on Sat, 14 Apr 2007 09:04:45 -0500. My reply is below. Fixed text wrap: import xml.etree.ElementTree # or elementtree.ElementTree prior to 2.5 ElementTree = xml.etree.ElementTree import htmlentitydefs class XmlFile(ElementTree.ElementTree): def __init__(self

Re: [JOB] Sr. Python Developer, Northern VA

2007-03-23 Thread Chuck Rhode
of employers' (in the US) being so starved for talent that they're willing to bring in young men from overseas with 3.5 kids and 1.5 wives? -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 44° — Wind SSE 7 mph — Sky overcast. Light rain; mist. -- http://mail.python.org/mailman

Re: Python Source Code Beautifier

2007-02-27 Thread Chuck Rhode
/PythonTidy.python It doesn't have a graphical user interface, and it doesn't do everything you want, and it isn't reasonable (It's of an unreasonable size.), but it is a beginning. For future reference, look in: o http://cheeseshop.python.org/pypi ... under reformat. -- .. Chuck Rhode, Sheboygan, WI, USA

Re: Automated resizing of JPEG image + making slices?

2007-02-15 Thread Chuck Rhode
, variable substitutions, or even spurious path names. -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 18° — Wind WNW 13 mph -- http://mail.python.org/mailman/listinfo/python-list

Re: beep or sound playing under linux

2007-01-22 Thread Chuck Rhode
hg wrote this on Mon, Jan 22, 2007 at 04:12:50PM +0100. My reply is below. Is there a way to do that? (Make noise.) In Gnome there is: gtk.gdk.beep() -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 28° — Wind WSW 10 mph — Sky overcast. -- http

PythonTidy 1.10

2007-01-19 Thread Chuck Rhode
://www.lacusveris.com/PythonTidy/PythonTidy-1.10.python;PythonTidy 1.10/A - Cleans up, regularizes, and reformats the text of Python scripts. (18-Jan-07)/P .. Chuck Rhode, Sheboygan, WI, USA .. mailto:[EMAIL PROTECTED] .. Weather: http://LacusVeris.com/WX .. 20° — Wind WNW 13 mph -- http://mail.python.org/mailman

PythonTidy 1.10

2007-01-18 Thread Chuck Rhode
://www.lacusveris.com/PythonTidy/PythonTidy-1.10.python;PythonTidy 1.10/A - Cleans up, regularizes, and reformats the text of Python scripts. (18-Jan-07)/P .. Chuck Rhode, Sheboygan, WI, USA .. mailto:[EMAIL PROTECTED] .. Weather: http://LacusVeris.com/WX .. 20° — Wind WNW 13 mph -- http://mail.python.org/mailman

Re: Conflicting needs for __init__ method

2007-01-17 Thread Chuck Rhode
Ben Finney wrote this on Wed, Jan 17, 2007 at 08:27:54PM +1100. My reply is below. I recommend, instead, separate factory functions for separate input types. Uh, how 'bout separate subclasses for separate input types? -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com

ReportLab - Frames - Images

2007-01-15 Thread Chuck
line. Please help. Chuck *** CUT *** from reportlab.pdfgen import * from reportlab.platypus import * from reportlab.lib.units import inch from reportlab.platypus import SimpleDocTemplate from reportlab.platypus import flowables from reportlab.lib.enums import

Re: ReportLab - Frames - Images

2007-01-15 Thread Chuck
Thanks for the help. I made you changes but it still puts the picture above the text, not beside the text. I also found a user group at http://news.gmane.org/gmane.comp.python.reportlab.user . It may be the same. I have now posted there. Chuck -- http://mail.python.org/mailman/listinfo/python

PythonTidy 1.9

2007-01-09 Thread Chuck Rhode
;PythonTidy 1.9/A - Cleans up, regularizes, and reformats the text of Python scripts. (09-Jan-07) -- .. Chuck Rhode, Sheboygan, WI, USA .. mailto:[EMAIL PROTECTED] .. Weather: http://LacusVeris.com/WX .. 20° — Wind WNW 13 mph -- http://mail.python.org/mailman/listinfo/python-announce-list

Re: help: code formatter?

2007-01-08 Thread Chuck Rhode
siggi wrote this on Mon, Jan 08, 2007 at 03:33:21PM +0100. My reply is below. Is there a simple code formatter that first removes all indentations and then refomats correctly? Why, yes, there is: http://lacusveris.com/PythonTidy/PythonTidy.python -- .. Chuck Rhode, Sheboygan, WI, USA

Re: PythonTidy

2006-12-06 Thread Chuck Rhode
over the other). Is it possible to customize this? Here is a new global: DOUBLE_QUOTED_STRINGS = True. -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 30° — Wind WNW 15 mph — Sky overcast. -- http://mail.python.org/mailman/listinfo/python-list

PythonTidy

2006-12-05 Thread Chuck Rhode
scripts: http://www.LacusVeris.com/PythonTidy/PythonTidy.python What next? Is it appropriately submitted to the Cheese Shop? -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 3° — Wind W 8 mph -- http://mail.python.org/mailman/listinfo/python-list

Re: PythonTidy

2006-12-05 Thread Chuck Rhode
various options by simply activating or deactivating them; if I could, it would be much more useful to me. PythonTidy should be run only on code that is already familiar or that will rapidly become so in the near future. -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX

Re: PythonTidy

2006-12-05 Thread Chuck Rhode
Thomas Heller wrote this on Tue, Dec 05, 2006 at 07:06:30PM +0100. My reply is below. I suggest you open the file with open(input-file, rU). This doesn't work so pretty good while reading from sys.stdin, so I'm still at the drawing board. -- .. Chuck Rhode, Sheboygan, WI, USA .. 1979 Honda

Re: PythonTidy

2006-12-02 Thread Chuck Rhode
, obviating the need for a custom switch. -- .. Chuck Rhode, Sheboygan, WI, USA .. 1979 Honda Goldwing GL1000 (Geraldine) .. Weather: http://LacusVeris.com/WX .. 10° — Wind S 5 mph -- http://mail.python.org/mailman/listinfo/python-list

Re: PythonTidy

2006-12-02 Thread Chuck Rhode
Thomas Heller wrote this on Fri, Dec 01, 2006 at 10:12:38PM +0100. My reply is below. Chuck Rhode schrieb: o Command-line args: Please give an example of a standard command that I might emulate w.r.t. standard argument use. Well, at least it would be nice if I could call 'PythonTidy.py

Re: PythonTidy

2006-11-30 Thread Chuck Rhode
, most are declared near the beginning where they sit just begging for end-user involvement. See: CODING_SPEC and SHEBANG. *PythonTidy* is all about consistency, consistency, and consistency. You can use it to standardize shebangs and coding across a whole library of Python scripts. -- .. Chuck

Re: PythonTidy

2006-11-30 Thread Chuck Rhode
not greatly inconvenienced when they are moved around a little. -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 21° — Wind N 8 mph -- http://mail.python.org/mailman/listinfo/python-list

PythonTidy

2006-11-29 Thread Chuck Rhode
. -- .. Chuck Rhode, Sheboygan, WI, USA -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding skilled pythonistas for micro-jobs?

2006-11-18 Thread Chuck Rhode
, and they are time consuming. -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 38° — Wind NNW 9 mph — Sky overcast. -- http://mail.python.org/mailman/listinfo/python-list

If you were given a mall would you take it?

2006-05-18 Thread Chuck
http://www.telebay.com/esolutions/opp.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Compile ui files from within Eclipse

2006-03-07 Thread Chuck
Well, I tried that but there isnt a way to get the filename without the extension. For example, pyuic -o MyClass.py MyClass.ui Using the variables in the external tool config I dont see a way to get just the filename in order to create an output filename and pass it into the pyoic. --

Re: Compile ui files from within Eclipse

2006-03-07 Thread Chuck
I guess I could prompt for input but was hoping to find a better way. -- http://mail.python.org/mailman/listinfo/python-list

Compile ui files from within Eclipse

2006-03-06 Thread Chuck
Hello, I am new to the Eclipse IDE. I am using pydev plug-in to create python projects. Is there a way to create custom builders to build certain types of files? I have done this with other IDE's but can't seem to figure it out with Eclipse. I am trying to build *.ui files of a pydev project

logging module question

2006-01-23 Thread chuck
I want to create two different loggers so that users see one output (e.g. no exception/stack traces) and others (e.g support staff) that does see stack traces via email. The code below is close but I still get console output on the email logger from the root logger. How do I get rid of it?

  1   2   >