RE: Top level of a recursive function

2022-12-13 Thread Schachner, Joseph (US)
Reducing repetitiveness has made this code harder to read. I had to think about what it is doing. It might be slightly faster, but in my opinion it is not worth it. --- Joseph S. Teledyne Confidential; Commercially Sensitive Business Data -Original Message- From: Stefan Ram Sent:

RE: How to manage python shebang on mixed systems?

2022-11-07 Thread Schachner, Joseph (US)
Maybe you can't do this, but I would suggest only running on the Python 3 systems. Refuse to jump through hoops for the Python 2 system. It is years out of date. It is not hard to upgrade from Python 2 to Python 3. There is a 2to3 utility, and after that there should be very few things you wa

RE: Are Floating Point Numbers still a Can of Worms?

2022-10-24 Thread Schachner, Joseph (US)
Floating point will always be a can of worms, as long as people expect it to represent real numbers with more precision that float has. Usually this is not an issue, but sometimes it is. And, although this example does not exhibit subtractive cancellation, that is the surest way to have less p

RE: A trivial question that I don't know - document a function/method

2022-10-24 Thread Schachner, Joseph (US)
I head a small software team much of whose output is Python. I would gratefully accept any of the formats you show below. My preference is #1. --- Joseph S. Teledyne Confidential; Commercially Sensitive Business Data -Original Message- From: Paulo da Silva Sent: Saturday, October

Apparent Issue with Administrator Privileges

2022-10-18 Thread Walsh, Ginny (US)
Hello- I've been struggling with resolving environmental variables issues and I believe it is linked to my company's administrator privileges. The program is called ChemPlugin and I am attempting to run it using Python 3.10.8 on Windows. I can't seem to get Python to recognize the PYTHONPATH th

RE: How to make a variable's late binding crosses the module boundary?

2022-08-30 Thread Schachner, Joseph (US)
The way we do this, is in main.py, call a "globalizer" function in each other file: # call globalizers to get shortcuts as global variables funcs.globalizer(interface, variable_dict) util.globalizer(interface, variable_dict) sd.globalizer(interface, variable_dict) tests.global

RE: Parallel(?) programming with python

2022-08-09 Thread Schachner, Joseph (US)
Why would this application *require* parallel programming? This could be done in one, single thread program. Call time to get time and save it as start_time. Keep a count of the number of 6 hour intervals, initialize it to 0. Once a second read data an append to list. At 6 hours after st

How to configure trusted CA certificates for SSL client?

2017-02-07 Thread Yang, Gang CTR (US)
Hi, I'm using Python 3.X (3.5 on Windows 2008 and 3.4 on CentOS 6.7) and encountered an SSL client side CA certificates issue. The issue came up when a third-party package (django-cas-ng) tried to verify the CAS service ticket (ST) by calling CAS server using requests.get(...) and failed with

RE: [Non-DoD Source] Re: Python 3.5.0 python --version command reports 2.5.4

2016-09-07 Thread Yang, Gang CTR (US)
:59 PM, US@f38.n261.z1 wrote: > I just installed Python 3.5.0 (since 3.5.2 would not installed on Windows 2008 > R2) and tried the python --version command. Surprisingly, the command reported > 2.5.4. What's going on? Most likely you have 2.5.4 installed and are running it. -- Terry J

Python 3.5.0 python --version command reports 2.5.4

2016-09-06 Thread US
From: "Yang, Gang CTR (US)" Hi, I just installed Python 3.5.0 (since 3.5.2 would not installed on Windows 2008 R2) and tried the python --version command. Surprisingly, the command reported 2.5.4. What's going on? Gang Yang Shonborn-Becker Systems Inc. (SBSI) Contrac

Python 3.5.0 python --version command reports 2.5.4

2016-09-06 Thread Yang, Gang CTR (US)
Hi, I just installed Python 3.5.0 (since 3.5.2 would not installed on Windows 2008 R2) and tried the python --version command. Surprisingly, the command reported 2.5.4. What's going on? Gang Yang Shonborn-Becker Systems Inc. (SBSI) Contractor Engineering Supporting SEC Office: 732-982-8561,

Python 3.5.0 python --version command reports 2.5.4

2016-09-06 Thread Yang, Gang CTR (US)
Hi, I just installed Python 3.5.0 (since 3.5.2 would not installed on Windows 2008 R2) and tried the python --version command. Surprisingly, the command reported 2.5.4. What's going on? Gang Yang Shonborn-Becker Systems Inc. (SBSI) Contractor Engineering Supporting SEC Office: 732-982-8561

100% without investment online part time jobs..(adsense, datawork, neobux..more jobs)

2010-08-04 Thread rosy us
100% without investment….no registration fee…no need money… Online part time jobs…(googleadsense, dataentry…etc)all type of jobs… work from home..daily 2-3 hours…earn more money without any risk.. Full details at http://adsensejobworkfulldetails.co.cc/ More adsense tips,secrets,increasing

Not able to get utf8 encoded string into a document

2008-05-09 Thread Lawrence, Anna K (US SSA)
Hi all, This is my first post and I'm really at a loss for how to fix my problem, so I really hope someone can help me out. I am working on a web application using Pylons .0.9.6, SQLAlchemy 0.4.4, MySQLdb 1.2.2 and Python 2.4.4. We want to use utf8 encoding throughout and as far as I ca

Online Poker Pays! Learn All The Secrets Now!NBP Unregistered.

2005-10-29 Thread Poker Paid Us
Did you know that online Poker pays huge money? In the last three days my wife and I have made over 343.00 USD with online poker while we slept Want to know our secret? Click HERE and visit a link of your choice. -- http://mail.python.org/mailman/listinfo/python-list