Search Discussions

229 discussions - 2,062 posts

  • I recently saw an email in this mailing list about the RE module being made slower. I no long have that email. However, I have viewed the source for the RE module, but I did not see any code that ...
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 11, 2013 at 11:44 pm
    Jul 30, 2013 at 9:05 pm
  • I just started to have this error without changing nothing in my index.html(template) and metrites.py(which ipen the template) [Thu Jul 04 11:35:14 2013] [error] [client] Original ...
    Jul 4, 2013 at 8:37 am
    Oct 2, 2013 at 8:52 am
  • A moderator who calls himself ?animuson? on Stack Overflow doesn?t want to face the truth. He has deleted all my postings regarding Python regular expression matching being extremely slow compared to ...
    Mats PetersonMats Peterson
    Jul 10, 2013 at 7:55 am
    Jul 20, 2013 at 10:27 am
  • Recently, there was a thread where people discussed variable declarations, with a couple people stating that they wished that Python required you to declare local variables, instead of globals. I'm ...
    Steven D'ApranoSteven D'Aprano
    Jul 4, 2013 at 3:27 am
    Jul 11, 2013 at 5:52 am
  • Hello Every once in a while, my ISP's SMTP server refuses to send perfectly legit e-mails because it considers them as SPAM. So I'd like to install a dead-simple SMTP server on my XP computer just to ...
    Jul 21, 2013 at 2:42 pm
    Aug 6, 2013 at 10:45 am
  • In Python programming, the PEP8 recommends limiting lines to a maximum of 79 characters because "There are still many devices around that are limited to 80 character lines" ...
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 29, 2013 at 7:43 pm
    Sep 7, 2013 at 6:00 pm
  • Hi all, but a particular hello to Chris Angelino which with their critics and suggestions pushed me to make a full revision of my application on hex dump in presence of utf-8 chars. If you are not ...
    Jul 8, 2013 at 12:22 am
    Jul 24, 2013 at 1:28 pm
  • Back in Python 2.x days I had a good grip on dict and dict.keys(), and when to use one or the other. Then Python 3 came on the scene with these things called 'views', and while range couldn't be ...
    Ethan FurmanEthan Furman
    Jul 24, 2013 at 1:16 am
    Jul 25, 2013 at 6:37 pm
  • I am researching on editors for my own reference. I found that each of them has some features that other don't, but I am not sure which features are significant/necessary for a GOOD editor. What ...
    Jul 4, 2013 at 7:32 am
    Jul 8, 2013 at 6:03 pm
  • Hello, iam still looking for a way to identify the city of my website visitors. The closet i have gone is to come up with the visitor's ISP city: try: gi = ...
    Jul 12, 2013 at 2:18 pm
    Jul 17, 2013 at 12:58 am
  • After making a slightly chnage inside my pelatologio.py script substituting '*****' instead of '-----' for no apparent reason i receive the following error: [Tue Jul 02 06:33:06 2013] [error] [client ...
    Jul 2, 2013 at 3:37 am
    Jul 4, 2013 at 1:15 am
  • Is there a way to extract out of some environmental variable the Geo location of the user being the city the user visits out website from? Perhaps by utilizing his originated ip address? -- What is ...
    Νίκος Gr33kΝίκος Gr33k
    Jul 5, 2013 at 7:08 pm
    Jul 8, 2013 at 2:27 pm
  • I wanted to do a little project for learning Python. I thought a chat system will be good as it isn't something that I have ever done. I wanted to know what will I need? I think that would require me ...
    Aseem BansalAseem Bansal
    Jul 18, 2013 at 4:36 am
    Jul 19, 2013 at 11:56 am
  • Aloha Python Users! I made a Python3 module that allows users to use certain Linux shell commands from Python3 more easily than using os.system(), subprocess.Popen(), or subprocess.getoutput(). This ...
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 25, 2013 at 1:24 pm
    Jul 29, 2013 at 9:17 pm
  • Hi folks, No, I'm not asking for YOU to help ME with a Python homework assignment! Previously, I mentioned that I was starting to teach my son Python ...
    John LadaskyJohn Ladasky
    Jul 16, 2013 at 10:43 pm
    Jul 25, 2013 at 10:27 pm
  • Hi, I have coded a simple algorithm to solve a Sudoku (probably not the first one). Unfortunately, it takes 13 seconds for a difficult problem which is more than 75 times slower than the same ...
    Helmut JarauschHelmut Jarausch
    Jul 5, 2013 at 8:22 am
    Jul 6, 2013 at 7:25 am
  • Comparing floats to Fractions gives unexpected results: # Python 3.3 py from fractions import Fraction py 1/3 == Fraction(1, 3) False but: py 1/3 == float(Fraction(1, 3)) True I expected that ...
    Steven D'ApranoSteven D'Aprano
    Jul 29, 2013 at 3:43 pm
    Aug 1, 2013 at 9:48 am
  • Aloha Python Users! I have some coding tips and interesting functions that I want to share with all of you. I want to give other programmers ideas and inspiration. It is all Python3; most of it ...
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 19, 2013 at 1:51 pm
    Jul 20, 2013 at 12:36 pm
  • Kind of a small sample size, don't you think? Hopefully we can kill this meme that Emacs is somehow worse for your wrists than other text editors before it goes any further than your one unsupported ...
    Skip MontanaroSkip Montanaro
    Jul 6, 2013 at 2:10 pm
    Jul 14, 2013 at 5:12 pm
  • Hi, Using Windows.... I want to run a .py file script using pythonw.exe so the DOS box will not open. Is there a way from inside the script to say "run me with pythonw.exe and not python.exe"? Thanks
    Jul 3, 2013 at 1:20 am
    May 7, 2014 at 10:33 pm
  • I have some code that I want to simplify. I know that a for-loop would work well, but can I make re.sub perform all of the below tasks at once, or can I write this in a way that is more efficient ...
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 19, 2013 at 1:22 pm
    Jul 21, 2013 at 12:49 pm
  • all, I am unhappy with the general Python documentation and tutorials. I have worked with Python very little and I'm well aware of the fact that it is a lower-level language that integrates with the ...
    Jul 9, 2013 at 1:45 am
    Jul 11, 2013 at 6:37 pm
  • I want to start GUI development using Tkinter in Python 2.7.5. I have been searching all over google but couldn't find any IDE that has drag-and-drop feature for Python GUI development. Tried to ask ...
    Aseem BansalAseem Bansal
    Jul 4, 2013 at 1:23 pm
    Jul 28, 2014 at 2:31 pm
  • Hello, I am looking for a script that will be able to search an online document (by giving the script the URL) and find all the downloadable links in the document and then download them ...
    Jul 30, 2013 at 2:49 pm
    Aug 24, 2013 at 2:37 am
  • Aloha Python programmers! I am making a chatbot that I host on Launchpad.net/neobot. I am currently converting the engine from BASH code to Python3. I need to convert this for cross-platform ...
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 19, 2013 at 2:03 pm
    Jul 23, 2013 at 10:40 am
  • Hm. So I've written a GUI in tkinter. I've found two performance issues, I was hoping someone could point me in the right direction. Firstly, I'm using an image as a border, namely: from tkinter ...
    Jul 17, 2013 at 12:57 am
    Jul 18, 2013 at 9:10 am
  • Ok, I'm working on a predator/prey simulation, which evolve using genetic algorithms. At the moment, they use a quite simple feed-forward neural network, which can change size over time. Each brain ...
    Jul 20, 2013 at 8:22 pm
    Jul 21, 2013 at 3:27 pm
  • I've been puzzling over how to get a certain function working in Python. The function, takes positive integers to other positive integers as follows: Phi_m(n2) = Phi_m(m*n + r) = m*x[n1] + r*(x[n1 + ...
    Jul 17, 2013 at 11:58 pm
    Jul 19, 2013 at 2:56 am
  • Hello everyone, I'd like to exchange some simple python objects over the internet. I initially planned to use Pyro, after reading http://pythonhosted.org/Pyro4/security.html I'm still puzzled. I ...
    Jean-Michel PichavantJean-Michel Pichavant
    Jul 15, 2013 at 10:13 am
    Jul 15, 2013 at 5:31 pm
  • Hi all, I've been asked to take over a project from someone else and to extend the functionality of this. The project is written in Python which I haven't had any real experience with (although I do ...
    L O'SheaL O'Shea
    Jul 12, 2013 at 2:22 pm
    Jul 27, 2013 at 1:41 pm
  • And now for something completely different. I knocked together a prime number generator, just for the fun of it, that works like a Sieve of Eratosthenes but unbounded. It keeps track of all known ...
    Chris AngelicoChris Angelico
    Jul 10, 2013 at 2:00 pm
    Jul 30, 2013 at 10:58 am
  • Well, I'm a newcome to Python, but I'm developing a program with a GUI in tkinter, and I'm wondering what is the best, 'most pythonic' way of doing this? I could, obviously, write a monolithic block ...
    Jul 13, 2013 at 11:07 am
    Jul 16, 2013 at 3:18 am
  • How do I get the OS System Font Directory(Cross-Platform) in python? Need a simple script for Windows, Linux, Mac, etc.. Or using wxPython. I can't seem to find anything that works, and I don't want ...
    Jul 11, 2013 at 3:32 pm
    Jul 13, 2013 at 7:20 am
  • I have this innocent and simple code: from collections import deque exhaust_iter = deque(maxlen=0).extend exhaust_iter.__doc__ = "Exhaust an iterator efficiently without caching any of its yielded ...
    Joshua LandauJoshua Landau
    Jul 11, 2013 at 3:15 am
    Jul 12, 2013 at 7:09 am
  • If I execute a Python3 script with this haspling (#!/usr/bin/python3.3) and Python3.3 is not installed, but Python3.2 is installed, would the script still work? Would it fall back to Python3.2? I ...
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 25, 2013 at 1:42 pm
    Jul 26, 2013 at 11:33 pm
  • Hey i'm looking for a new router. I have no set budget. Only US stores. I have cable internet and few laptops connected to it so it needs to have a strong wireless internet signal. Also i do gaming ...
    Jul 9, 2013 at 4:52 am
    Jul 10, 2013 at 2:29 am
  • I've been doing an informal "intro to Python" lunchtime series for some co-workers (who are all experienced programmers, in other languages). This week I was going to cover list comprehensions, ...
    Roy SmithRoy Smith
    Jul 28, 2013 at 7:59 pm
    Jul 30, 2013 at 1:04 pm
  • i'd like my app to be "available" to python while it's running. for example, say my app is "FooBar.app". when my FooBar.app is running, now there is a python interface available to python, and the ...
    David M. CotterDavid M. Cotter
    Jul 19, 2013 at 11:52 pm
    Jul 25, 2013 at 6:24 pm
  • I need to crack my router passcode to see what firmware it's running. There's a passcode set but I don't remember it and it's not written down anywhere. ----- used computers in chennai -- View this ...
    Jul 9, 2013 at 4:55 am
    Jul 10, 2013 at 3:18 am
  • I am currently doing some research on testing software for Python. I found that there are many different types of testing tools. These are what I've found. 1.Unit test 2.Mock test 3.Fuzz test 4.Web ...
    Jul 19, 2013 at 10:56 pm
    Jul 31, 2013 at 12:18 am
  • On Python3, how can I perform bitwise operations? For instance, I want something that will 'and', 'or', and 'xor' a binary integer. Mahalo, DevynCJohnson at Gmail.com
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 29, 2013 at 9:25 pm
    Jul 30, 2013 at 6:20 am
  • Linux systems with the proper software can use the "notify-send" command. Is there a cross-platform Python3 equivalent? Mahalo, Devyn Collier Johnson DevynCJohnson at Gmail.com
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 25, 2013 at 1:39 pm
    Jul 27, 2013 at 6:57 pm
  • Am I allowed to ask questions like "Here is my code. How can I optimize it?" on this mailing list? Mahalo, Devyn Collier Johnson DevynCJohnson at Gmail.com
    Devyn Collier JohnsonDevyn Collier Johnson
    Jul 11, 2013 at 11:59 pm
    Jul 12, 2013 at 2:58 pm
  • We develop embedded software for 32-bit micros using Windows as the development platform. We are seeking a general purpose scripting language to automate certain tasks, like cleaning out certain ...
    David T. AshleyDavid T. Ashley
    Jul 10, 2013 at 1:29 am
    Jul 12, 2013 at 6:52 am
  • Sorry for the vague title. Probably best to just show you the code that explains it better. This is a simplified example of what I want to do: # THIS DOESN'T WORK from random import choice class ...
    Russel WalkerRussel Walker
    Jul 9, 2013 at 10:01 pm
    Jul 10, 2013 at 11:39 pm
  • I know this is simple but I've been starring at it for half an hour and trying all sorts of things in the interpreter but I just can't see where it's wrong. def supersum(sequence, start=0): result = ...
    Russel WalkerRussel Walker
    Jul 6, 2013 at 12:37 pm
    Jul 7, 2013 at 4:44 pm
  • Hi all, this seems to be quite stupid question but I am "confused".. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up ...
    Surya KasturiSurya Kasturi
    Jul 2, 2013 at 9:43 pm
    Jul 6, 2013 at 1:23 pm
  • I am teaching Python 3 to a few beginning computer programming students. Being high-school age boys, they are, unsurprisingly, interested in games. I want to introduce them to real-time programming ...
    John LadaskyJohn Ladasky
    Jul 25, 2013 at 5:26 am
    Jul 27, 2013 at 4:00 am
  • I've often thought it was redundant for Python to support 'if' when it has dictionaries, cf the rationale for having no 'switch'. valid_name = None while not valid_name: name = input("Enter your ...
    Neil CeruttiNeil Cerutti
    Jul 1, 2013 at 12:59 pm
    Jul 11, 2013 at 2:37 am
  • You've got your OO class hierarchy mixed up and then imposing that on me. See http://www.nolo.com/legal-encyclopedia/crimes-felonies-misdemeanors-infractions-classification-33814.html I did not say ...
    Rustom ModyRustom Mody
    Jul 4, 2013 at 5:10 pm
    Jul 6, 2013 at 5:43 am
Group Navigation
period‹ prev | Jul 2013 | next ›
Group Overview
grouppython-list @

286 users for July 2013

Chris Angelico: 231 posts Steven D'Aprano: 133 posts Νίκος Γκρ33κ: 96 posts Dave Angel: 69 posts Devyn Collier Johnson: 66 posts Joshua Landau: 60 posts Ian Kelly: 58 posts Joshua Landau: 58 posts Terry Reedy: 41 posts Antoon Pardon: 39 posts Wxjmfauth: 33 posts Alex23: 29 posts Michael Torrie: 28 posts Skip Montanaro: 28 posts MRAB: 27 posts Peter Otten: 27 posts David Hutto: 26 posts Ethan Furman: 26 posts Rustom Mody: 26 posts Roy Smith: 24 posts
show more