[issue43201] sqlite3 import * ImportError: DLL load failed while importing _sqlite3: The specified module could not be found.

2021-02-11 Thread Tyler Reed
Tyler Reed added the comment: It was an environment issue. There were pre-existing files (pyd and pyc) in the application folder (from builds done with Kivy) and apparently python was loading those instead of the libraries in the python39 folder. -- resolution: -> not a bug st

[issue43201] sqlite3 import * ImportError: DLL load failed while importing _sqlite3: The specified module could not be found.

2021-02-11 Thread Tyler Reed
New submission from Tyler Reed : Running on a new, updated Windows 10 machine with no virtual environment. After removing all previous Python installations, rebooting and performing a fresh install if Python 3.9.1. I run the python console and type: import sqlite3 I receive the following

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Thomas Reed
Thomas Reed added the comment: Alright, thanks. -- ___ Python tracker <https://bugs.python.org/issue39598> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Thomas Reed
Thomas Reed added the comment: No, normally browsing the web and products (without login in), after looking at the product details and then clicking the back button, the error will occur. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Thomas Reed
New submission from Thomas Reed : Hi, I have problem with cache. If there is someone in the detail of product longer that 5 minutes and than click to button "back",it makes error "ERR_CACHE_MISS". Do you know, how can i solve it? Thank you :) -- components: Wind

[issue39218] Assertion failure when calling statistics.variance() on a float32 Numpy array

2020-01-05 Thread Reed
Reed added the comment: Thank you all for the comments! Either using (x-c)*(x-c), or removing the assertion and changing the final line to `return (U, total)`, seem reasonable. I slightly prefer the latter case, due to Mark's comments about x*x being faster and simpler than x**2. But I am

[issue39218] Assertion failure when calling statistics.variance() on a float32 Numpy array

2020-01-04 Thread Reed
New submission from Reed : If a float32 Numpy array is passed to statistics.variance(), an assertion failure occurs. For example: import statistics import numpy as np x = np.array([1, 2], dtype=np.float32) statistics.variance(x) The assertion error is: assert T == U

[issue38099] __dict__ attribute is incorrectly stated to be read-only

2019-09-11 Thread Reed
Reed added the comment: Thank you for the clarification. I didn't realize the section only referred to types, but it makes sense now that I read the documentation more carefully. The documentation is still incorrect for certain attributes (e.g. __bases__ and __name__) as they can be mutated

[issue38099] __dict__ attribute is incorrectly stated to be read-only

2019-09-11 Thread Reed
New submission from Reed : The documentation in this section (https://docs.python.org/3/library/stdtypes.html#special-attributes) states that the __dict__ attribute, and several others, are read-only. In particular, it states: "The implementation adds a few special read-only attri

[issue26725] list() destroys map object data

2016-04-09 Thread Steven Reed
New submission from Steven Reed: Example repro: Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> x=map(bool,[1,0,0,1,1,0]) &

[issue19491] Python Crashing When Saving Documents

2013-11-04 Thread Carolyn Reed
New submission from Carolyn Reed: The ICT teacher at the school I work at has reported that frequently students are experiencing their Python software crashing when they attempt to save files. No error message is reported, the software just freezes. They are using the IDLE GUI Python v 3.2.4

[issue19491] Python Crashing When Saving Documents

2013-11-04 Thread Carolyn Reed
Carolyn Reed added the comment: Unfortunately we are unable to run it from the command line - as we are a school this is locked down for students. There are no error messages at all, the program just freezes. -- ___ Python tracker rep

[issue19491] Python Crashing When Saving Documents

2013-11-04 Thread Carolyn Reed
Carolyn Reed added the comment: Okay, we'll see if we can go to V 3.3.2 and see what difference this makes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19491

[issue19491] Python Crashing When Saving Documents

2013-11-04 Thread Carolyn Reed
Carolyn Reed added the comment: There doesn't seem to be a Pygame version for 3.3 on the pygame webpage? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19491

Re: Python development tools

2013-06-24 Thread Reed Xia
在 2013年6月24日星期一UTC+8上午4时40分07秒,cutems93写道: Hello, I am new to python development and I want to know what kinds of tools people use for python development. I went to Python website and found several tools. 1. Automated Refactoring Tools 2. Bug Tracking 3. Configuration And

wiki.python.org

2013-01-09 Thread Reed, Kevin
Hello, I have been unable to access wiki.python.org for two days. Is there a problem with the server, or is it me? Thank you much, Kevin C. Reed New Python User -- http://mail.python.org/mailman/listinfo/python-list

Previous Question Answered - Thank You All For Your Replies

2013-01-09 Thread Reed, Kevin
Hello, My question concerning wiki.python.org unavailability has been answered. Thank you all for your assistance! You guys are awesome! For those of you who don't know, here's the info. http://mail.python.org/pipermail/python-list/2013-January/638182.html Thanks again, Kevin --

No trees in the stdlib?

2009-06-25 Thread Tom Reed
Why no trees in the standard library, if not as a built in? I searched the archive but couldn't find a relevant discussion. Seems like a glaring omission considering the batteries included philosophy, particularly balanced binary search trees. No interest, no good implementations, something

[issue3862] test_array fails on FreeBSD7 amd64

2008-09-14 Thread Reed O'Brien
Reed O'Brien [EMAIL PROTECTED] added the comment: 2.6rc2 and Python-3.0b3 test_array detail test_alloc_overflow (test.test_array.DoubleTest) ... Killed Fills swap space and dumps core. 2.5.2 test_list test_addmul (test.test_list.ListTest) ... ok test_append (test.test_list.ListTest

[issue3862] test_array fails on FreeBSD7 amd64

2008-09-13 Thread Reed O'Brien
New submission from Reed O'Brien [EMAIL PROTECTED]: or in FreeBSD? 2.6rc1 and 3.0b3 both fail test_array on FreeBSD7 amd64 test_array passes in 2.5.2 on the same machine but fails test_list the same as test_array... *** Signal 9 -- components: Tests messages: 73204 nosy: robrien

Re:Histogram and \lambda parameter of the laplacian curve.

2008-08-02 Thread Andrew Reed
even i am trying to generate this curve. are you able to generate this curve using matplotlib, because i was thinking to write a library for it. -- Andrew. Thanks everyone for your earlier help. I have to plot a histogram of values lets say [0.5,0.6,0.8,0.9].I guess the histogram would show

Pythonically extract data from a list of tuples (getopt)

2008-04-23 Thread Mark Reed
So the return value from getopt.getopt() is a list of tuples, e.g. import getopt opts = getopt.getopt('-a 1 -b 2 -a 3'.split(), 'a:b:')[0]; opts [('-a', '1'), ('-b', '2'), ('-a', '3')] what's the idiomatic way of using this result? I can think of several possibilities. For options not

Tidy module?

2008-04-17 Thread Mark Reed
Is there an easy_installable egg with an interface to libtidy? I found µTidy, but it looks like an inactive project, with no updates since 2004, so I'm skeptical of its reliability. I found mxTidy, but it's only available as part of some larger distribution, and I don't want to replace my Python

Re: [Tutor] Spaces and tabs messing up code

2008-01-08 Thread Reed O'Brien
On Jan 8, 2008, at 7:49 PM, Bill Campbell wrote: On Tue, Jan 08, 2008, [EMAIL PROTECTED] wrote: my friend uses vim Small editors for small minds;) and i use xemacs so our shared python code is a mix of tabs and spaces and it is hard for him to edit it in vim any idea on

Re: subprocess leaves child living

2007-06-07 Thread reed
On Jun 5, 7:58 am, Thomas Dybdahl Ahle [EMAIL PROTECTED] wrote: Hi, When I do a small program like from subprocess import Popen popen = Popen([ping, google.com]) from time import sleep sleep(100) start it and kill it, the ping process lives on. Is there a way to ensure that the ping

Re: SMTPlib Sender Refused?

2007-06-02 Thread reed
On Jun 2, 1:20 pm, erikcw [EMAIL PROTECTED] wrote: Hi, I'm trying to send an email message with python, and I'm getting this error: Traceback (most recent call last): File wa.py, line 430, in ? main() File wa.py, line 425, in main smtp.sendmail(fromaddr, to,

Re: Trouble killing a process on windows

2007-06-02 Thread reed
On Jun 2, 12:27 pm, Thomas Nelson [EMAIL PROTECTED] wrote: Hi, I'd like to start a program, run it for a while, then terminate it. I can do this on linux, but I'm new to working with windows. Here's my script: from subprocess import Popen from time import sleep import win32api war3game =

Re: Python Pop Quiz

2007-06-02 Thread reed
On Jun 1, 10:33 pm, [EMAIL PROTECTED] wrote: 1. Do you like Python? 0 2. Do you think Python is good? 0 3. Do you think Python is real good? 0 4. What is your favorite version of Python? 2.4+ 5. Because of Python, do you think it will be easier to take over the world? If so, when? If

Re: How to parse the os.system() output in python

2007-03-17 Thread Dave Reed
On Mar 17, 2007, at 8:28 PM, [EMAIL PROTECTED] wrote: Hi, I use os.system() to execute a system command in python. Can you please tell me how can I parse (in python) the output of the os.system() ? Thank you. Sounds like you want os.popen, not os.system.

Re: Progress count in terminal (Mac OS X)

2007-01-11 Thread reed
for i in range(100): sys.stdout.write( \r + count , i,) sys.stdout.flush() print # done maybe Tommy Grav wrote: This certainly does work when running the interpreter interactively, but when inserted into a script it seems to buffer the print

Re: fast pythonic algorithm question

2006-08-01 Thread David Reed
On Aug 1, 2006, at 11:13 AM, Diez B. Roggisch wrote: Guyon Morée wrote: Memory is no problem. It just needs to be as fast as possible, if that's what this is, fine. If not, I'd like to find out what is :) I'd say it is as fast as it can get - using hashing for lookups is O (n) in I

OT Re: getaddrinfo not found on SCO OpenServer 5.0.5

2006-07-21 Thread David Reed
On Jul 21, 2006, at 4:20 PM, Steve M wrote: In case you haven't heard Microsoft is suing SCO for stealing his Internet concepts and letters and numbers, so you should probably just ditch OpenServer and get Debian like all the smart people have done. I guess the quality of SCO software has

Re: fetching a POST webpage...

2006-07-06 Thread reed
bruce wrote: hi... i have the basic code to fetcha url/web page. however, i'm trying to fetch a page that uses a FORM/POST. has anyone done this, i've tried a few times without success. i've analyzed the data stream using Firefox/Livehttpheaders to get the HTTP stream.. but i'm doing

Re: Python taught in schools?

2006-06-25 Thread David Reed
MilkmanDan wrote: I'll be a college freshman this fall, attending Florida Institute of Tech studying electrical engineering. I was considering taking some classes in programming and computer science, and I happened to notice that everything taught is using C ++. After further research,

Re: Popen3 on Windows

2006-06-18 Thread reed
Jeffrey Barish wrote: I have an application that has been working fine on Linux, but now I need to port it to Windows XP. The program uses Popen3 to run another program. I use Popen3 so that I can access the pid attribute, which I use to kill the auxiliary program when necessary. Popen3

Re: Threads

2006-05-11 Thread David Reed
On May 11, 2006, at 8:02 PM, placid wrote: Carl J. Van Arsdall wrote: placid wrote: Hi all, In Python, Threads cannot be paused, i remember reading this somewhere, so is there a way around this ? When you say paused do you mean paused by an external source or paused by a call

Re: hyperthreading locks up sleeping threads

2006-05-10 Thread David Reed
On May 10, 2006, at 5:39 PM, [EMAIL PROTECTED] wrote: Grant You might want to run some memory tests. We have multiple identical boxes and they all have the same problem. Olaf They might all have flaky memory - I would follow the other poster's advice and run memtest86 on them. Dave

Re: GladeGen and initializing widgets at startup

2006-05-07 Thread David Reed
On May 7, 2006, at 4:24 AM, Aengys wrote: Thank you for your reply! I finally managed to do what I wanted. Maybe a little side-remark here. In the article you have said that all changes to the init-method are lost once you regenerate the file. I have tried it, and indeed all my changes

Re: GladeGen and initializing widgets at startup

2006-05-06 Thread David Reed
On May 6, 2006, at 4:39 PM, Aengys wrote: Hi all, Being struck by article 7421 of the linux journal (http://www.linuxjournal.com/article/7421), I'll tried to give it a go. Mainly because I have done some experiments with Glade and found that it is really easy to create good looking

Re: ping

2006-04-14 Thread David Reed
On Apr 14, 2006, at 6:30 PM, david brochu jr wrote: I am trying to ping websites and output the results to a txt file: import os file = open(c:\python24\scripts\ip.txt) redirect = open(c:\python24\scripts\log.txt,a) for x in file: ping = ping + x print redirect, os.system(ping)

Re: ping

2006-04-14 Thread David Reed
On Apr 14, 2006, at 8:04 PM, david brochu jr wrote: Thanks, Unfortunately substituting os.system with os.popen results in the output being: open file 'ping www.google.com ', mode 'r' at 0x009C4650 open file 'ping www.boston.com ', mode 'r' at 0x009C4650 open file 'ping www.espn.com

Re: how relevant is C today?

2006-04-08 Thread David Reed
On Apr 8, 2006, at 6:35 PM, Jorge Godoy wrote: Mirco Wahab [EMAIL PROTECTED] writes: The Dice (find tech jobs) has offerings (last 7 days, U.S. + unrestricted) for: *SQL 14,322 C/C++11,968 Java 10,143 ... Perl 3,332 PHP 730 *Python* 503

Re: New editions of several Python books.

2006-02-09 Thread David Reed
On Feb 9, 2006, at 3:59 PM, James Stroud wrote: Magnus Lycka wrote: Programming Python, 3rd edition by Mark Lutz (Paperback - July 2006) Never a favourite of mine really, but a popular book... This one is like broccoli. Its good for you but it doesn't have much flavor. --

pipe related question

2005-11-21 Thread David Reed
Is there any way to have one program run another arbitrary program with input from stdin and display the output as if you had run it in a shell (i.e., you'd see some of the output followed by the input they typed in and then a newline because they pressed return followed by subsequent

Re: mxDateTime on Mac: Fatal Python Error

2005-03-07 Thread Dave Reed
On Monday 07 March 2005 17:51, M.-A. Lemburg wrote: [EMAIL PROTECTED] wrote: I'm trying to get mxDateTime working on a Mac so that I can use pyscopg and cx_Oracle. The Egenix base package builds and installs quite happily, but then when I try to import it I get import mx.DateTime

Re: Appeal for python developers (THIS IS A TROLL)

2005-03-05 Thread Dave Reed
On Saturday 05 March 2005 09:34, Thomas Rösner aka TRauMa wrote: BOOGIEMAN wrote: Please include goto command in future python realeses I know that proffesional programers doesn't like to use it, but for me as newbie it's too hard to get used replacing it with while, def or other

introducing a newbie to newsgroups

2005-01-22 Thread Reed L. O'Brien
Super Sorry for the extra traffic. ;-) -- http://mail.python.org/mailman/listinfo/python-list

rotor replacement

2005-01-18 Thread Reed L. O'Brien
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption? cheers, reed -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Dave Reed
On Wednesday 29 December 2004 18:01, Alex Martelli wrote: snip So -- ctypes is definitely getting a _mention_, at least... the issue remains of whether we're talking one paragraph, like for all other extending-tools that were already thus mentioned in the 1st edition, or a couple of pages (I

Re: Redirecting ./configure --prefix

2004-12-13 Thread Dave Reed
On Monday 13 December 2004 21:15, Dan wrote: I suspect this isn't specifically a Python question, but I encountered it with Python so I thought I'd ask here. I'm running Linux (Fedora 2), and just downloaded the Python 2.4 kit. I did the following from my user account: ./configure