FAQ

Search Discussions

64 discussions - 591 posts

  • Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply typing "pip" into my command prompt and then getting back the ...
    Steve BurrusSteve Burrus
    Sep 3, 2015 at 10:20 pm
    Sep 9, 2015 at 8:16 am
  • Hello everyone, I want to use python for web development but I could not configure my Apache server to run python with the guides I found on the internet. Can anyone help me configure http.server to ...
    Tropical Dude NetTropical Dude Net
    Sep 6, 2015 at 11:50 am
    Sep 7, 2015 at 7:29 am
  • [1, 2, 1, 4, 5] [1, 1, 3, 4, 5] I think I understand how it gets these results but I'm not really happy with them. I think python should give the second result in both cases. -- Antoon Pardon
    Antoon PardonAntoon Pardon
    Sep 2, 2015 at 10:01 am
    Sep 4, 2015 at 2:25 pm
  • I have a function which is intended for use at the interactive interpreter, but may sometimes be used non-interactively. I wish to change it's output depending on the context of how it is being ...
    Steven D'ApranoSteven D'Aprano
    Sep 10, 2015 at 5:54 pm
    Sep 11, 2015 at 3:55 pm
  • Dear group, I do use Windows 7 and have a user name with diacritics. Whenever I am querying an extension with pip, it will fail since it does not pass on the user folder correctly. I thought PIP ...
    Laszlo LebrunLaszlo Lebrun
    Sep 8, 2015 at 7:14 pm
    Sep 9, 2015 at 8:23 pm
  • Hi, I am developing code (Python 3.4) that transforms text data from one format to another. As part of the process, I had a set of hard-coded str.replace(...) functions that I used to clean up the ...
    Rob HillsRob Hills
    Sep 2, 2015 at 2:03 am
    Sep 6, 2015 at 12:43 pm
  • Dear all, I have my python scripts that use several python libraries such as h5py, pyside, numpy.... In Windows I have an installer that will install python locally on user machine and so my program ...
    Heli NixHeli Nix
    Sep 3, 2015 at 2:32 pm
    Sep 4, 2015 at 1:16 pm
  • Hi All, Is there any module available in python standard library for XML binding? If not, any other suggestions. Which is good for parsing large file? 1. XML binding 2. Creating our own classes ...
    PalpandiPalpandi
    Sep 3, 2015 at 4:54 pm
    Sep 11, 2015 at 6:47 am
  • Some where i am missing simple logic.... :) ===== child = pexpect.spawn('ssh hari at hostname') child.logfile = sys.stdout child.expect('hari\'s Password: ') ===== getting error as follows ...
    Harirammanohar159Harirammanohar159
    Sep 8, 2015 at 11:37 am
    Sep 10, 2015 at 6:08 am
  • Hello, At the end of the last line of the following program, there is a comma, I dont understand why ? Thx from cx_Freeze import setup, Executable # On appelle la fonction setup setup( name = ...
    AstAst
    Sep 3, 2015 at 12:20 pm
    Sep 3, 2015 at 11:01 pm
  • I have a listening socket, self.lsock, which is used in an accept() call as follows endpoint = self.lsock.accept() The problem is that if control-C is pressed it is not recognised until something ...
    James HarrisJames Harris
    Sep 10, 2015 at 6:24 pm
    Sep 11, 2015 at 11:15 pm
  • Good Morning: I am experimenting with many exception handling and utilizing continue vs pass. After pouring over a lot of material on SO and other forums I am still unclear as to the difference when ...
    KbtyoKbtyo
    Sep 3, 2015 at 3:05 pm
    Sep 3, 2015 at 4:37 pm
  • Hi all I am new to python but not programming (Although rusty) and am using Learning Python The Hard Way. I really like it. System: --------------- Debian 8 (jessie) KDE Desktop Python 2.7 (It's ...
    Gary RoachGary Roach
    Sep 9, 2015 at 5:27 pm
    Sep 10, 2015 at 6:42 am
  • Hi! I took a look at tkinter. It is pretty simple but it's very hard to construct some relatively more complex widgets. So I looked at pmw. Because my system only have pmw for python2, I downloaded ...
    Paulo da SilvaPaulo da Silva
    Sep 6, 2015 at 6:47 pm
    Sep 8, 2015 at 1:04 am
  • Hi folks, currently, I came across http://pythonwheels.com/ during researching how to make a proper Python distribution for PyPI. I thought it would be great idea to tell other maintainers to upload ...
    Sven R. KunzeSven R. Kunze
    Sep 6, 2015 at 5:33 pm
    Sep 7, 2015 at 4:52 pm
  • This contained the itertool recipes and was available on pypi but looks like it's gone. Can anybody tell me if it's defunct, superceeded or what? -- My fellow Pythonistas, ask not what our language ...
    Mark LawrenceMark Lawrence
    Sep 1, 2015 at 1:42 am
    Sep 1, 2015 at 5:53 am
  • Hey, is there a easy way to copy the content between 2 unique keywords in a .txt file? example.txt 1, 2, 3, 4 #keyword1 3, 4, 5, 6 2, 3, 4, 5 #keyword2 4, 5, 6 ,7 Thank you very much
    GeraldGerald
    Sep 10, 2015 at 11:18 am
    Sep 10, 2015 at 7:41 pm
  • Hi, Python 3.2.3 (default, Jun 18 2015, 21:46:42) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "<stdin ", line ...
    Vincent Vande VyvreVincent Vande Vyvre
    Sep 4, 2015 at 1:56 am
    Sep 4, 2015 at 3:19 am
  • Let's suppose somebody passes me a file descriptor to work with. It could come from somewhere else, but for the sake of discussion let's pretend I create it myself this way: import os fd = ...
    Steven D'ApranoSteven D'Aprano
    Sep 1, 2015 at 2:57 pm
    Sep 2, 2015 at 7:02 am
  • 1. How can I save 256 lists, each list has 32 values( hexadecimal numbers) 2. How to compare the saved lists with another 256 lists ( that are read online and have the same structure as the list ...
    JahnJahn
    Sep 1, 2015 at 5:08 am
    Sep 1, 2015 at 5:26 pm
  • Hi all My project comprises a number of modules, split into packages. Modules frequently need to access the contents of other modules, in the same or in a different package. I am getting better at ...
    Frank MillmanFrank Millman
    Sep 10, 2015 at 7:12 am
    Sep 11, 2015 at 6:40 am
  • win7 / py433 How to downgrade from the latest pip (7.1.2) to the previous one? I'm sorry, I do not remember the numerous msgs I saw when updating. (Yesterday) (I'm serious) Now, what?
    WxjmfauthWxjmfauth
    Sep 8, 2015 at 3:54 pm
    Sep 10, 2015 at 7:39 am
  • I'm using grouper() to iterate over a textfile in groups of lines: def grouper(iterable, n, fillvalue=None): "Collect data into fixed-length chunks or blocks" # grouper('ABCDEFG', 3, 'x') -- ABC DEF ...
    Victor HooiVictor Hooi
    Sep 2, 2015 at 10:04 am
    Sep 2, 2015 at 5:48 pm
  • Up to now we use simple logging to files. We don't use syslog or an other server based solution. I am unsure which architecture works for our environment. Our environment: - django based applications ...
    Thomas GüttlerThomas Güttler
    Sep 9, 2015 at 8:33 am
    Sep 11, 2015 at 9:02 am
  • Hi DISPLAYSURF = pygame.display.set_mode((400, 300)) pygame.display.set_caption('Hello World!') The first line opens a 400x300 pygame window. The second one writes "Hello World" on top of it. I am ...
    AstAst
    Sep 8, 2015 at 9:33 am
    Sep 8, 2015 at 2:12 pm
  • I need to execute an external shell script via subprocess on Linux. One of the parameters needs to be passed inside double quotes But the double quotes do not appear to be passed to the script I am ...
    LoialLoial
    Sep 8, 2015 at 11:03 am
    Sep 8, 2015 at 11:15 am
  • I have a function which is meant to return a tuple: def get_metrics(server_status_json, metrics_to_extract, line_number): <SOME_CODE return ((timestamp, "serverstatus", values, tags)) I also have ...
    Victor HooiVictor Hooi
    Sep 2, 2015 at 11:49 am
    Sep 2, 2015 at 4:09 pm
  • hi: I have to use numpy package. My python runs on my embedded arm device. So, how do i cross compile numpy?
    ChenchaoChenchao
    Sep 10, 2015 at 10:11 am
    Sep 11, 2015 at 1:41 pm
  • I wand update
    Babi pepekBabi pepek
    Sep 6, 2015 at 11:09 pm
    Sep 7, 2015 at 11:42 pm
  • Hi friends! Can some one help me with the best module and/or its tutorial, to generate html reports for python scripts? I tried pyreport and sphc; but, i am getting errors.
    Uday3prakashUday3prakash
    Sep 3, 2015 at 5:04 am
    Sep 5, 2015 at 4:45 pm
  • I am currently using Jupyter and Pythopn 3.4. I am currently using the following script to parse and convert XML data structures, nested in a CSV - formatted file, convert into a dictionary and then ...
    KbtyoKbtyo
    Sep 2, 2015 at 10:15 pm
    Sep 2, 2015 at 10:50 pm
  • I am writing an application that will do the necessary logging. However I want the level of logging to be deciced by a value in a config file. Like the following: loglevel = WARNING But I can't find ...
    Antoon PardonAntoon Pardon
    Sep 2, 2015 at 9:14 am
    Sep 2, 2015 at 11:21 am
  • I am trying to use a monospaced font (preferably small) in MS Windows with wxpython. I have tried txtctrl.SetFont(wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL, False, u'Consolas')) but no success, I ...
    JavierJavier
    Sep 11, 2015 at 10:16 pm
    Sep 12, 2015 at 12:35 am
  • I have a (fairly) simple script that does 'catchall' processing on my POP3 mailbox. It looks for messages To: strings that *might* be for me and then throws everything else away. I was getting the ...
    ClCl
    Sep 11, 2015 at 4:33 pm
    Sep 11, 2015 at 7:17 pm
  • Hello, The code below is what I came up with to solve the problem: 1. We're given geographic coordinates for two opposite vertices of a rectangle. 2. If any of the sides of the rectangle is larger ...
    SebSeb
    Sep 11, 2015 at 3:05 am
    Sep 11, 2015 at 1:49 pm
  • I've installed 3.5 for all users so it's in C:\Program Files From https://docs.python.org/3.5/using/windows.html#from-the-command-line it says "System-wide installations of Python 3.3 and later will ...
    Mark LawrenceMark Lawrence
    Sep 9, 2015 at 11:52 pm
    Sep 10, 2015 at 3:56 pm
  • HI folks, We have recently launched Python support on our continuous integration and deployment service and are looking for communities feedback. If you're up for it, please give a test drive to our ...
    Filip KomnenovićFilip Komnenović
    Sep 8, 2015 at 10:27 am
    Sep 8, 2015 at 7:19 pm
  • hi: I download the python2.7.10 package and execute cmd: ./configure --help.It is messages as follow: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use ...
    ChenchaoChenchao
    Sep 7, 2015 at 12:16 pm
    Sep 8, 2015 at 9:30 am
  • Does anyone know of an easy to follow guide/tutorial to follow. I am trying to implement a calendar into my app that works as a job rota for employees. I have tried using django-scheduler and ...
    Cmeek DevCmeek Dev
    Sep 6, 2015 at 8:52 pm
    Sep 7, 2015 at 8:58 am
  • I am running Python 3.4 on Windows 7 and is facing [Error 13] Permission Denied while installing Python packages such as SciPy, NumPy etc; here are the facts that I tried but failed: 1. I have admin ...
    MoinakbMoinakb
    Sep 4, 2015 at 9:36 am
    Sep 4, 2015 at 10:55 am
  • I'm looking for people's experiences with the different ways to send push notifications to mobile devices. I have an app that will be running on Amazon, so I can use their SNS API or I can do it ...
    Larry MartellLarry Martell
    Sep 3, 2015 at 12:30 pm
    Sep 3, 2015 at 3:54 pm
  • Hi, I have a Python version: Python 2.7.8 I'm runing it on: Fedora release 21 Yesterday I a sent a question: I'm starting in the Python scripts. I run this script: import numpy as np import netCDF4 f ...
    Jorge ConradoJorge Conrado
    Sep 2, 2015 at 6:18 pm
    Sep 2, 2015 at 6:44 pm
  • Hi, I'm starting in the Python scripts. I run this script: import numpy as np import netCDF4 f = netCDF4.Dataset('uwnd.mon.ltm.nc','r') f.variables and I had the message: netcdf4.py Traceback (most ...
    Jorge ConradoJorge Conrado
    Sep 1, 2015 at 5:23 pm
    Sep 1, 2015 at 9:10 pm
  • I assume the answer is "Yes", but is it safe to expect that tempfile.mkstemp() will only create a file that doesn't already exist? I presume that there's no chance of it over-writing an existing file ...
    Steven D'ApranoSteven D'Aprano
    Sep 1, 2015 at 2:45 pm
    Sep 1, 2015 at 5:09 pm
  • Hi there, I am researching a nice slick way to provide the difference between generated python multi-line configuration output and specific configuration lines gathered from an output file. I could ...
    NoahNoah
    Sep 11, 2015 at 12:41 am
    Sep 11, 2015 at 7:03 am
  • I have an app that uses the logging package with a SocketHandler to send messages. Now I've been asked to change it so that it can receive a response for each log message sent. It appears there is no ...
    Larry MartellLarry Martell
    Sep 9, 2015 at 10:37 am
    Sep 10, 2015 at 6:54 am
  • Hi, I have a problem to import a multiprocessing module. I am using Python 2.7 and Windows 8. The program (.py) is executed since MS-DOS console. If I run the program the output is "ImportError: No ...
    Julio AlonsoJulio Alonso
    Sep 9, 2015 at 9:58 pm
    Sep 10, 2015 at 5:39 am
  • hi: This is not a question about python. It is a shell question. I'm sorry to bother you. But I really want to know it. As follow: I want to set a shell environment variable:PYTHONPATH. When i ...
    ChenchaoChenchao
    Sep 10, 2015 at 3:58 am
    Sep 10, 2015 at 4:34 am
  • On behalf of the Python development community and the Python 3.5 release team, I'm relieved to announce the availability of Python 3.5.0rc3, also known as Python 3.5.0 Release Candidate 3. The next ...
    Larry HastingsLarry Hastings
    Sep 8, 2015 at 1:35 am
    Sep 8, 2015 at 2:54 pm
  • hi: I cross compiled python2.7.10 and install python on my embedded device. But now, I may install pip on my embedded device. So, I did it as follow: 1 I execute cmd:python -m ensurepip. It ocuurs ...
    ChenchaoChenchao
    Sep 7, 2015 at 9:59 am
    Sep 7, 2015 at 10:17 am
Group Navigation
period‹ prev | Sep 2015 | next ›
Group Overview
grouppython-list @
categoriespython
discussions64
posts591
users121
websitepython.org

121 users for September 2015

Chris Angelico: 66 posts Laura Creighton: 45 posts Mark Lawrence: 30 posts Steven D'Aprano: 30 posts Ian Kelly: 26 posts Sven R. Kunze: 18 posts MRAB: 15 posts Random832: 14 posts Antoon Pardon: 14 posts Peter Otten: 14 posts Tdev: 11 posts Michael Torrie: 10 posts Ben Finney: 9 posts Marko Rauhamaa: 9 posts Rustom Mody: 9 posts Steve Burrus: 9 posts Terry Reedy: 9 posts Harirammanohar159: 8 posts Kbtyo: 8 posts Nick Sarbicki: 8 posts
show more
Archives