Difference in Setup Between Windows 10 Running Python 3.9 and Windows 11 Running Python 3.10

2022-05-01 Thread Brent Hunter
wer version of Python. Does anyone have any ideas what I should do to get the Python script running on my new machine? Thank you! Brent -- https://mail.python.org/mailman/listinfo/python-list

Python Question re Executing a Script

2022-04-30 Thread Brent Hunter
Hello, I just purchased a new Windows 11 computer and installed Python 3.10.4 (64 bit). I can't figure out from your documentation, how do I: 1. Run a python script that is located in the same directory ( C:\Users\Brent\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python

Re: how to build and install multiple micro-level major.minor versions of Python

2014-04-29 Thread Brent S. Elmer Ph.D.
On Tue, 2014-04-29 at 11:35 -0700, Ned Deily wrote: > In article <1398785310.2673.16.camel@belmer>, > "Brent S. Elmer Ph.D." wrote: > > Is there a way to do what I want to do (i.e. install 2.7.6 beside 2.7)? > > The usual way to support multiple micro versio

how to build and install multiple micro-level major.minor versions of Python

2014-04-29 Thread Brent S. Elmer Ph.D.
I have built and installed Python on AIX as well as installed a stack of Python tools. The version I installed is 2.7.2. Everything is working fine but I want to install Python 2.7.6 and the tool stack. Before I installed 2.7.2, I installed 2.6.x. I was able to install the 2.7.2 and 2.6.x side

Re: [pyxl] xlrd 0.8.0 released!

2012-08-18 Thread Brent Marshall
My compliments to John and Chris and to any others who contributed to the new xlsx capability. This is a most welcome development. Thank you. Brent -- http://mail.python.org/mailman/listinfo/python-list

Re: Would there be work for a sysadmin who specializes in python?

2009-08-25 Thread Brent Bloxam
walterbyrd wrote: If I took the time to really learn to use python for sysadmin work, would I be able to find jobs, or even contract jobs? From what I am seeing on the job boards etc., I would have to say no. It looks to me as though I could possibly do that with perl, but not python. Of cour

Re: extracting plain text from RTF-file ?

2009-04-07 Thread Brent Bloxam
Stef Mientki wrote: hello, I'm looking for a library to extract plain text from RTF-files. I found these only RTF generation http://pyrtf.sourceforge.net/ should be able to parse, but no download files http://code.google.com/p/pyrtf-ng/ any suggestions ? thanks, Stef Mientki -- http://mail.p

Re: Executing a C program from Python

2009-04-06 Thread Brent Bloxam
vishakha vaibhav wrote: Hi, I am very new to python. I have my cgi script written in Python. My CGI script should call a C program and collect the value returned by this program and pass it to the browser. Can anyone help me out in this. How can I execute the c program and collect the return

Re: Delicious API and urllib2

2009-04-06 Thread Brent Bloxam
Bill wrote: The delicious api requires http authorization (actually https). A generic delicious api post url is "https:// username:passw...@api.api.del.icio.us/v1/posts/add?url=http:// example.com/&description=interesting&tags=whatever". This works fine when entered in the Firefox address bar. H

Re: Sending SMS using python script

2009-04-02 Thread Brent Bloxam
le.com/p/mmsmsd/ (it's BSD licensed) If you go this route, feel free to submit any bug reports or requests. If anyone out there feels like doing a quick audit of the code, that would be appreciated as well :) This is my first project with Python. -- | .-> brent bloxam ~-.

Re: efficient interval containment lookup

2009-01-12 Thread brent
On Jan 12, 9:34 pm, Per Freem wrote: > hi brent, thanks very much for your informative reply -- didn't > realize this about the size of the interval. > > thanks for the bx-python link.  could you (or someone else) explain > why the size of the interval makes such a big

Re: efficient interval containment lookup

2009-01-12 Thread brent
On Jan 12, 8:55 pm, Per Freem wrote: > On Jan 12, 10:58 pm, Steven D'Aprano > > > > wrote: > > On Mon, 12 Jan 2009 14:49:43 -0800, Per Freem wrote: > > > thanks for your replies -- a few clarifications and questions. the > > > is_within operation is containment, i.e. (a,b) is within (c,d) iff a >

Re: print vs sys.stdout.write, and UnicodeError

2007-10-25 Thread Brent Lievers
Martin Marcher <[EMAIL PROTECTED]> wrote: > 25 Oct 2007 17:37:01 GMT, Brent Lievers <[EMAIL PROTECTED]>: >> Greetings, >> >> I have observed the following (python 2.5.1): >> >> >>> import sys >> >>> print sys.stdout.encoding >

print vs sys.stdout.write, and UnicodeError

2007-10-25 Thread Brent Lievers
nicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 0: ordinal not in range(128) Is this correct? My understanding is that print ultimately calls sys.stdout.write anyway, so I'm confused as to why the Unicode error occurs in the second case. Can someone explain? Thanks, Brent -- http://mail.python.org/mailman/listinfo/python-list

Python Guru needed in San Jose!

2007-01-02 Thread Brent Rogers -X (breroger - Spherion at Cisco)
t with 10+ years relevant experience in internetworking technologies and applications. * Contact: Brent Rogers, Recruiter * Email: [EMAIL PROTECTED] * Phone: 469-255-0254 Brent Rogers Recruiter Talent Acquisition and Management [EMAIL PROTECTED] Phone :469-255-0254

Re: How to create a unix shell account with Python?

2006-02-05 Thread brent . chambers
os.system("useradd ...") Its not pretty, but it gets it done. -- http://mail.python.org/mailman/listinfo/python-list

trouble subclassing str

2005-06-23 Thread Brent
I'd like to subclass the built-in str type. For example: -- class MyString(str): def __init__(self, txt, data): super(MyString,self).__init__(txt) self.data = data if __name__ == '__main__': s1 = MyString("some text", 100) -- but I get the error: Traceback (most rec

[pygame] Very simple program fails. Why?

2005-04-26 Thread Brent W. Hughes
tand-alone (outside of PythonWin), a DOS box pops up for a second or two, then the Bug's Life window flashes up for a fraction of a second, and then both windows disappear. Am I doing something wrong? Brent -- http://mail.python.org/mailman/listinfo/python-list

Re: How to allow events during long processing routine?

2005-03-09 Thread Brent W. Hughes
Thanks, M.E.Farmer. I continue to be impressed with how quickly and nicely one can get help here. Brent "M.E.Farmer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Survey says. > ...wxYield() > > ;

[wxPython] How to allow events during long processing routine?

2005-03-09 Thread Brent W. Hughes
gh my loop. Anybody remember the name of that function? Brent -- http://mail.python.org/mailman/listinfo/python-list

Pythonwin: Red squiggley underline and syntax error

2005-02-28 Thread Brent W. Hughes
also tried retyping the entire line. Sometimes, I can get the red line to go away but when I try to run the program, it gives me a syntax error on the line that had the red underline. Help! Brent -- http://mail.python.org/mailman/listinfo/python-list

Newbie: SWIG or SIP?

2005-02-09 Thread Brent W. Hughes
other DLL or what? Brent -- http://mail.python.org/mailman/listinfo/python-list

Re: WYSIWYG wxPython "IDE"....?

2005-02-06 Thread Brent W. Hughes
oncept. It's a lot like Delphi, and I LOVE Delphi. So one of these days I hope to love Boa Constructor for when I need to write GUI apps. Brent -- http://mail.python.org/mailman/listinfo/python-list

Re: Possibly OT: Controlling winamp with Python

2005-02-04 Thread Brent W. Hughes
just click on the program in the task bar. It knows what to do from there. Brent "Kartic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Brent, > > Question : how will your python script distinguish between a commercial > and a song? > > I can un

Possibly OT: Controlling winamp with Python

2005-02-04 Thread Brent W. Hughes
the mute button again to restore the sound. Is such a thing possible? Brent -- http://mail.python.org/mailman/listinfo/python-list

How to input one char at a time from stdin?

2005-01-25 Thread Brent W. Hughes
I'd like to get a character from stdin, perform some action, get another character, etc. If I just use stdin.read(1), it waits until I finish typing a whole line before I can get the first character. How do I deal with this? Brent -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie: Pythonwin

2005-01-13 Thread Brent W. Hughes
Thanks guys! That helps a lot. Brent -- http://mail.python.org/mailman/listinfo/python-list

Newbie: Pythonwin

2005-01-11 Thread Brent W. Hughes
eground. I try clicking on Pythonwin's minimize box but it doesn't respond until the Python program finally quits Then it minimizes! Any way I can do what I want here? Brent -- http://mail.python.org/mailman/listinfo/python-list