Re: os.walk the apostrophe and unicode

2017-06-25 Thread Rod Person
On Sun, 25 Jun 2017 08:18:45 -0600 Michael Torrie <torr...@gmail.com> wrote: > On 06/25/2017 06:19 AM, Rod Person wrote: > > But doing a simple ls of that directory show it is unicode but the > > replacement of the offending character. > > > > http://rodperson.

Re: os.walk the apostrophe and unicode

2017-06-25 Thread Rod Person
Ok...so after reading all the replies in the thread, I thought I would be easier to send a general reply and include some links to screenshots. As Peter mention, the logic thing to do would be to fix the file name to what I actually thought it was and if this was for work that probably what I

Re: os.walk the apostrophe and unicode

2017-06-24 Thread Rod Person
On Sat, 24 Jun 2017 13:28:55 -0600 Michael Torrie <torr...@gmail.com> wrote: > On 06/24/2017 12:57 PM, Rod Person wrote: > > Hi, > > > > I'm working on a program that will walk a file system and clean the > > id3 tags of mp3 and flac files, everything is workin

Re: os.walk the apostrophe and unicode

2017-06-24 Thread Rod Person
On Sat, 24 Jun 2017 21:28:45 +0200 Peter Otten <__pete...@web.de> wrote: > Rod Person wrote: > > > Hi, > > > > I'm working on a program that will walk a file system and clean the > > id3 tags of mp3 and flac files, everything is working great until >

os.walk the apostrophe and unicode

2017-06-24 Thread Rod Person
Hi, I'm working on a program that will walk a file system and clean the id3 tags of mp3 and flac files, everything is working great until the follow file is found '06 - Todd's Song (Post-Spiderland Song in Progress).flac' for some reason that I can't understand os.walk() returns this file name

Re: Python and GUI development

2014-12-01 Thread Rod Person
On Mon, 1 Dec 2014 23:13:32 +1100 Chris Angelico ros...@gmail.com wrote: On Mon, Dec 1, 2014 at 10:55 PM, Ganesh Pal ganesh1...@gmail.com wrote: Hi folks, I want to design a GUI interface for my project . I wanted it to use it Python and it has to work on freebsd . Please

Re: Total Python Newbie needs geting started info.

2013-11-20 Thread Rod Person
On 11/20/2013 11:03 AM, Ev J wrote: I am learning Python and wish to develop GUI applications to run on Windows. I have installed the Visual Studio integrated shell (Ver. 12.0.21005.1 REL) IDE and the Python 3.3 interpreter. I have gone through some of the 3.3 tutorial available at

Re: To whoever hacked into my Database

2013-11-10 Thread Rod Person
On Sun, 10 Nov 2013 20:32:11 +0100 Petite Abeille petite.abei...@gmail.com wrote: On Nov 10, 2013, at 8:21 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote: Perhaps You're in a desert, walking along in the sand, when all of a sudden you look down and see a tortoise. It's crawling

Re: To whoever hacked into my Database

2013-11-10 Thread Rod Person
On Sun, 10 Nov 2013 21:41:54 +0100 Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: 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

Re: To whoever hacked into my Database

2013-11-10 Thread Rod Person
On Sun, 10 Nov 2013 21:41:54 +0100 Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: 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

Re: JUST GOT HACKED

2013-10-02 Thread Rod Person
On 10/2/2013 9:30 AM, Νίκος wrote: You learn and you are forced to solve problems better when you deal with real time problems. https://tinyurl.com/44teepw -- Rod The guide of millers uses only the finest grains: true Roman breads, for true Romans. --

Re: [CGI] Basic newbie error or server configuration error?

2012-08-20 Thread Rod Person
: === Options +ExecCGI AddHandler cgi-script .py === I'm not sure where to look for an error. Could it be some non-printed, bad characters that prevent Python from compiling the source code? Thanks for any help. Check the Apache error log, there should be more information there. -- Rod

Re: unable to get simple html file up

2012-08-03 Thread Rod Person
. But strangely i can't even see the page itself. Any idea why it is like this? I have made link.py executable. Here is the server.pyhttp://dpaste.de/iEPTk/ . looks like the closing are missing from link.py -- Rod Person http://www.rodperson.com rodper...@rodperson.com -- http://mail.python.org

Re: Python Script Works Locally But Not Remotely with SSH

2012-04-03 Thread Rod Person
just have a terminal, You wont be able to run GUI apps. You need an X server on the XP machine. I've use Xming for this. http://sourceforge.net/projects/xming/?_test=b -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom' -- http

class checking its own module for an attribute

2012-03-21 Thread Rod Person
itself. It would seem to me that there should be a way for a module to reference itself. In that thinking I have tried if not(hasattr(__file__, value): if not(hasattr(__name__, value): and even: this = sys.argv[0] if not(hasattr(this, value): None of which works. -- Rod Person http

Re: class checking its own module for an attribute

2012-03-21 Thread Rod Person
On Wed, 21 Mar 2012 09:56:57 -0700 Chris Rebert c...@rebertia.com wrote: On Wed, Mar 21, 2012 at 8:25 AM, Rod Person rodper...@rodperson.com wrote: snip The question is there a way I can do this with out having to import constants when what it's doing is importing itself. It would seem

Re: class checking its own module for an attribute

2012-03-21 Thread Rod Person
On Wed, 21 Mar 2012 17:59:56 +0100 Peter Otten __pete...@web.de wrote: Rod Person wrote: We have a module called constants.py, which contains [whatever] related to server names, databases, service account users and their passwords. Passwords? Yes, not the best thing

Re: converting from tcl/tkl to python

2012-03-09 Thread Rod Person
you to use WxWidgets, Qt and GTK. -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom' -- http://mail.python.org/mailman/listinfo/python-list

Re: Can not get the result of query in pymssql module of python...

2012-02-09 Thread Rod Person
expecting that the result of the query will be 16. But it is not retuning any data from query with no error at any place. On execting the same query in tsql, I got result as 16. -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom' -- http

Re: Komodo 7 release (Python development tools)

2012-02-09 Thread Rod Person
Perl, Ruby or TCL code. -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom' -- http://mail.python.org/mailman/listinfo/python-list

Re: Unable to install xmldiff package on WIndows7

2012-01-05 Thread Rod Person
version but check http://gcc.gnu.org -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom' -- http://mail.python.org/mailman/listinfo/python-list

Re: Py and SQL

2011-11-30 Thread Rod Person
On Wed, 30 Nov 2011 15:30:48 -0500 Verde Denim tdl...@gmail.com wrote: All I have a sql script that I've included in a simple Py file that gives an error in the SQL. The problem is that the SQL code executes correctly in a database IDE environment (in this case ora developer). So, I'm

Creating and Audio Equalizer with python and gstreamer

2008-04-09 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For about 3 weeks I have been search for examples for grabbing and frequency from an audio stream and manipulating it. So far I haven't been too successful. Just wondering if anyone has done this or has a good example of doing such. TIA Rod

Python Class Best Practice

2007-12-04 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been doing python programming for about 2 years as a hobby and now I'm finally able to use it at work in an enterprise environment. Since I will be creating the base classes and libraries I wondering which why is consider best when creating

Re: Python Class Best Practice

2007-12-04 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 04 Dec 2007 15:51:18 -0800 Gary Herron [EMAIL PROTECTED] wrote: Rod Person wrote: 1: class Foo(object): member1='' member2=0 def __init__(self,member1='',member2=0): self.member1 = member1 self.member2

FreeBSD/Linux X11 determine which window manager is active

2007-07-07 Thread Rod Person
I'm looking for a way to determine which window manager is running using python. I can't seem to find a system variable that hold this info. -- Rod it takes an unusual mind to see the obvious. - Alfred Whitehead signature.asc Description: This is a digitally signed message part --

Help with creating processes

2007-01-19 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to create a simple gui wrapper for the handbrake dvd ripper with python 2.4 on a FreeBSD system. My problem is this. I want to scan the dvd to see all the titles and chapters. The handbrake command for this is: handbrake -i