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
quot;wrapper""" > > s = f(*args, **kwargs) > > print s > >return str2print_wrap > > > > def hello(s): > > """ Return "Hello $s" """ > > return "%s %s" % ("Hello", s) > > > > Questions : > > > > 1. Decorate the method 'hello' with 'str2printf' and write the > > corresponding code. > > 2. What is the effect of the decorator on a call to the new method 'hello' ? > > 3. What is the return value of hello.__doc__ > > Pretty sure this guy is asking us to do his homework. :-P See Not that Easy Dude...Simple Questions are sometimes the Toughest!! KISS😜 -- https://mail.python.org/mailman/listinfo/python-list

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
ilman/listinfo/python-list

Re: Execute Python Scripts

2015-10-14 Thread Larry Hudson via Python-list
write that file _without_ the line numbers, I hope. Line numbers are sometimes used in text to discuss a Python program, but they are _NOT_ used in an actual program. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

UNABLE TO GET IDLE TO RUN

2015-10-22 Thread Terry Alexander via Python-list
running Norton, and disabled it, but still IDLE will not run. Any suggestions? Thank you... Terry Alexander709-745-2953 -- https://mail.python.org/mailman/listinfo/python-list

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: "python-list@python.org" > 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
tinfo/python-list

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
ely different things. Sorry that I'm not more specific on the 'how' to use binary files, but the subject is more complex than a simple explanation can properly give. -- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

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
://mail.python.org/mailman/listinfo/python-list

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
ng about a group that ignores posts by people who don't use real names! :-) I generally ignore his posts as well. -=- Larry -=- <-- My real name, which is NOT Lawrence (or anything similar)! -- https://mail.python.org/mailman/listinfo/python-list

Trouble installing Python 3.5.0

2015-11-17 Thread Robert Ziomkowski via Python-list
a bit hard to find. Why are you putting the 32-bit version out front and center, and not offering an option for the 64-bit right next to it? Best wishes, Robert Z. P.S. I'm running Vista, so my PC is a bit old, but it is in fact 64-bit, and Python 3.2 still runs fine on it. -- https://mail.python.org/mailman/listinfo/python-list

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

2015-11-19 Thread Robert Latest via Python-list
, methods); } setup_cmethod.py ======= from distutils.core import setup, Extension module1 = Extension('cmethod', sources = ['cmethod.c']) setup (name = 'cmethod', version = '0.1', description = 'struggling to implement a class method in C', ext_modules = [module1]) robert -- https://mail.python.org/mailman/listinfo/python-list

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
print ("Your name is ", myname) Your name is John ...you can find code samples in the *quick tutorial listed here: https://wiki.python.org/moin/BeginnersGuide/Programmers *http://hetland.org/writing/instant-python.html -- https://mail.python.org/mailman/listinfo/python-list

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

2015-11-21 Thread Larry Hudson via Python-list
leave them out and directly use 0 and 1 in those final print()s. -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

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

2015-11-22 Thread Larry Hudson via Python-list
[...] += 1 increments the appropriate counter value. Broken down that way it’s not too hard to understand, is it? :-) -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

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

Re: Who are the "spacists"?

2017-03-19 Thread Larry Hudson via Python-list
thing I find annoying about an editor set to expand tabs to spaces is that it takes one keypress to indent but four (or whatever) to unindent. -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

How to search out all Zip codes and replace with the first 2 digits, in a Pandas dataframe, with the use of regex?

2017-03-20 Thread David Shi via Python-list
/listinfo/python-list

Re: Escaping confusion with Python 3 + MySQL

2017-03-26 Thread Larry Hudson via Python-list
4', 'cyta.gr') How should i write the cursor.execute in order to be parsed properly? As i have it now %s does not get substituted. You don't get the substitution because you're missing a %. Change: ... LIKE "%s"''', (pID, ... To: ... LIKE "%s"''' % (pID, ... -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

How to make use of .egg files?

2017-04-05 Thread David Shi via Python-list
Can anyone explain please. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

How to capture a CSV file and read it into a Pandas Dataframe?

2017-04-05 Thread David Shi via Python-list
I tried the following codes: import urllib2response = urllib2.urlopen('http://cordis.europa.eu/search/result_en?q=uk&format=csv')myCSV = response.read() myFile = pd.read_csv(myCSV) but, it did not work well. Can any one help? Regards. David -- https://mail.python.org/mailman/l

Re: How to capture a CSV file and read it into a Pandas Dataframe?

2017-04-05 Thread David Shi via Python-list
there a way to capture the file? Regards. David On Wednesday, 5 April 2017, 17:19, Skip Montanaro wrote: I'm not positive, but try passing response to read_csv() instead of reading the bytes yourself. Skip On Apr 5, 2017 10:38 AM, "David Shi via Python-list" wrote:

[no subject]

2017-04-07 Thread David Shi via Python-list
I was using IPython notebooks.  All the sudden, it asks for password or token. I did not set any password or token. How do I get back to use my IPython notebooks? Looking forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

A Python solution for turning a web page into Pandas DataFrame table

2017-04-07 Thread David Shi via Python-list
Is there a Python solution for turning a web page into Pandas DataFrame table? Looking forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

Pound sign problem

2017-04-10 Thread David Shi via Python-list
encode character u'\xa3' in position 0: ordinal not in range(128) Can anyone help? Regards. David -- https://mail.python.org/mailman/listinfo/python-list

XML tree to a pandas dataframe

2017-04-12 Thread David Shi via Python-list
What is the best way to convert XML document into a pandas dataframe? Regards. David -- https://mail.python.org/mailman/listinfo/python-list

How to pd.read_csv into a DataFrame with multiple seperators?

2017-04-12 Thread David Shi via Python-list
Have a look at this example. http://www.ebi.ac.uk/ena/data/warehouse/search?query=%22geo_circ(-0.587,-90.5713,170)%22&result=sequence_release&display=text How to pd.read_csv into a DataFrame with multiple seperators? Regards. David -- https://mail.python.org/mailman/listinfo/python-list

Read a text file into a Pandas DataFrame Table

2017-04-13 Thread David Shi via Python-list
Dear All, Can anyone help to read a text file into a Pandas DataFrame Table? Please see the link below. http://www.ebi.ac.uk/ena/data/warehouse/search?query=%22geo_circ(-0.587,-90.5713,170)%22&result=sequence_release&display=text Regards. David -- https://mail.python.org/mailman/listinf

Reading structured text file (non-CSV) into Pandas Dataframe

2017-04-13 Thread David Shi via Python-list
be made? Looking forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2017-04-13 Thread David Shi via Python-list
forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2017-04-13 Thread David Shi via Python-list
Which VCF reader has been well tested and proven to be robust? Looking forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

How to do pd.read_csv with consecutive spaces or semi-colon as delimiters?

2017-04-18 Thread David Shi via Python-list
Any way to do that? The link to a sample dataset is as follows: http://www.ebi.ac.uk/ena/data/warehouse/search?query=%22geo_circ(-0.587,-90.5713,170)%22&result=sequence_release&display=text Looking forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinf

Pressing dot and show sub command in IPython

2017-04-18 Thread David Shi via Python-list
/listinfo/python-list

Turtle window not closing

2017-04-21 Thread Harshika Varadhan via Python-list
        t.right(180)     turtle.bye() Thank you, Harshi -- https://mail.python.org/mailman/listinfo/python-list

Re: Turtle window not closing

2017-04-22 Thread Harshika Varadhan via Python-list
n Saturday, April 22, 2017 3:56 AM, Peter Otten <__pete...@web.de> wrote: Harshika Varadhan via Python-list wrote: > I am creating a game where the user inputs a coordinate to place their > piece on a chess board. My code then draws the chess board with a turtle > and fills in

Re: Rosetta: Sequence of non-squares

2017-05-02 Thread Mark Summerfield via Python-list
default of "Spam" and then click "Submit report". Hopefully, sooner or later if enough people do this Google Groups will automatically filter out these posts. (The posts are already filtered out of the official comp.lang.python list, but they can't do this for the Google Groups version.) -- https://mail.python.org/mailman/listinfo/python-list

Install python via MS batch file

2017-05-06 Thread Mahmood Naderan via Python-list
python path install in the default location. Any idea about that? Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

ANN: distlib 0.2.5 released on PyPI

2017-05-06 Thread Vinay Sajip via Python-list
https://pypi.python.org/pypi/distlib/0.2.5 [2] https://goo.gl/M3kQzR [3] https://bitbucket.org/pypa/distlib/issues/new -- https://mail.python.org/mailman/listinfo/python-list

packaging python code

2017-05-08 Thread Mahmood Naderan via Python-list
libraries and create a self running package? Something like building exe file with static libraries. Therefore, the user won't install any thing manually. Please let me know if there is such procedure. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: packaging python code

2017-05-08 Thread Mahmood Naderan via Python-list
graph\modulegraph.py", line 2731, in get_operation_arg_name return module_code_object.co_names[co_names_index] IndexError: tuple index out of range D:\ThinkPad\Documents\NetBeansProjects\ExcelTest> Regards, Mahmood On Monday, May 8, 2017 5:07 PM, Lutz Horn wrote: > Is there any way to pack my .py with all required libraries and create a self > running package? Take a look at PyInstaller: * http://www.pyinstaller.org/ * https://pyinstaller.readthedocs.io/en/stable/ Lutz -- https://mail.python.org/mailman/listinfo/python-list

Out of memory while reading excel file

2017-05-10 Thread Mahmood Naderan via Python-list
] for j in p.rows]) How can I fix that? I have stuck at this problem. For medium sized files (16K rows and 50 columns) it is fine. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Out of memory while reading excel file

2017-05-10 Thread Mahmood Naderan via Python-list
, May 10, 2017 7:25 PM, Peter Otten <__pete...@web.de> wrote: Mahmood Naderan via Python-list wrote: > Hello, > > The following code which uses openpyxl and numpy, fails to read large > Excel (xlsx) files. The file si 20Mb which contains 100K rows and 50 > colu

Re: Out of memory while reading excel file

2017-05-10 Thread Mahmood Naderan via Python-list
rows. Mine is about 100k. Currently, the task manager shows about 4GB of ram usage while working with numpy. Regards, Mahmood On Wed, 5/10/17, Peter Otten <__pete...@web.de> wrote: Subject: Re: Out of memory while reading excel file To: pytho

Re: Out of memory while reading excel file

2017-05-10 Thread Mahmood Naderan via Python-list
On Wed, 5/10/17, Peter Otten <__pete...@web.de> wrote: Subject: Re: Out of memory while reading excel file To: python-list@python.org Date: Wednesday, May 10, 2017, 6:30 PM Mahmood Naderan via Python-list wrote: > Well actually cells are treated as strings and not integer

Re: Out of memory while reading excel file

2017-05-10 Thread Mahmood Naderan via Python-list
Hi, I am confused with that. If you say that numpy is not suitable for my case and may have large overhead, what is the alternative then? Do you mean that numpy is a good choice here while we can reduce its overhead? Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Out of memory while reading excel file

2017-05-10 Thread Mahmood Naderan via Python-list
-- https://mail.python.org/mailman/listinfo/python-list

Re: Out of memory while reading excel file

2017-05-10 Thread Mahmood Naderan via Python-list
, column=c) arr[r, c] = d.value However, the operation is very slow. I printed row number to see how things are going. It took 2 minutes to add 200 rows and about 10 minutes to add the next 200 rows. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Out of memory while reading excel file

2017-05-11 Thread Mahmood Naderan via Python-list
the number of columns in my excel file (p.max_column) The excel file looks like CHR1 11,202,100 NM_198576.3 PASS 3.08932G|B|C -. . . Note that in each row, some cells are '-' or '.' only. I want to read all cells as string. Then I will write the matrix in a file and my main code (java) will process that. I chose openpyxl for reading excel files, because Apache POI (a java package for manipulating excel files) consumes huge memory even for medium files. So my python script only transforms an xlsx file to a txt file keeping the cell positions and formats. Any suggestion? Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Why am I getting a 'sqlite3.OperationalError'?

2017-05-11 Thread Mark Summerfield via Python-list
The ? is indeed for variable substitution, but AFAIK only for field values, not for table names, which is why your first example doesn't work and your second and third examples do work. -- https://mail.python.org/mailman/listinfo/python-list

Re: Out of memory while reading excel file

2017-05-11 Thread Mahmood Naderan via Python-list
0][1] = 11,232,445 And both are strings. Is that possible? Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Out of memory while reading excel file

2017-05-11 Thread Mahmood Naderan via Python-list
second line is empty ("\n") and the third line is the second row of the excel file. Any thought? Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Out of memory while reading excel file

2017-05-11 Thread Mahmood Naderan via Python-list
Thanks a lot for suggestions. It is now solved. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: How to install Python package from source on Windows

2017-05-16 Thread Mark Summerfield via Python-list
is can make things hard for people coming to Python on Windows. I guess the best that can be done for now is to recommend Annaconda or a similar distro with lots of prebuilt stuff. -- https://mail.python.org/mailman/listinfo/python-list

Re: Finding sentinel text when using a thread pool...

2017-05-20 Thread Christopher Reimer via Python-list
could parse 16 pages at a time. That change would require a bit more work but it would fix some problems that's been nagging me for a while about the parser class. Thank you, Chris Reimer -- https://mail.python.org/mailman/listinfo/python-list

Concatenating files in order

2017-05-23 Thread Mahmood Naderan via Python-list
gards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Concatenating files in order

2017-05-23 Thread Mahmood Naderan via Python-list
ould possibly need. >xxx_chunk_01 sorts less than xxx_chunk_10. So, if I write import glob; for f in glob.glob('*chunk*'): print(f) it will print in order. Is that really sorted or it is not guaranteed? Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Concatenating files in order

2017-05-23 Thread Mahmood Naderan via Python-list
hen writing them to the output until there are no more files. Or, if a list of matching files is obtained, the length of the list will also give you the last filename. (But this won't work if there are gaps in the sequence or the numeric format is variable.) -- bartc -- https://

Re: Concatenating files in order

2017-05-25 Thread Mahmood Naderan via Python-list
ith('chunk') and right.isdigit(): filenames[int(right)] = filename sorted_filenames = [ filenames[k] for k in sorted(filenames.keys()) ] It seems that 'filename' should be 'right'. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Concatenating files in order

2017-05-26 Thread Mahmood Naderan via Python-list
. So 'right' is just the numeric suffix - you need 'name' for the open() call. Cheers, Cameron Simpson -- https://mail.python.org/mailman/listinfo/python-list

Re: Verifiably better, validated Enum for Python

2017-05-26 Thread Larry Hudson via Python-list
html -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

embed a package for proper fun script

2017-05-29 Thread Mahmood Naderan via Python-list
hmood -- https://mail.python.org/mailman/listinfo/python-list

Re: embed a package for proper fun script

2017-05-30 Thread Mahmood Naderan via Python-list
No idea?... Regards, Mahmood On Tuesday, May 30, 2017 1:06 AM, Mahmood Naderan via Python-list wrote: Hello, How it is possible to embed a package in my project? I mean, in my python script I have written import openpyxl So, the user may not have installed that package and doesn&#

Python not able to find package but it is installed

2017-05-30 Thread Mahmood Naderan via Python-list
y 30 12:26 requires.txt -rw-r--r-- 1 root root 5224 May 30 12:26 SOURCES.txt -rw-r--r-- 1 root root 9 May 30 12:26 top_level.txt Any idea to fix that? Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: embed a package for proper fun script

2017-05-30 Thread Mahmood Naderan via Python-list
AM, Mahmood Naderan via Python-list > wrote: > > > > Hello, > > How it is possible to embed a package in my project? I mean, in my python > script I have written > > > import openpyxl > > > So, the user may not have installed that packag

Re: Python not able to find package but it is installed

2017-05-30 Thread Mahmood Naderan via Python-list
On Tuesday, May 30, 2017 2:09 PM, Wolfgang Maier wrote: -- https://mail.python.org/mailman/listinfo/python-list

Re: Python not able to find package but it is installed

2017-05-30 Thread Mahmood Naderan via Python-list
Traceback (most recent call last): File "", line 1, in ImportError: No module named openpyxl But $ find /opt -name openpyxl /opt/rocks/lib/python2.6/site-packages/openpyxl Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Python not able to find package but it is installed

2017-05-31 Thread Mahmood Naderan via Python-list
multiple versions of python and it seems that the search location of pip and python are different. I will try to modify the path to see what is what. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

How to make sure the result of Pandas.to_csv does not have non-ASCII code?

2017-05-31 Thread David Shi via Python-list
How to make sure the result of Pandas.to_csv does not have non-ASCII code? Regards, David -- https://mail.python.org/mailman/listinfo/python-list

Re: Is An Element of a Sequence an Object?

2017-06-04 Thread Larry Hudson via Python-list
oint out that a 'character' is NOT a data type in Python, in the same sense as it is in other languages. -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

openpyxl reads cell with format

2017-06-05 Thread Mahmood Naderan via Python-list
ps://mail.python.org/mailman/listinfo/python-list

Openpyxl cell format

2017-06-05 Thread Mahmood Naderan via Python-list
ps://mail.python.org/mailman/listinfo/python-list

Re: Openpyxl cell format

2017-06-05 Thread Mahmood Naderan via Python-list
Maybe... But specifically in my case, the excel file is exported from a web page. I think there should be a way to read the content as a pure text. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: openpyxl reads cell with format

2017-06-05 Thread Mahmood Naderan via Python-list
to formatting. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: openpyxl reads cell with format

2017-06-05 Thread Mahmood Naderan via Python-list
OK thank you very much. As you said, it seems that it is too late for my python script. Regards, Mahmood On Monday, June 5, 2017 10:41 PM, Dennis Lee Bieber wrote: On Mon, 5 Jun 2017 14:46:18 + (UTC), Mahmood Naderan via Python-list declaimed the following: >>if the cell

Re: Error in initialization of IDLE.

2017-06-07 Thread Mohit Soni via Python-list
; I did a fresh installation of both versions separately (almost all the combinations) but nothing concluded. It's pissing me off since 2 days. Please help me out!! Thank you! -- https://mail.python.org/mailman/listinfo/python-list

Re: sqlite3 is non-transactional??

2017-06-15 Thread Mark Summerfield via Python-list
dule is useful, personally, I've switched to using APSW which I've found to be extremely reliable and gives much more access to SQLite functionality: https://rogerbinns.github.io/apsw/ -- https://mail.python.org/mailman/listinfo/python-list

Re: sqlite in 2.7 on redhat 6

2017-06-15 Thread Mark Summerfield via Python-list
qlite part of the standard lib? Shouldn't this just work? Try: >>> import sqlite3 # no leading underscore -- https://mail.python.org/mailman/listinfo/python-list

course

2017-06-19 Thread Val Krem via Python-list
Hi all, Is there on line course in Python? I am looking for a level between beginner and intermediate. I would appreciate if you could suggest me? Thank you. -- https://mail.python.org/mailman/listinfo/python-list

Syntax error for simple script

2017-06-26 Thread Ben S. via Python-list
ror: File "dateParser.py", line 17 print mm + "/" + dd + "/" + + " " + hour + ":" + mi + ":" + ss ^ SyntaxError: Missing parentheses in call to 'print' Whats wrong? Thank you Peter -- https://mail.python.org/mailman/listinfo/python-list

"Python launcher" required to run *.py scripts on Windows?

2017-06-26 Thread Ben S. via Python-list
ions? Ben -- https://mail.python.org/mailman/listinfo/python-list

Check Python version from inside script? Run Pythons script in v2 compatibility mode?

2017-07-06 Thread Ben S. via Python-list
ine in v2 compatibility mode? I am thinking about a command parameter like (python.exe is v3.*): python.exe -execute_as_v2 myscript.py -- https://mail.python.org/mailman/listinfo/python-list

ANN: A new version (0.4.1) of python-gnupg has been released.

2017-07-10 Thread Vinay Sajip via Python-list
ment, or any other points via the mailing list/discussion group [4]). Please refer to the documentation [5] for more information. Enjoy! Cheers Vinay Sajip Red Dove Consultants Ltd. [1] https://bitbucket.org/vinay.sajip/python-gnupg [2] https://pypi.python.org/pypi/python-gnupg/0.4.1 [3] https://bitbucket.org/vinay.sajip/python-gnupg/issues [4] https://groups.google.com/forum/#!forum/python-gnupg [5] https://gnupg.readthedocs.io/en/latest/  -- https://mail.python.org/mailman/listinfo/python-list

RE: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Dan Strohl via Python-list
I have never used it personally. It always looked interesting, but I never ran into a need to generate the source for it. -Original Message- From: Python-list [mailto:python-list-bounces+d.strohl=f5@python.org] On Behalf Of Steve D'Aprano Sent: Monday, July 17, 2017 9:58

RE: Best way to assert unit test cases with many conditions

2017-07-18 Thread Dan Strohl via Python-list
o the built-in ordering for strings." -- https://mail.python.org/mailman/listinfo/python-list

Issues with Python

2017-07-30 Thread Ode Idoko via Python-list
the error and effect it? Can't it be programmed like we have in excel that will tell you error and prompt you if you wish to accept the right formula format? Please I need more information on this. Thanks. Ode Sent from my iPhone -- https://mail.python.org/mailman/listinfo/python-list

Question

2017-07-31 Thread Sonja Williams via Python-list
your name? What am I doing wrong? Sonja Williams -- https://mail.python.org/mailman/listinfo/python-list

Code for addition

2017-08-04 Thread Ode Idoko via Python-list
Can anyone help with the python code that can add 101, 102, 103...2033 please? As I said before, I'm new to python and need assistance in this regard. Thanks for always assisting. Sent from my iPhone -- https://mail.python.org/mailman/listinfo/python-list

Re: A question on modification of a list via a function invocation

2017-08-14 Thread Larry Hudson via Python-list
gt; [3, 6, 9] alist -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: A question on modification of a list via a function invocation

2017-08-15 Thread Larry Hudson via Python-list
return ss ───> [3, 6, 9] alist There is nothing to garbage collect here. -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: A question on modification of a list via a function invocation

2017-08-17 Thread Larry Hudson via Python-list
orget (or at least modify) your previous knowledge. It's simply a necessary part of learning a new language. Expect it and live with it! I hope this description gives you another viewpoint to consider. Good luck on your journey to becoming a Pythonista! concepts in general terms. The details may be (and probably are) quite different.> -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

Re: A question on modification of a list via a function invocation

2017-08-17 Thread Larry Hudson via Python-list
confusion, Chris. -- -=- Larry -=- -- https://mail.python.org/mailman/listinfo/python-list

<    45   46   47   48   49   50   51   52   53   54   >