Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)

2024-09-09 Thread Jon Ribbens via Python-list
On 2024-09-09, Karsten Hilbert wrote: > Am Mon, Sep 09, 2024 at 10:00:11AM - schrieb Jon Ribbens via Python-list: >> So the Python code is half-way through a transaction when it throws >> a (non-database-related) exception and that thread of execution is >> aborted. Th

Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)

2024-09-09 Thread Jon Ribbens via Python-list
On 2024-09-09, Lawrence D'Oliveiro wrote: > On Mon, 9 Sep 2024 10:00:11 - (UTC), Jon Ribbens wrote: >> On 2024-09-09, Lawrence D'Oliveiro wrote: >>> The database only needs to commit when it is explicitly told. Anything >>> less -- no commit. >>

Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)

2024-09-10 Thread Jon Ribbens via Python-list
eiro wrote: >>>>> The database only needs to commit when it is explicitly told. >>>>> Anything less -- no commit. >>>> >>>> So the Python code is half-way through a transaction when it throws a >>>> (non-database-related) exception

Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)

2024-09-10 Thread Karsten Hilbert via Python-list
Am Tue, Sep 10, 2024 at 08:38:30AM - schrieb Jon Ribbens via Python-list: > Ok. So we've moved away from "In any DBMS worth its salt, rollback is > something that happens automatically" Nope. The original post asked something entirely different. > and now you'

Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)

2024-09-10 Thread Jon Ribbens via Python-list
On 2024-09-10, Karsten Hilbert wrote: > Am Tue, Sep 10, 2024 at 08:38:30AM - schrieb Jon Ribbens via Python-list: >> Ok. So we've moved away from "In any DBMS worth its salt, rollback is >> something that happens automatically" > > Nope. The original pos

Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)

2024-09-10 Thread Jon Ribbens via Python-list
On 2024-09-09, Lawrence D'Oliveiro wrote: >>>>> >>>>> On Mon, 9 Sep 2024 10:00:11 - (UTC), Jon Ribbens wrote: >>>>>> >>>>>> On 2024-09-09, Lawrence D'Oliveiro wrote: >>>>>>> >>>>>

Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)

2024-09-11 Thread Jon Ribbens via Python-list
case of an exception is completely > unnecessary: the DBMS will take care of that for you. No, it won't. -- https://mail.python.org/mailman/listinfo/python-list

Re: PyBitmessage is not dead. Ignore the FUD.

2024-09-12 Thread Andy Burns via Python-list
711 Spooky Mart wrote: PyBitmessage is not dead. https://bitmessage.org It may help with looking "not dead" to have a changelog that has actually changed within the last 8 years? -- https://mail.python.org/mailman/listinfo/python-list

Istalling python

2015-11-24 Thread ARONA KANAGARATHNA via Python-list
I tried to install this software python 3.4.3 to my pc which run windows Xp 32. i could installed but it doesnot run.it gives this message "python35-32/python.exe isnot a valid win32 app.Please help me to get solved this problem Thanks Aruna -- https://mail.python.org/mailman/listinfo/p

Re: Late-binding of function defaults (was Re: What is a function parameter =[] for?)

2015-11-25 Thread Larry Hudson via Python-list
be more convenient for me if it were 16." No. It's 42.;-) -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Help with this program???

2015-11-27 Thread justin bloomer via Python-list
mechanisms should be used to ensure the data appears valid. -- https://mail.python.org/mailman/listinfo/python-list

Installation of Python troubles

2015-12-02 Thread bezan deme via Python-list
Dear supporters, I tried several times to install the Python 3.5.0 (windows x86 executable installer) in my PC then in my LT and in both cases I failed. Last time, few hours ago, I tried it again, then it opened a window with a sole "cancel" button on it. I waited for 10-15 min withou

Re: HELP PLEASE printing single characters!

2015-12-03 Thread Larry Hudson via Python-list
, then loop through it. This will guarantee that each color is only used once. Not quite. Only if the original list has no repetitions. My personal approach would be to use a set to eliminate the duplicates, convert back to a list and shuffle that. no_reps = list(set(LIST)) random.shuffle(no_reps) print(no_reps) # Or use loop to print one-per-line -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Weird list conversion

2015-12-13 Thread Larry Hudson via Python-list
=', '\x04', '\x00', '\x05', '\x00', '\x01', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00'] The first byte of the

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-25 Thread Larry Hudson via Python-list
your first mistake (because the rest is wrong because of this): READ YOUR INSTRUCTIONS! It says "Create a function..." Your 'solution' creates a list. A list is NOT a function. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

I can not install matplotlib, numpy, scipy, and pandas.

2016-01-06 Thread Omar Ray via Python-list
I have version 3.5 of Python for Windows. I have MS Visual C++ and also MS Visual Studio 2015. When I enter into the command window "pip install matplotlib", it reads this below (this is not the full version of it): Microsoft Windows [Version 6.1.7601] Copyright (c) 2009

Re: When I need classes?

2016-01-13 Thread Mike S via Python-list
that you just want to do. The state (data) is not rich enough to make making it the focal point of your program. Well said, thanks! -- https://mail.python.org/mailman/listinfo/python-list

help

2016-01-15 Thread sam Rogers via Python-list
  I have downloaded python 2.7  with no problem. It works. I am trying to get pyserial to work. I have tried many different solutions. I am not  sure if it works or not. How can I be sure? I am using windows 7.  I did not see any help at python.org. Can you help? PS my goal is make this

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Larry Hudson via Python-list
. But if this string comes from a program where it is parsed by an API, it IS accepted. And this has been the case even since MSDOS prior to Windows. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: >>> %matplotlib inline results in SyntaxError: invalid syntax

2016-01-29 Thread Mike S via Python-list
On 1/28/2016 11:57 PM, Steven D'Aprano wrote: On Fri, 29 Jan 2016 06:04 pm, Mike S wrote: %matplotlib inline I get an error on the last line. I am running this code in Idle Python 3.4.4 Shell... Python 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit (Intel)] on

>>> %matplotlib inline results in SyntaxError: invalid syntax

2016-01-29 Thread Mike S via Python-list
I have installed Python 3.4.4 on XPSP3 and am trying to work my way through this tutorial. A Complete Tutorial on Ridge and Lasso Regression in Python http://www.analyticsvidhya.com/blog/2016/01/complete-tutorial-ridge-lasso-regression-python/ In Step 2 "Why Penalize the Magnitu

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Larry Hudson via Python-list
wheel each tim... I look and Python and it looks so much more clean add to that that it is the language of choice of data miners... add to that that iNotebook looks powerful Does Python have Regexps? How was the Python 2.7 vs Python 3.X solved? which version should I go for? Do you think

Re: x=something, y=somethinelse and z=crud all likely to fail - how do i wrap them up

2016-01-31 Thread Larry Hudson via Python-list
k the longer version is visually more obviously a line. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Error

2016-02-03 Thread Russell McCune via Python-list
Hi So I have installed python 3.5.1 (32-bit) for my windows 10 PC. I have also installed the IDE pycharm 5 to go along with it. Now my problem is when I run pycharm the 'Modify Setup' window for python keeps popping up everytime I try to do anything in pycharm. I don't know if

trouble installing python

2016-02-07 Thread donald alsept via Python-list
Hello, I'm trying to install the 3.5.1 of Python and am running windows 7. I keep getting an error about api-ms-win-crt-runtime-|1-1-0.dll not being installed. Any advice on what is wrong? -- https://mail.python.org/mailman/listinfo/python-list

Re: Install Error

2016-02-08 Thread Mike S via Python-list
ine I got 3.4.4. to work, although I couldn't figure out how to get IPython notebook to work, so I'm focusing on getting that to work on my w7 and w10 boxes. Idk if you need Ipython. -- https://mail.python.org/mailman/listinfo/python-list

Re: setup failed

2016-02-08 Thread Mike S via Python-list
On 2/4/2016 4:39 AM, Prince Thomas wrote: Hi I am an computer science engineer. I downloaded the python version 3.5.1.amd64 and just python 3.5.1. The problem is when I install the program setup is failed and showing 0*80070570-The file or directory is corrupted and unreadable. I install the

from scipy.linalg import _fblas ImportError: DLL load failed: The specified module could not be found.

2016-02-08 Thread Mike S via Python-list
I have Python 3.4.4 installed on Windows 7, also IPython, scipy, numpy, statsmodels, and a lot of other modules, and am working through this tutorial http://www.analyticsvidhya.com/blog/2016/02/time-series-forecasting-codes-python/ In Ipython notebook I run this code from

Re: from scipy.linalg import _fblas ImportError: DLL load failed: The specified module could not be found.

2016-02-09 Thread Mike S via Python-list
On 2/9/2016 1:33 AM, Mark Lawrence wrote: On 09/02/2016 04:22, Mike S via Python-list wrote: I have Python 3.4.4 installed on Windows 7, also IPython, scipy, numpy, statsmodels, and a lot of other modules, and am working through this tutorial http://www.analyticsvidhya.com/blog/2016/02/time

Re: Cygwin and Python3

2016-02-09 Thread Larry Hudson via Python-list
On 02/09/2016 08:41 AM, Fillmore wrote: Hi, I am having a hard time making my Cygwin run Python 3.5 (or Python 2.7 for that matter). The command will hang and nothing happens. Just curious... Since Python runs natively in Windows, why are you trying to run it with Cygwin? I'm not imp

Re: Cygwin and Python3

2016-02-09 Thread Mike S via Python-list
On 2/9/2016 7:26 PM, Larry Hudson wrote: On 02/09/2016 08:41 AM, Fillmore wrote: Hi, I am having a hard time making my Cygwin run Python 3.5 (or Python 2.7 for that matter). The command will hang and nothing happens. Just curious... Since Python runs natively in Windows, why are you trying

Re: Cygwin and Python3

2016-02-10 Thread Mike S via Python-list
On 2/10/2016 5:05 AM, Mark Lawrence wrote: On 10/02/2016 03:39, Mike S via Python-list wrote: On 2/9/2016 7:26 PM, Larry Hudson wrote: On 02/09/2016 08:41 AM, Fillmore wrote: Hi, I am having a hard time making my Cygwin run Python 3.5 (or Python 2.7 for that matter). The command will hang

Re: Cygwin and Python3

2016-02-11 Thread Mike S via Python-list
On 2/10/2016 11:46 PM, [email protected] wrote: On 10/02/2016 23:05, Mike S wrote: On 2/10/2016 5:05 AM, Mark Lawrence wrote: [snip] Have you seen this? http://www.davidbaumgold.com/tutorials/set-up-python-windows/ I have now, but I'm perfectly happy with the free versio

Re: Syntax error (The Python Book) Linux User and Developer Bookazine

2016-02-15 Thread Larry Hudson via Python-list
On 02/15/2016 07:06 AM, Joel Goldstick wrote: [snip a lot...] Learn Python the Hard Way is pretty good some people say. Its online. Also Diving into Python is online written by the now offline Mark Pilgrim. I have a couple of "Hard Way" books and personally, I don't li

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-19 Thread Larry Hudson via Python-list
then necessary to determine the data type for each of these (sub)strings individually. Of course, if your data has a defined fixed format, this is simplified -- but they are still initially strings that have to be converted. String processing in Python is very powerful and versatile. BTW, it

Re: Guido on python3 for beginners

2016-02-20 Thread Larry Hudson via Python-list
ing complete so it can do anything Python or C can do: (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc but the learning curve is steep enough that it will be frustrating rather than interesting. https://en.wikipedia.org/wiki/Malbolge Somewhat OT, but speaking

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Mike S via Python-list
On 2/19/2016 8:58 PM, Denis Akhiyarov wrote: On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, [email protected] wrote: I am mostly getting positive feedback for Python. It seems Python is used more for web based applications. Is it equally fine for creating stand-alone *.exe's? Ca

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Larry Hudson via Python-list
On 02/20/2016 10:38 AM, [email protected] wrote: [snip] How complicated could this get in Python? Reading the numbers is one thing, and then placing the values in text boxes of the GUI. If that is the only object of using these values, there is no conversions necessary. The data is

good python tutorial

2016-02-22 Thread Mike S via Python-list
This site was recommended by a friend, it looks really well put together, I thought it might be of interest to people considering online tutorials. http://www.python-course.eu/index.php -- https://mail.python.org/mailman/listinfo/python-list

Python used in several places in LIGO effort

2016-02-24 Thread Mike S via Python-list
https://www.reddit.com/r/IAmA/comments/45g8qu/we_are_the_ligo_scientific_collaboration_and_we/czxnlux?imm_mid=0e0d97&cmp=em-data-na-na-newsltr_20160224 -- https://mail.python.org/mailman/listinfo/python-list

Re: Computational Chemistry Analysis

2016-02-25 Thread Mike S via Python-list
On 2/25/2016 7:31 AM, Oscar Benjamin wrote: On 25 February 2016 at 01:01, Feagans, Mandy wrote: Hi! I am a student interested in conducting computational analysis of protein-ligand binding for drug development analysis. Recently, I read of an individual using a python program for their

Speech recognition and synthesi in Python

2016-02-25 Thread Mike S via Python-list
Pretty nice example code... https://ggulati.wordpress.com/2016/02/24/coding-jarvis-in-python-3-in-2016/ -- https://mail.python.org/mailman/listinfo/python-list

The debug process never connected back to Wing IDE

2016-03-01 Thread quoc tuong via Python-list
Hi python stopped working on this error: The debug process never connected back to Wing IDE: Aborting debug session. See Trouble-shooting Failure to Debug in the product manual. can you please show me how to fix this issue, thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: Everything good about Python except GUI IDE?

2016-03-02 Thread Mike S via Python-list
I did not come across. Thanks. As of today, there's no Python GUI builder comparable to VB 6. Thanks for stating this clearly. Everyone here has been trying to show me various ways to do the kind of things I will want to, but nobody clearly admits the limitations I will have to accept

Read and count

2016-03-10 Thread Val Krem via Python-list
Hi all, I am a new learner about python (moving from R to python) and trying read and count the number of observation by year for each city. The data set look like city year x XC1 2001 10 XC1 2001 20 XC1 2002 20 XC1 2002 10 XC1 2002 10 Yv2 2001 10 Yv2 2002 20 Yv2 2002

RE: Encapsulation in Python

2016-03-10 Thread Dan Strohl via Python-list
ng with it later, I will often "hide" it using one method or another... class person(): _name = ('Cool','Dude') def fname(self): return self._name[0] > > Normally in Java, we would write getters and setters to set/get the attribute > bar. Ho

Re: Read and count

2016-03-10 Thread Val Krem via Python-list
Sent from my iPad > On Mar 10, 2016, at 3:11 AM, Jussi Piitulainen > wrote: > > Val Krem writes: > >> Hi all, >> >> I am a new learner about python (moving from R to python) and trying >> read and count the number of observation by year for each ci

Re: Text input with keyboard, via input methods

2016-03-10 Thread Larry Hudson via Python-list
u" gives üoo gives ° (degree sign) Here's a cute one: CCCP gives ☭ (hammer & sickle) This gives you (relatively) easy access to a large range of 'special' characters. -- https://mail.python.org/mailman/listinfo/python-list

Different sources of file

2016-03-14 Thread Val Krem via Python-list
Hi all, I am made a little progress on using python. I have five files to read from different sources and concatenate them to one file. From each file I want only to pick few column (x1, x2 and x3). However, these columns say x3 was a date in one file it was recorded as a character

RE: Replace weird error message?

2016-03-19 Thread Dan Strohl via Python-list
27;=' and '0' padding are not allowed in string format specifiers" > -Original Message- > From: Python-list [mailto:[email protected]] > On Behalf Of Joel Goldstick > Sent: Wednesday, March 16, 2016 11:39 AM > Cc: python-list@p

problem with python 3.5.0

2016-03-19 Thread nasrin maarefi via Python-list
HelloI installed the python 3.5.0(32bit) on 64bit win10 but I dont know how to install numpy pakage  for this? I did not find something good on internet. could you please guide me?where can I  find the suitable numpy for that? and where is the path and pip and? best regards.  -- https

file -SAS

2016-03-19 Thread Val Krem via Python-list
tError: No module named sas7bdat What did I miss? Val -- https://mail.python.org/mailman/listinfo/python-list

Re: The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)

2016-03-22 Thread Larry Hudson via Python-list
0: 10 1: 20 2: 30 ) Your lack of knowledge of Python is showing again... Python has "enumerate" just for this purpose. Your example would be written as: for i, val in enumerate(something): print('{}: {}'.format(i, val)) However, in this specific example, the

Suggestion: make sequence and map interfaces more similar

2016-03-23 Thread Marco S. via Python-list
quences or maps indifferently, and let the code untouched. -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestion: make sequence and map interfaces more similar

2016-03-27 Thread Marco S. via Python-list
ed much free time. But I suppose I can start with something quick and dirty. -- https://mail.python.org/mailman/listinfo/python-list

Which are best, well-tested ways to create REST services, with Json, in Python?

2016-03-28 Thread David Shi via Python-list
Has anyone done a recent reviews of creating REST services, in Python? Regards. David -- https://mail.python.org/mailman/listinfo/python-list

Re: Where is 'palindrome' defined?

2015-06-01 Thread Larry Hudson via Python-list
_' parlindrome(a) Traceback (most recent call last): File "", line 1, in parlindrome(a) NameError: name 'parlindrome' is not defined Then, I find that parlindrome is a special checking mirrored word. I use Python 2.7.9. Why does the error message show name 'pa

Re: Using Python instead of Bash

2015-06-01 Thread Larry Hudson via Python-list
-=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Create on Win and run on Win or Mac

2015-06-01 Thread Bret Edwards via Python-list
I would like to create a Python (stand-alone executable) program on a Windows machine and deploy the finished product on other Windows machines (of varying Windows OS versions) and also on Mac machines (of varying Mac OS versions.) The program would present a GUI that the user would interact

Create Web app on Win and run on Win or Mac

2015-06-01 Thread Bret Edwards via Python-list
I took a look at Ren'Py as suggested by a reply to my previous post entitled "Create on Win and run on Win or Mac." Thanks for your suggestion. Ren'Py looks pretty amazing! Not sure that is a good route since my primary reason for this endeavor is learning Python scrip

[no subject]

2015-06-25 Thread Knss Teja via Python-list
I WANT TO install 4.3  version ... but the MSI file is giving a DLL error .. what should I do :/ please use REPLY ALL .. so that I get the mail to my gmail inbox-- https://mail.python.org/mailman/listinfo/python-list

Trouble getting to windows My Documents directory

2015-07-10 Thread Mark Storkamp via Python-list
I'm just learning Python, and I've run into trouble trying to change directory to the windows My Documents directory. There's likely a better way to do this, but this is what I've tried so far: - from tkinter import Tk from tkint

Re: Trouble getting to windows My Documents directory

2015-07-10 Thread Mark Storkamp via Python-list
In article , MRAB wrote: > On 2015-07-10 15:27, Mark Storkamp via Python-list wrote: > > I'm just learning Python, and I've run into trouble trying to change > > directory to the windows My Documents directory. There's likely a better > > way to do this

Re: Why doesn't input code return 'plants' as in 'Getting Started with Beautiful Soup' text (on page 30) ?

2015-07-12 Thread Larry Hudson via Python-list
optional, it is REQUIRED by Python syntax. Changing indenting TOTALLY changes the meaning. > Also Console seems to reject for 'indented block' reasons better known to itself, copy and > pasted lines that it accepts and are exactly the same on the following line of input. > As above,

Re: Noob in Python. Problem with fairly simple test case

2015-07-15 Thread Larry Hudson via Python-list
ng!". In addition to using print(), in some places I like using input() instead, as in: input('x={}, y={} --> '.format(x, y)) Then the program stops at that point so you can study it. To continue just press , or Ctrl-C to abort. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Noob in Python. Problem with fairly simple test case

2015-07-16 Thread Larry Hudson via Python-list
On 07/15/2015 08:11 PM, Chris Angelico wrote: On Thu, Jul 16, 2015 at 1:01 PM, Larry Hudson via Python-list wrote: On 07/15/2015 05:11 AM, Chris Angelico wrote: [snip] In addition to using print(), in some places I like using input() instead, as in: input('x={}, y={} --> &#

Re: Most pythonic way of rotating a circular list to a canonical point

2015-08-02 Thread Larry Hudson via Python-list
uniquely determined is your fundamental problem. I do not have an answer for that. But I thought this might be a clearer description of what I think you are really looking for. I hope I'm right. ;-) Good luck. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Most pythonic way of rotating a circular list to a canonical point

2015-08-03 Thread Larry Hudson via Python-list
This is what I saw as the OP's underlying problem, but as I also said in my message, my interpretation certainly could be wrong.:-) -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-07 Thread Larry Hudson via Python-list
onics industries.) My programming needs are very modest -- mostly simple utilities for my own use. In the past used C extensively, C++ some. But after I found Python I haven't looked back. Programming environment: Linux Mint (hate Windows!). Using simple editor (usually gedit) and a

Re: Pipes

2015-08-10 Thread Larry Hudson via Python-list
with Python), ISBN: 978-1-491-90153-3. It seems to cover all the subjects you bring up, and specifically uses Python. I have only glanced through it and I'm not ready to comment on it myself -- (Aside: I was once a physics major (unfortunately unsuccessful), but that was a loonnngg time

Mock object but also assert method calls?

2015-08-13 Thread Thomas Lehmann via Python-list
has been called with value hello [call(), call().test1(), call().test2('hello')] ('', (), {}) ('().test1', (), {}) ('().test2', ('hello',), {}) -- https://mail.python.org/mailman/listinfo/python-list

Re: Mock object but also assert method calls?

2015-08-15 Thread Thomas Lehmann via Python-list
es `assert` for testing, I think that is a gross misuse of > the statement. It is okay to use assertions this way for quick and dirty ad > hoc testing, say at the command line, but IMO totally inappropriate for > anything more formal, like unit testing. > > If for no other reason

PIP does not appear to handle diacritics correctly.

2015-09-08 Thread Laszlo Lebrun via Python-list
nd up against TTIP and ISDS ! -- https://mail.python.org/mailman/listinfo/python-list

Re: PIP does not appear to handle diacritics correctly.

2015-09-09 Thread Laszlo Lebrun via Python-list
On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote: > On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote: >> >> 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 sinc

Re: PIP does not appear to handle diacritics correctly.

2015-09-09 Thread Laszlo Lebrun via Python-list
On Wed, 09 Sep 2015 09:13:41 +0100, Tim Golden wrote: > On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote: >> On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote: >> >>> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote: >>>> >>>>

Re: PIP does not appear to handle diacritics correctly.

2015-09-09 Thread Laszlo Lebrun via Python-list
On Wed, 09 Sep 2015 00:22:31 -0700, wxjmfauth wrote: > Yes, I know how to fix all these problems. I know as well: have a user, which name is just plain ASCII. But it sucks to rebuild everything... -- Stand up against TTIP and ISDS ! -- https://mail.python.org/mailman/listinfo/python-list

Re: PIP does not appear to handle diacritics correctly.

2015-09-09 Thread Laszlo Lebrun via Python-list
On Wed, 09 Sep 2015 17:21:59 +0100, Tim Golden wrote: > On 09/09/2015 17:16, Wolfgang Maier wrote: >> On 09.09.2015 10:23, Chris Angelico wrote: >>> On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list >>> wrote: >>>> Whenever I start PIP, I get: &

Re: A little test for you Guys😜

2015-09-22 Thread Lj Fc via Python-list
On Tuesday, September 22, 2015 at 11:19:00 PM UTC+2, [email protected] wrote: > On Tuesday, September 22, 2015 at 11:45:00 AM UTC-7, Lj Fc wrote: > > you have 10 minutes😂 Good luck!! > > > > > > 1. What is PEP8 ? > > > > 2. What are the different way

Re: Learning Modules, Arguments, Parameters (imma noob)

2015-09-24 Thread Larry Hudson via Python-list
, you are not giving one. And it does NOT need the second (miles) parameter that you originally wrote. What you want is: convert_kilo(kilo) I hope you can make sense out of my explanations. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Learning Modules, Arguments, Parameters (imma noob)

2015-09-25 Thread Larry Hudson via Python-list
You've already received a lot of answers and guidance, but here is on more point... On 09/25/2015 12:03 PM, Cody Cox wrote: [snip] this I am not sure about, I set Kilo=get_input(kilo), ... Watch your capitalization! Kilo is _NOT_ the same as kilo. Case is significant in Pytho

Re: Execute Python Scripts

2015-10-14 Thread Larry Hudson via Python-list
On 10/14/2015 10:04 AM, Cai Gengyang wrote: So I am going through this article on Python for newbies ---http://askpython.com/execute-python-scripts/ Managed to create a file with these contents : 1 #!/usr/bin/env python3 2 3 print('hello world') and saved it as hello.py You did

UNABLE TO GET IDLE TO RUN

2015-10-22 Thread Terry Alexander via Python-list
Hello... I have tried installing both Python 2.7 and 3.5, and in both cases I cannot get IDLE to work. I received the following message both times: IDLE’s subprocess didn’t make connection.  Either IDLE can’t start a subprocess or personalfirewall software is blocking the connection. I am

Fw: Python 3.5.0 (32-bit) won't install to Windows XP

2015-10-27 Thread Richard Hinerfeld via Python-list
--- On Fri, 10/23/15, Richard Hinerfeld wrote: > From: Richard Hinerfeld > Subject: Python 3.5.0 (32-bit) won't install to Windows XP > To: "[email protected]" > Date: Friday, October 23, 2015, 9:10 PM > I am > sending you the log with all the

problems using python in PowerShell

2015-10-30 Thread josephine ewers via Python-list
Hi,I am doing an online training course to learn python but when I enter 'python' in Microsoft PowerShell as I am supposed to do I always get an error message. Best regards,Josephine-- https://mail.python.org/mailman/listinfo/python-list

Re: GoPiGo script

2015-11-02 Thread Larry Hudson via Python-list
On 11/02/2015 11:31 AM, Robin Koch wrote: Am 02.11.2015 um 15:32 schrieb input/[email protected]: Thank you for the explanation for it. I must tell you that i yust beginning with python. I bought the book beginning programming with python. Have you programming experience with other

Re: What does “grep” stand for?

2015-11-05 Thread Larry Hudson via Python-list
that time (but that was a looonnng time ago!) -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: What does “grep” stand for?

2015-11-06 Thread Larry Hudson via Python-list
On 11/06/2015 05:25 AM, William Ray Wing wrote: On Nov 5, 2015, at 10:36 PM, Larry Hudson via Python-list wrote: [snip] You’re not REALLY an old timer unless you’ve used TECO. -Bill Agreed. I'm not really and old-timer, just old (I'm 78). My first exposure to computers wa

Re: using binary in python

2015-11-09 Thread Larry Hudson via Python-list
asize, ALL the DATA is binary. On 11/08/2015 01:27 PM, kent nyberg wrote: Hi there, Lets say I want to play around with binary files in python. Opening and using files in python is something that I think I've sort of got the hang of. The thing im wondering about is binary files. While sea

Re: using binary in python

2015-11-10 Thread Larry Hudson via Python-list
On 11/10/2015 12:14 PM, Dennis Lee Bieber wrote: On Mon, 9 Nov 2015 22:20:25 -0800, Larry Hudson via Python-list declaimed the following: Of course it can. The only difference a text file and a binary file is the way it's opened. Text files are opened with 'r' or 'w'

Python.exe is not a valid Win32 application error message

2015-11-11 Thread M. Kamisato via Python-list
I am running python on Windows XP SP3 and download version 3.5xx.  I got the above error message and could not run the program. I have downloaded Python version 2.7xx and it runs fine. Is there any way I can get version 3.5xx to run on my computer? Mel KamisatoBuena Park, CA -- https

Re: What is wrong in this example code?

2015-11-12 Thread Larry Hudson via Python-list
ed to hours. More confusing perhaps, but definitely shorter. As I said above, use it if you want or ignore it if it's too confusing. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: Question about math.pi is mutable

2015-11-13 Thread Larry Hudson via Python-list
ointedEars" bitching about supposed "real names". TPEL has been trolling html, php and javascript newsgroups for years, recently he seems to have discovered python newsgroups. :( I found that TPEL post to be particularly amusing/ironic (hilarious, really) when he continued by talki

Trouble installing Python 3.5.0

2015-11-17 Thread Robert Ziomkowski via Python-list
stalled, but no luck. I noticed during installation that all the files were 64-bit (as my computer is), except one: the Launcher appears as 32-bit. Could that be the source of the problem? (The error occurs during launch, after all.) The installer I used is "python-3.5.0-amd64.exe"

Why doesn't this method have access to its "self" argument?

2015-11-19 Thread Robert Latest via Python-list
Hi all, I'm still trying to find a simple way to implement a method (but not the full class) in C. Suggestions I have recived so far are good, but seem to be over the top for such a (seemingly) simple problem. I came up with the idea of implementing the class in Python, and just settin

Re: how do I learn python ?

2015-11-19 Thread Mike S via Python-list
great list of tutorials there! https://wiki.python.org/moin/BeginnersGuide/Programmers -- https://mail.python.org/mailman/listinfo/python-list

Re: Why won't this run?

2015-11-19 Thread Mike S via Python-list
On 11/15/2015 12:38 PM, jbak36 wrote: Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. #this program says hello and asks for my name print:('Hello w

Re: anyone tell me why my program will not run?

2015-11-21 Thread Larry Hudson via Python-list
On 11/20/2015 07:30 PM, Dylan Riley wrote: i am learning python and was tasked with making a program that flips a coin 100 times and then tells you the number of heads and tails. I have done so coming up with this piece of work but it doesnt run can anyone help me out? #This is credited to

Re: anyone tell me why my program will not run?

2015-11-22 Thread Larry Hudson via Python-list
On 11/21/2015 06:44 PM, Larry Hudson wrote: On 11/20/2015 07:30 PM, Dylan Riley wrote: i am learning python and was tasked with making a program that flips a coin 100 times and then tells you the number of heads and tails. [snip] import random heads = int("1") tails = int("

PSF Python Brochure available as PDF preview. Last chance to order your ad!

2013-03-15 Thread PSF Python Brochure Project Team
The first full format pre-production issues were shown at several Python conferences throughout the last year and caused a lot of excitement among the attendees. The PSF Python Brochure Project has now finished getting all approvals from the content providers, so we can finally publish a PDF

Re: Python Events in 2017, Need your help.

2017-02-08 Thread Stephane Wirtel via Python-list
Thank you, with your help, we have added events on the t-shirt. Now, Could you just add them on python.org/events ? Have a nice day, Stephane On 9 Jan 2017, at 10:54, Stephane Wirtel via Python-list wrote: Dear Community, For the PythonFOSDEM [1] on 4th and 5th February in Belgium, I would

<    53   54   55   56   57   58   59   60   61   62   >