FAQ

Search Discussions

165 discussions - 1,357 posts

  • Dear Apple, Why should I be exited about an illegitmate child of Python, Go and JavaScript? Because it has curly brackets, no sane exception handling, and sucks less than Objective-C? Because init is ...
    Sturla MoldenSturla Molden
    Jun 3, 2014 at 5:28 pm
    Jun 27, 2014 at 11:21 pm
  • Oh, Anatoly Techtonik. He's quite notorious on python-dev for wanting to impose his wild and sometimes wacky processes on the entire community. Specific examples aren't coming to mind, and I'm too ...
    Steven D'ApranoSteven D'Aprano
    Jun 1, 2014 at 2:26 am
    Jun 8, 2014 at 4:34 am
  • Hi, We would like to announce Micro Python, an implementation of Python 3 optimised to have a low memory footprint. While Python has many attractive features, current implementations (read CPython) ...
    Damien GeorgeDamien George
    Jun 3, 2014 at 12:27 pm
    Jun 12, 2014 at 5:50 am
  • A current discussion regarding Python's Unicode support centres (or centers, depending on how close you are to the cent[er]{2} of the universe) around one critical question: Is string indexing ...
    Chris AngelicoChris Angelico
    Jun 4, 2014 at 12:39 am
    Jun 7, 2014 at 3:24 am
  • Hi ... I'm finishing my messages with this ... The first time I looked into Python was +- 10 years ago ... and in the last 10 years I did not spent more than 30 minutes looking at ... but I like it ...
    Carlos Anselmo DiasCarlos Anselmo Dias
    Jun 9, 2014 at 8:54 pm
    Jun 11, 2014 at 1:28 pm
  • Ok; this is a bit esoteric. So finally is executed regardless of whether an exception occurs, so states the docs. But, I thought, if I <return from my function first, that should take precedence. au ...
    Frank BFrank B
    Jun 6, 2014 at 5:30 pm
    Jun 11, 2014 at 12:50 pm
  • The language D has a feature called Uniform Function Call Syntax, which allows instance methods to be resolved using function calls. In Python terms, the call: x.len() would first check if 'x' has a ...
    JongiddyJongiddy
    Jun 7, 2014 at 6:45 am
    Jun 10, 2014 at 6:43 am
  • I read in these groups that asyncio is a great addition to Python 3. I have looked around and saw the related PEP which is quite big BTW but couldn't find a simple explanation for why this is such a ...
    Aseem BansalAseem Bansal
    Jun 2, 2014 at 5:40 pm
    Jun 4, 2014 at 7:52 am
  • Hello, I use the Python 3.4.1 installer from https://www.python.org/downloads/release/python-341/ The Windows installation comes with Tcl/Tk version 8.6 which has some new features (compared to 8.5) ...
    Peter TomcsanyiPeter Tomcsanyi
    Jun 24, 2014 at 6:11 pm
    Oct 5, 2014 at 8:33 pm
  • (Trying again, simpler and cleaner post) Can I use Nuitka to transform a wxPython GUI application in Python that uses several 3rd party modules into a small and faster compiled-to-C executable?
    CMCM
    Jun 27, 2014 at 11:25 pm
    Jul 1, 2014 at 4:26 am
  • I think I found a strange bug in python 3.4.1, fresh install of https://www.python.org/ftp/python/3.4.1/python-3.4.1.amd64.msi and a fresh install of ...
    FraserLFraserL
    Jun 21, 2014 at 12:57 am
    Jun 27, 2014 at 4:18 pm
  • Huh. I learned two new Python facts this week: 1. print statements were slowing down my code enough to really notice a particular transition. It went from about 2-3 seconds to a bit under 1 second ...
    CMCM
    Jun 26, 2014 at 6:44 pm
    Jun 29, 2014 at 7:14 am
  • I'm completely new to SQL, and recently started using SQLite in one of my Python programs. I've gotten what I wanted to work, but I'm not sure if I'm doing it in the best/most efficient way. I have ...
    Ps16thypresenceisfullnessofjoyPs16thypresenceisfullnessofjoy
    Jun 4, 2014 at 8:27 pm
    Jun 9, 2014 at 9:20 am
  • Hello,all I'm first time, I want to make a while statement which can function the same x.pop () and without the use of pop?how can i to do? i want to change this is code: def foo(x): y = [] while x ...
    Hito kotoHito koto
    Jun 12, 2014 at 3:12 am
    Jun 12, 2014 at 6:37 pm
  • raises (at least in Python 2.7) TypeError: 'in <string ' requires string as left operand, not NoneType This is surprising. The description of the 'in' operatator is, 'True if an item of s is equal to ...
    Roy SmithRoy Smith
    Jun 9, 2014 at 3:34 pm
    Jun 9, 2014 at 6:02 pm
  • I am making a calculator and i need it to support floating point values but i am using the function isnumeric to check if the user has entered an int value. I need the same for floating point types ...
    Nicholascannon1Nicholascannon1
    Jun 19, 2014 at 5:53 am
    Jun 20, 2014 at 3:44 pm
  • Hi. I'm writing some scripts with python, and I found sometimes, when I try to use time.sleep(1) to sleep 1 sec, it would actually sleep for 9 secs or even longer. time.sleep(secs) .... Also, the ...
    CrowCrow
    Jun 18, 2014 at 9:52 am
    Jun 20, 2014 at 2:54 am
  • Hi guys, I have been fighting with automating wmplayer but with no success. It looks to me that using the .OCX would be the best option. I found the code below on the net but I cannot get it to ...
    Deogratius MusiigeDeogratius Musiige
    Jun 3, 2014 at 8:10 am
    Jul 23, 2014 at 1:13 pm
  • I'm trying to read in 100000 lines of text, use some functions to edit them and then return a new list. The problem is my program always goes not responding when the amount of lines are a high ...
    cutey Lovecutey Love
    Jun 18, 2014 at 5:20 pm
    Jun 19, 2014 at 4:54 pm
  • Does anyone know any examples of values or types from the standard library or well-known third-party libraries which satisfies isinstance(a, numbers.Number) but not isinstance(a, numbers.Complex)? -- ...
    Steven D'ApranoSteven D'Aprano
    Jun 15, 2014 at 2:51 am
    Jun 16, 2014 at 8:29 am
  • Thanks everyone for your help. I also found this article while I was waiting for answers from this list, in case anybody else is interested in this topic ...
    Deb WyattDeb Wyatt
    Jun 3, 2014 at 5:29 pm
    Jun 4, 2014 at 7:00 pm
  • Dear all, Can we Lock Windows Screen GUI till program runs & unlock screen GUI when program finishes? Regards Jaydeep Paril
    Jaydeep PatilJaydeep Patil
    Jun 3, 2014 at 4:28 am
    Jun 4, 2014 at 11:21 am
  • An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20140602/068f8ab1/attachment.html
    Deb WyattDeb Wyatt
    Jun 3, 2014 at 4:39 am
    Jun 3, 2014 at 2:02 pm
  • I am looking for an interface that takes a string as argument. The string is to be treated as if it is a command line and transformed into an argv list. "ls file" - ['ls', 'file'] "ls *.py" - ['ls', ...
    Antoon PardonAntoon Pardon
    Jun 16, 2014 at 9:56 am
    Jun 17, 2014 at 7:17 am
  • Hello, (This may or may not be related to my mail about a "corrupted stack trace"). I've instrumented one of my unit tests with a conditional 'pdb.set_trace' in some circumstances (specifically, when ...
    Nikolaus RathNikolaus Rath
    Jun 4, 2014 at 2:30 am
    Jun 7, 2014 at 2:04 am
  • Hello folks, I am not sure if it is only on my system the case that the code in http://pastebin.com/WETvqMJN misbehaves in the stated way. Can anybody reproduce it? I thought it could be that the ...
    Robertw89Robertw89
    Jun 2, 2014 at 4:35 pm
    Jun 3, 2014 at 11:44 am
  • Hi, this is probably not the best place for this topic but I know this forum is widely read. I take this opportunity and apology at the same time. If I run this in my python3 interpreter everything ...
    FabienFabien
    Jun 24, 2014 at 1:28 pm
    Jun 24, 2014 at 4:02 pm
  • For some genealogical purposes I consider using Python's re module. Rather many names can be spelled in a number of similar ways, and in order to match names even if they are spelled differently, I ...
    BrJohanBrJohan
    Jun 11, 2014 at 12:23 pm
    Jun 14, 2014 at 5:14 am
  • I have downloaoded ez_setup.py ,when i install it ,the wrong message: Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-5.2. zip Exception calling "DownloadFile" with "2" ...
    水静流深水静流深
    Jun 28, 2014 at 11:49 am
    Jun 29, 2014 at 9:00 am
  • Hi, I'm looking for a python-library which can help me to get Timezone and Timezone-offset(UTC) from latitude/longitude. I'm not able to find an easy way to do it. Thanks in advance.
    CodetarsierCodetarsier
    Jun 25, 2014 at 12:53 pm
    Jun 26, 2014 at 9:24 am
  • My problem: I have a large database of interconnected objects which I need to process with a combination of short- and long-lived workers. These objects are mostly read-only (i.e. any of them can be ...
    SmurfixSmurfix
    Jun 22, 2014 at 9:46 am
    Jun 23, 2014 at 11:16 pm
  • Dear Group, I have a Python code taken from Wikipedia.("http://en.wikipedia.org/wiki/Forward%E2%80%93backward_algorithm") The code is pasted below. 'Healthy' : {'Healthy': 0.69, 'Fever': 0.3, 'E' ...
    SubhabangaloreSubhabangalore
    Jun 18, 2014 at 4:36 pm
    Jun 21, 2014 at 10:05 pm
  • Hi All, I had developed many database business applications using MVC design pattern with different programming languages like PHP, Java EE, VB.NET, C#, VB 6.0, VBA, etc. All of them defined the ...
    Ernest Bonat, Ph.D.Ernest Bonat, Ph.D.
    Jun 1, 2014 at 5:37 pm
    Jun 11, 2014 at 9:26 pm
  • Hi all, I have noticed there is a slight asymmetry in the way the interpreter (v3.3.5, reproduced also in v3.5.x) loads and stores globals. While loading globals from a custom mapping triggers ...
    Robert LehmannRobert Lehmann
    Jun 12, 2014 at 6:18 pm
    Jun 13, 2014 at 12:32 pm
  • Dear all i got code recipes from here. and i want to run it on win 7. http://code.activestate.com/recipes/577649-dhcp-query/ i have do some modify and use print to check how it is work, but i am ...
    不坏阿峰不坏阿峰
    Jun 19, 2014 at 12:56 pm
    Jun 25, 2014 at 10:53 am
  • ? The code available from: http://izecksohn.com/pedro/python/canvas/testing.py ? draws 2 horizontal lines on a Canvas. Why the 2 lines differ on thickness and length? ? The Canvas' method create_line ...
    Pedro IzecksohnPedro Izecksohn
    Jun 12, 2014 at 1:57 am
    Jun 13, 2014 at 12:31 am
  • Is there a way of decorating method1 of class C using method2 of class C? It seems like there's a chicken-and-the-egg problem; the class doesn't seem to know what "self" is until later in execution ...
    Dan StrombergDan Stromberg
    Jun 7, 2014 at 12:14 am
    Jun 8, 2014 at 9:19 pm
  • Here is the code m1.py def f(): print globals() m2.py from m1 import f f()# how to get current module's globals?
    1989lzhh1989lzhh
    Jun 7, 2014 at 5:40 pm
    Jun 8, 2014 at 5:51 am
  • Kids, don't try this at home! In Python 2.7, run this: exec((lambda *fs: reduce(lambda f, g: lambda x: f(g(x)), fs))(*([lambda s: s[1::2]+s[-2::-2]]*54))('motcye;cye._n8fo_drs(d4+)vle=5 ua.8) ...
    Steven D'ApranoSteven D'Aprano
    Jun 2, 2014 at 12:11 pm
    Jun 3, 2014 at 5:40 am
  • Hello I finished the codeacademy python course a week ago and my goal is to start developing websites (both back and front end) ,my question is do i start the web dev tuts and learn the holes of ...
    Suburb4nfilthSuburb4nfilth
    Jun 27, 2014 at 9:19 am
    Jun 27, 2014 at 8:11 pm
  • Hi folks, I'm trying to plot a 2D histogram but I'm having some issues: from pylab import * import numpy as np import netCDF4 hist,xedges,yedges=np.histogram2d(x,y,bins) ...
    Jamie MitchellJamie Mitchell
    Jun 20, 2014 at 8:46 am
    Jun 20, 2014 at 1:54 pm
  • My first attempt at Python, I'm using Tkinter and all is going well except when I'm using file_path = tkFileDialog.askopenfilename() print "test" opens great and lets me select a file, the problem is ...
    cutey Lovecutey Love
    Jun 17, 2014 at 4:49 pm
    Jun 18, 2014 at 1:10 pm
  • I have been using os.startfile(filepath) to launch files I've created in Python, mostly Excel spreadsheets, text files, or PDFs. When I run my script from my IDE, the file opens as I expect. But if I ...
    Josh EnglishJosh English
    Jun 6, 2014 at 8:34 pm
    Jun 10, 2014 at 8:45 pm
  • I have created a txt file with various paths to directories. The paths look like this /home/wachkama/Desktop/api/genshi /home/wachkama/Desktop/www/portal/schedule ...
    Samuel KamauSamuel Kamau
    Jun 2, 2014 at 2:18 pm
    Jun 2, 2014 at 5:18 pm
  • Dear Group, I am trying to crawl multiple URLs. As they are coming I want to write them as string, as they are coming, preferably in a queue. If any one of the esteemed members of the group may ...
    SubhabangaloreSubhabangalore
    Jun 29, 2014 at 10:49 am
    Jun 29, 2014 at 7:21 pm
  • Hi again, Still working leisurely through the tutorial here: http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/io.html An excise at the end of second 1.10 says to Write a version of the quotient ...
    Martin SMartin S
    Jun 29, 2014 at 7:06 am
    Jun 29, 2014 at 6:04 pm
  • Good day, I'm starting a new project from scratch so I think its finally a time to switch to the latest and greatest Python 3.4. But I'm puzzled with MySQL support for Python 3. So far the only ...
    HaizaarHaizaar
    Jun 24, 2014 at 8:21 am
    Jun 27, 2014 at 12:04 pm
  • I occasionally hear about performance improvements for Python by various projects like psyco (now old), ShedSkin, Cython, PyPy, Nuitka, Numba, and probably many others. The benchmarks are out there, ...
    CMCM
    Jun 26, 2014 at 3:54 am
    Jun 27, 2014 at 9:50 am
  • According to the official documentation (The Python Language Reference, Release 3.2): ----------------------------------- The special identifier is used in the interactive interpreter to store the ...
    CandideCandide
    Jun 25, 2014 at 3:20 pm
    Jun 25, 2014 at 9:56 pm
  • Following up on an earlier thread which started as a discussion on Apple's new language "Swift" and (d)evolved into a discussion about energy efficiency of computers, I came across this announcement ...
    Steven D'ApranoSteven D'Aprano
    Jun 24, 2014 at 1:23 am
    Jun 25, 2014 at 7:46 am
Group Navigation
period‹ prev | Jun 2014 | next ›
Group Overview
grouppython-list @
categoriespython
discussions165
posts1,357
users229
websitepython.org

229 users for June 2014

Chris Angelico: 175 posts Steven D'Aprano: 70 posts Mark Lawrence: 60 posts Ian Kelly: 49 posts Marko Rauhamaa: 49 posts Rustom Mody: 45 posts Roy Smith: 42 posts Terry Reedy: 35 posts Alister: 27 posts Carlos Anselmo Dias: 26 posts Wxjmfauth: 24 posts Mark H Harris: 21 posts Michael Torrie: 20 posts Sturla Molden: 20 posts Gregory Ewing: 19 posts Peter Otten: 16 posts Steven D'Aprano: 16 posts Ethan Furman: 15 posts Robin Becker: 14 posts Alain Ketterlin: 12 posts
show more
Archives