Re: Beginner problem, please help. Building a simple menu + lists , cannot print list

2021-10-11 Thread Chris Angelico
On Tue, Oct 12, 2021 at 9:13 AM Felix Kjellström wrote: > > Hello! Please see the link to the code I have uploaded to my account at > replit.com > > https://replit.com/join/lftxpszwrv-felixkjellstrom Unfortunately, it's not public. Are you able to put the code on GitHub as a repository or gist,

Beginner problem, please help. Building a simple menu + lists , cannot print list

2021-10-11 Thread Felix Kjellström
Hello! Please see the link to the code I have uploaded to my account at replit.com https://replit.com/join/lftxpszwrv-felixkjellstrom Problem: When you select the menu option "Add buyer", you can enter three values. See code line 5, "def Add_buyer ():" Then, you use the arrow keys to select

connection aborted error please help to fix it

2021-08-17 Thread hi
Sent from [1]Mail for Windows References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 -- https://mail.python.org/mailman/listinfo/python-list

Re: please help

2021-08-16 Thread Dennis Lee Bieber
On Mon, 16 Aug 2021 20:24:17 +0100, MRAB declaimed the following: >On 2021-08-16 02:19, vitalis wrote: >> I keep getting this error while trying to install pyqt5 designer >> >> Fatal error in launcher: Unable to create process using '"c:\program >> files\python39\python.exe"

Re: please help

2021-08-16 Thread MRAB
On 2021-08-16 02:19, vitalis wrote: I keep getting this error while trying to install pyqt5 designer Fatal error in launcher: Unable to create process using '"c:\program files\python39\python.exe" "C:\Program Files\Python39\Scripts\pip.exe" install PyQt5Designer': The system

please help

2021-08-16 Thread vitalis
I keep getting this error while trying to install pyqt5 designer Fatal error in launcher: Unable to create process using '"c:\program files\python39\python.exe" "C:\Program Files\Python39\Scripts\pip.exe" install PyQt5Designer': The system cannot find the file specified. please

GridSearchCV generates unexpected different best parameters by only changing the parameters order in param_grid. Please help!

2021-02-25 Thread Yi Li
I am using GridSearchCV to find the best parameter setting of my sklearn.pipeline estimator. The pipeline consists of data transformation, UMAP dimension reduction and Kmeans clustering. The final Kmeans clustering results are scored using silhouette_score. I tried to verify the whole

Re: Please help test astral char display in tkinter Text (especially *nix)

2020-11-06 Thread Anssi Saari
Terry Reedy writes: > Perhaps half of the assigned chars in the first plane are printed > instead of being replaced with a narrow box. This includes emoticons > as foreground color outlines on background color. Maybe all of the > second plane of extended CJK chars are printed. The third plane

Re: Please help test astral char display in tkinter Text (especially *nix)

2020-11-05 Thread Terry Reedy
On 11/4/2020 7:47 AM, Menno Holscher wrote: Op 03-11-2020 om 04:04 schreef Terry Reedy: Perhaps half of the assigned chars in the first plane are printed instead of being replaced with a narrow box. This includes emoticons as foreground color outlines on background color.  Maybe all of the

Re: Please help test astral char display in tkinter Text (especially *nix)

2020-11-04 Thread Menno Holscher
Op 03-11-2020 om 04:04 schreef Terry Reedy: Perhaps half of the assigned chars in the first plane are printed instead of being replaced with a narrow box. This includes emoticons as foreground color outlines on background color.  Maybe all of the second plane of extended CJK chars are printed. 

Please help test astral char display in tkinter Text (especially *nix)

2020-11-03 Thread Terry Reedy
tcl/tk supports unicode chars in the BMP (Basic Multilingual Plane, utf-8 encoded with 1-3 bytes). The presence of chars in other plains ('astral', utf-8 encoded with 4 bytes, I believe) in a tkinter Text widget messages up *editing*, but they can sometimes be displayed with appropriate

How to convert csv to netcdf please help me python users

2020-05-29 Thread kotichowdary28
Hi all I hope all are doing well please help me how to convert CSV to NetCDF. Im trying but its not working #!/usr/bin/env ipython import pandas as pd import numpy as np import netCDF4 import pandas as pd import xarray as xr stn_precip='ts_sept.csv' orig_precip='ts_sept.csv' stations

please help me while installing pyttsx3 it shows error

2020-04-27 Thread AMAN BHAI PATEL
PS C:\Users\amanb\OneDrive\Desktop\jarvis> pip install pyttsx3 Collecting pyttsx3 Using cached pyttsx3-2.87-py3-none-any.whl (39 kB) Collecting comtypes; platform_system == "Windows" Using cached comtypes-1.1.7.zip (180 kB) Installing collected packages: comtypes, pyttsx3 Running setup.py

Re: Please Help! Absolute Novice - New Job, have this task.

2020-03-18 Thread bob gailer
Request for future: give us a specific subject e.g. how do I restore a button's text/color ? On 3/18/2020 6:05 PM, mjnash...@gmail.com wrote: Absolute beginner here, have no idea what I am doing wrong. All I want to do here is have the pushButton in PyQt5 to change to "Working..." and Red

Please Help! Absolute Novice - New Job, have this task.

2020-03-18 Thread mjnash194
Absolute beginner here, have no idea what I am doing wrong. All I want to do here is have the pushButton in PyQt5 to change to "Working..." and Red when clicked... which it currently does. Thing is I need it to also change back to the default "SCAN" and Green color when done running that method

Re: Please help me

2019-08-06 Thread Brian Oney via Python-list
On Mon, 2019-08-05 at 21:10 +0430, arash kohansal wrote: > Hello ive just installed python on my pc and ive already check the > path > choice part but microsoft visual code can not find it and it does not > have > the reload item Check out: https://code.visualstudio.com/docs/languages/python or

Re: Please help me

2019-08-05 Thread MRAB
On 2019-08-05 17:40, arash kohansal wrote: Hello ive just installed python on my pc and ive already check the path choice part but microsoft visual code can not find it and it does not have the reload item 1. Open Visual Studio Code. 2. Press F1, type "Python: Select Interpreter", and then

Please help me

2019-08-05 Thread arash kohansal
Hello ive just installed python on my pc and ive already check the path choice part but microsoft visual code can not find it and it does not have the reload item -- https://mail.python.org/mailman/listinfo/python-list

Re: Want to learn python as I have donne manual testing for 12 years. Please help to share opinion how to start. Thanks

2019-07-15 Thread copeterson07
On Monday, July 15, 2019 at 12:44:20 AM UTC-6, kumar...@gmail.com wrote: > Want to learn python as I have donne manual testing for 12 years. Please help > to share opinion how to start. Thanks I don't know your skill level with programming, but I have found this https://www.learnpyth

Re: Want to learn python as I have donne manual testing for 12 years. Please help to share opinion how to start. Thanks

2019-07-15 Thread Aldwin Pollefeyt
?), connect a socket to pass data, plot some data on a chart/image, show info in your OS's status bar, write your own api, threading, ... On Mon, Jul 15, 2019 at 3:00 PM wrote: > Want to learn python as I have donne manual testing for 12 years. Please > help to share opinion how to start.

Want to learn python as I have donne manual testing for 12 years. Please help to share opinion how to start. Thanks

2019-07-15 Thread kumarscheen
Want to learn python as I have donne manual testing for 12 years. Please help to share opinion how to start. Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: can you please help me in opening the python programming.

2018-11-23 Thread Bob Gailer
We would be glad to help. I can't tell from your question what kind of help you need so please give us more information. Have you tried to install python? If so has the installation succeeded? What do you mean by "open the programming"? What have you tried? What do you expect to see? --

can you please help me in opening the python programming.

2018-11-23 Thread hello!
Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via Python-list
The message type is bytes, this may make different ? print(type(message)) On Sun, Jan 28, 2018 at 8:41 PM, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Sun, 28 Jan 2018 20:31:39 -0500, Jason Qian via Python-list wrote: > > > Thanks a lot :) > > > > os.write(1,

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Dan Stromberg
On Sun, Jan 28, 2018 at 6:04 PM, Steven D'Aprano wrote: > On Sun, 28 Jan 2018 17:49:44 -0800, Dan Stromberg wrote: > So what was the clue that it was bytes that you saw that (nearly) > everyone else missed? Especially me. Can I get away with saying "it was

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Steven D'Aprano
On Sun, 28 Jan 2018 17:49:44 -0800, Dan Stromberg wrote: > On Sun, Jan 28, 2018 at 5:35 PM, Steven D'Aprano > wrote: >> On Sun, 28 Jan 2018 17:04:56 -0800, Dan Stromberg wrote: >>> How about: >> os.write(1, message) >> >> What do you think that will do

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Steven D'Aprano
On Sun, 28 Jan 2018 19:51:06 -0500, Jason Qian via Python-list wrote: > print(repr(message)) out : > > *does not exist\r\n\tat com.* For the record, I'd just like to say that this is not the output of Jason's call to print(). It has been edited to remove the b' ' delimiters which would

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Dan Stromberg
On Sun, Jan 28, 2018 at 5:35 PM, Steven D'Aprano wrote: > On Sun, 28 Jan 2018 17:04:56 -0800, Dan Stromberg wrote: >> How about: > os.write(1, message) > > What do you think that will do that print() doesn't do? >>> message = b'*does not exist\r\n\tat

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Steven D'Aprano
On Sun, 28 Jan 2018 20:31:39 -0500, Jason Qian via Python-list wrote: > Thanks a lot :) > > os.write(1, message) works ! I still do not believe that print(message) doesn't work. I can see no reason why you need to use os.write(). -- Steve --

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Steven D'Aprano
On Sun, 28 Jan 2018 17:04:56 -0800, Dan Stromberg wrote: > How about: os.write(1, message) What do you think that will do that print() doesn't do? -- Steve -- https://mail.python.org/mailman/listinfo/python-list

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Steven D'Aprano
Jason, your Python output and the C output are not the same. Also, it looks like your email client is adding formatting codes to the email, or something. Please look at your post here: https://mail.python.org/pipermail/python-list/2018-January/730384.html Do you notice the extra asterisks

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via Python-list
Thanks Peter, replace print with os.write fixed the problem. On Sun, Jan 28, 2018 at 3:57 AM, Peter Otten <__pete...@web.de> wrote: > Jason Qian via Python-list wrote: > > > HI > > > >I have a string that contains \r\n\t > > > >[Ljava.lang.Object; does not exist*\r\n\t*at > >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via Python-list
Thanks a lot :) os.write(1, message) works ! On Sun, Jan 28, 2018 at 8:04 PM, Dan Stromberg wrote: > How about: > >>> os.write(1, message) > > On Sun, Jan 28, 2018 at 4:51 PM, Jason Qian via Python-list > wrote: > > print(repr(message)) out : > >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Dan Stromberg
How about: >>> os.write(1, message) On Sun, Jan 28, 2018 at 4:51 PM, Jason Qian via Python-list wrote: > print(repr(message)) out : > > *does not exist\r\n\tat com.* > > > for ch in message: > printf("%d %c",ch, chr(ch)) > > > %d %c 110 n > %d %c 111 o > %d %c 116 t >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Jason Qian via Python-list
print(repr(message)) out : *does not exist\r\n\tat com.* for ch in message: printf("%d %c",ch, chr(ch)) %d %c 110 n %d %c 111 o %d %c 116 t %d %c 32 %d %c 101 e %d %c 120 x %d %c 105 i %d %c 115 s %d %c 116 t *%d %c 13%d %c 10* *%d %c 9* %d %c 97 a %d %c 116 t %d %c 32 %d %c 99 c %d %c

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Steven D'Aprano
On Sat, 27 Jan 2018 21:23:02 -0500, Jason Qian via Python-list wrote: > there are 0D 0A 09 If your string actually contains CARRIAGE RETURN (OD) NEWLINE (OA), and TAB (09) characters, then you don't need to do anything. Just call print, and they will be printed correctly. If that doesn't

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-28 Thread Peter Otten
Jason Qian via Python-list wrote: > HI > >I have a string that contains \r\n\t > >[Ljava.lang.Object; does not exist*\r\n\t*at >[com.livecluster.core.tasklet > > >I would like to print it as : > > [Ljava.lang.Object; does not exist > tat com.livecluster.core.tasklet >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread breamoreboy
On Saturday, January 27, 2018 at 8:16:58 PM UTC, Jason Qian wrote: > HI > >I am a string that contains \r\n\t > >[Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet > >I would like it print as : > > [Ljava.lang.Object; does not exist > tat

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Prahallad Achar
In python 3. X Use. Decode and. Encode On 28 Jan 2018 1:47 am, "Jason Qian via Python-list" wrote: > HI > >I am a string that contains \r\n\t > >[Ljava.lang.Object; does not exist*\r\n\t*at > com.livecluster.core.tasklet > > >I would like it print as : > >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
there are 0D 0A 09 %c %d 116 *%c %d 13%c %d 10%c %d 9* %c %d 97 On Sat, Jan 27, 2018 at 9:05 PM, Dennis Lee Bieber wrote: > On Sat, 27 Jan 2018 20:33:58 -0500, Jason Qian via Python-list > declaimed the following: > > >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
Thanks for taking look this. The source of the string is std::string from our c code as callback . On the python side is shows as bytes. Is there way we can reformat the string that replace \r\n with newline, so python can correctly print it ? Thanks On Sat, Jan 27, 2018 at 5:39 PM, Terry

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
Thanks for taking look this. 1. Python pass a function to c side as callback, and print out the message. def handleError(message, code): print('** handleError **') * print('exception ' + str(message))* 2. On c side : send stack trace back to python by calling the callback function

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Terry Reedy
On 1/27/2018 3:15 PM, Jason Qian via Python-list wrote: HI I am a string that contains \r\n\t [Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet I would like it print as : [Ljava.lang.Object; does not exist tat com.livecluster.core.tasklet Your output

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Ned Batchelder
On 1/27/18 3:15 PM, Jason Qian via Python-list wrote: HI I am a string that contains \r\n\t [Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet I would like it print as : [Ljava.lang.Object; does not exist tat com.livecluster.core.tasklet It looks like

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
HI I have a string that contains \r\n\t [Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet I would like to print it as : [Ljava.lang.Object; does not exist tat com.livecluster.core.tasklet How can I do this in python print ? Thanks On Sat, Jan 27,

Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread Jason Qian via Python-list
HI I am a string that contains \r\n\t [Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet I would like it print as : [Ljava.lang.Object; does not exist tat com.livecluster.core.tasklet -- https://mail.python.org/mailman/listinfo/python-list

Re: Please Help

2018-01-26 Thread Gary Herron
On 01/26/2018 08:33 PM, mohammedfaraz...@gmail.com wrote: import numpy as np x=np.unit8([250) print(x) y=np.unit8([10]) print(y) z=x+y print(z) output [250] [10] [4] My question how is z [4] Despite all the typos in your post, you appear to be doing 8 bit unsigned arithmetic.  Do you

Re: Please Help

2018-01-26 Thread jladasky
Please copy and paste the exact code you are running. The code you show has several syntax errors, and would not execute at all. Now, I think that I can read through your errors anyway, so let me ask you a question: what is the largest possible value that can be represented with an unsigned

Please Help

2018-01-26 Thread mohammedfarazali
import numpy as np x=np.unit8([250) print(x) y=np.unit8([10]) print(y) z=x+y print(z) output [250] [10] [4] My question how is z [4] -- https://mail.python.org/mailman/listinfo/python-list

Re: RegExp - please help me!

2017-12-27 Thread szykcech
> (?s)struct (.+?)\s*\{\s*(.+?)\s*\}; Thank you Vlastimil Brom for regexp and for explanation! -- https://mail.python.org/mailman/listinfo/python-list

Re: RegExp - please help me!

2017-12-27 Thread Lele Gaifax
szykc...@gmail.com writes: > Please help me with this regexp or tell me that I neeed do this in other way. I think that using regexps to parse those structures is fragile and difficult to get right[0], as there are lots of corner cases (comments, complex types, ...). I'd suggest using a t

Re: RegExp - please help me! (Posting On Python-List Prohibited)

2017-12-26 Thread szykcech
W dniu wtorek, 26 grudnia 2017 21:53:14 UTC+1 użytkownik Lawrence D’Oliveiro napisał: > On Wednesday, December 27, 2017 at 2:15:21 AM UTC+13, szyk...@gmail.com wrote: > > struct (.+)\s*{\s*(.+)\s*}; > > You realize that “.” matches anything? Whereas I think you want to match > non-whitespace in

Re: RegExp - please help me!

2017-12-26 Thread Peter Pearson
On Tue, 26 Dec 2017 05:14:55 -0800 (PST), szykc...@gmail.com wrote: [snip] > So: I develop regexp which to my mind should work, but it doesn't and > I don't know why. The broken regexp is like this: > struct (.+)\s*{\s*(.+)\s*}; [snip] You'll probably get better help faster if you can present

Re: RegExp - please help me!

2017-12-26 Thread Vlastimil Brom
; As you can see it has two groups: struct name and struct definition. > It fails even for such simple structure: > struct Structure > { > int mVariable1; > QString mVariable2; > bool mVariable3 > }; > > Please help me with this regexp or tell me that I neee

RegExp - please help me!

2017-12-26 Thread szykcech
ken regexp is like this: struct (.+)\s*{\s*(.+)\s*}; As you can see it has two groups: struct name and struct definition. It fails even for such simple structure: struct Structure { int mVariable1; QString mVariable2; bool mVariable3 }; Please help me with this regexp or tell me that

Re: Error In querying Genderize.io. Can someone please help

2016-12-01 Thread John Gordon
In handa...@gmail.com writes: > import requests > import json > names={'katty','Shean','Rajat'}; > for name in names: > request_string="http://api.genderize.io/?"+name > r=requests.get(request_string) >

Error In querying Genderize.io. Can someone please help

2016-12-01 Thread handar94
nd = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\user\Anaconda2\lib\json\decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Can someone please help. -- https://mail.python.org/mailman/listinfo/python-list

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-27 Thread Michael Torrie
On 05/27/2016 08:09 PM, Michael Torrie wrote: > On 05/27/2016 08:41 AM, Sean Son wrote: >> Thank you for your reply. So the error isnt due to a bug in function >> itself? It is due to a possible error in the Android APK file? If that >> is the case, it would take a while to figure this out. I

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-27 Thread Michael Torrie
On 05/27/2016 08:41 AM, Sean Son wrote: > Thank you for your reply. So the error isnt due to a bug in function > itself? It is due to a possible error in the Android APK file? If that > is the case, it would take a while to figure this out. I tried contacted > the author of the project but I have

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-27 Thread Sean Son
Hello Thank you for your reply. So the error isnt due to a bug in function itself? It is due to a possible error in the Android APK file? If that is the case, it would take a while to figure this out. I tried contacted the author of the project but I have yet to hear back from him . Thanks

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-26 Thread Michael Torrie
On 05/26/2016 05:57 PM, Michael Torrie wrote: > You could try emailing the author who's email address is listed on the > project's main github page. I suspect the project itself is abandoned. Ahem. That should have been whose. Sigh. -- https://mail.python.org/mailman/listinfo/python-list

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-26 Thread Michael Torrie
On 05/26/2016 11:31 AM, Sean Son wrote: > Hopefully those help in any troubleshooting steps that you all recommend to > me! > > Thank you! You could try emailing the author who's email address is listed on the project's main github page. I suspect the project itself is abandoned. Was this

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-26 Thread Sean Son
Here are the links to the other scripts mentioned in the error messages: https://github.com/mz/androwarn/blob/master/androwarn/search/malicious_behaviours/device_settings.py https://github.com/mz/androwarn/blob/master/androwarn/analysis/analysis.py and the main androwarn.py script:

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-26 Thread Sean Son
Hello all >From what I can tell from the error message that I received, line 257 of the util.py script is causing the error. Here is a link to this script: https://github.com/mz/androwarn/blob/master/androwarn/util/util.py I am not a python developer myself, unfortunately, so I have no

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-24 Thread Sean Son
Thanks for the reply. Looks like I am screwed on this one lol On Tue, May 24, 2016 at 3:31 PM, MRAB wrote: > On 2016-05-24 20:04, Sean Son wrote: > >> hello all >> >> I am testing out a script called androwarn.py, which I downloaded from: >> >>

Re: Strange Python related errors for androwarn.py. Please help!

2016-05-24 Thread MRAB
On 2016-05-24 20:04, Sean Son wrote: hello all I am testing out a script called androwarn.py, which I downloaded from: https://github.com/mz/androwarn using the instructions found on: https://github.com/mz/androwarn/wiki/Installation When I ran the following commands to test the APK

Strange Python related errors for androwarn.py. Please help!

2016-05-24 Thread Sean Son
hello all I am testing out a script called androwarn.py, which I downloaded from: https://github.com/mz/androwarn using the instructions found on: https://github.com/mz/androwarn/wiki/Installation When I ran the following commands to test the APK for AirBNB: python androwarn.py -i

Re: PLEASE HELP -- TOTALLY NEW TO PYTHON

2016-03-26 Thread Joel Goldstick
ke_DAG(digraph, key_node) > File "/Users/juandent/Downloads/cppdep-master/networkx_ext.py", line 79, > in make_DAG > for ind in range(len(subgraphs)-1, -1, -1): > TypeError: object of type 'generator' has no len() > > > Please, I know no python and am in a hurry to

Re: PLEASE HELP -- TOTALLY NEW TO PYTHON

2016-03-26 Thread Gary Herron
n calculate_graph (cycles, dict_node2cycle) = make_DAG(digraph, key_node) File "/Users/juandent/Downloads/cppdep-master/networkx_ext.py", line 79, in make_DAG for ind in range(len(subgraphs)-1, -1, -1): TypeError: object of type 'generator' has no len() Please, I know no python and a

Re: PLEASE HELP -- TOTALLY NEW TO PYTHON

2016-03-26 Thread Ned Batchelder
ph, key_node) > File "/Users/juandent/Downloads/cppdep-master/networkx_ext.py", line 79, in > make_DAG > for ind in range(len(subgraphs)-1, -1, -1): > TypeError: object of type 'generator' has no len() > > > Please, I know no python and am in a hurry to get this wor

Re: PLEASE HELP -- TOTALLY NEW TO PYTHON

2016-03-26 Thread Steven D'Aprano
On Sat, 26 Mar 2016 04:31 pm, Juan Dent wrote: > > I am trying to run ‘python cppdep.py’ but get the following: > > > analyzing dependencies among all components ... > Traceback (most recent call last): > File

Re: PLEASE HELP -- TOTALLY NEW TO PYTHON

2016-03-26 Thread Mark Lawrence
uot;, line 79, in make_DAG for ind in range(len(subgraphs)-1, -1, -1): TypeError: object of type 'generator' has no len() Please, I know no python and am in a hurry to get this working… Please help Regards, Juan for ind in range(len(list(subgraphs))-1, -1, -1): However please note that t

PLEASE HELP -- TOTALLY NEW TO PYTHON

2016-03-26 Thread Juan Dent
nge(len(subgraphs)-1, -1, -1): TypeError: object of type 'generator' has no len() Please, I know no python and am in a hurry to get this working… Please help Regards, Juan -- https://mail.python.org/mailman/listinfo/python-list

Re: please help

2016-02-04 Thread Oscar Benjamin
On 3 February 2016 at 23:03, Syavosh Malek wrote: > hi i install python 3.5.1 and found run time error > see attach file and help me please I'm afraid your attachment didn't arrive as this is a text-only mailing list. Can you include more information about the error? If it's

please help

2016-02-04 Thread Syavosh Malek
hi i install python 3.5.1 and found run time error see attach file and help me please -- https://mail.python.org/mailman/listinfo/python-list

Please help

2015-12-21 Thread Abdul Basit
I am receiving this error while installing python interpreter version 3.5.1 (32 bit) Error is " This program cannot start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer" I reinstalled this file but again this error message What should I do to remove this issue kindly

[issue25336] Segmentation fault on Mavericks consistent crashing of software: Please HELP!!!!!

2015-10-09 Thread CM
CM added the comment: I understood what Ned meant, and I did seek advice from the third party software creator, it was the first thing I did because like you stated I thought it was an issue with the third party software and not python. Coming to this bug website was my last resort but I can

[issue25336] Segmentation fault on Mavericks consistent crashing of software: Please HELP!!!!!

2015-10-09 Thread R. David Murray
R. David Murray added the comment: I think Ned meant "it is *not* likely to be in the python interpreter or standard library", and that you should seek help from the third party people trying to track down the problem. *If* it turns out to be python or the stdlib, which means you've managed

[issue25336] Segmentation fault on Mavericks consistent crashing of software: Please HELP!!!!!

2015-10-09 Thread CM
CM added the comment: Hi Thanks for your response. So as you have correctly surmised I am using a software package call oof. I ran the package using gdb and this is the output that I got. I'm having the same issue on i.e. Segmentation fault on three machines, one is a Linux Centos/Redhat

[issue25336] Segmentation fault on Mavericks consistent crashing of software: Please HELP!!!!!

2015-10-08 Thread CM
New submission from CM: Process: Python [556] Path: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 2.7.10 (2.7.10) Code Type: X86-64 (Native) Parent Process: bash [510]

[issue25336] Segmentation fault on Mavericks consistent crashing of software: Please HELP!!!!!

2015-10-07 Thread Ned Deily
Ned Deily added the comment: Without more information or a reproducible test case, it is very difficult to say what's going on. But, from some of the file paths in the crash report, I'm guessing you are using a third-party package called OOF2 with a MacPorts-installed Python 2.7 and oof2

Re: Please help on this sorted function

2015-06-03 Thread Gary Herron
On 06/02/2015 01:20 PM, fl wrote: Hi, I try to learn sorted(). With the tutorial example: ff=sorted({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'}) ff [1, 2, 3, 4, 5] I don't see what sorted does in this dictionary, i.e. the sequence of 1..5 is unchanged. Could you explain it to me?

Re: Please help on this sorted function

2015-06-03 Thread Steven D'Aprano
On Wednesday 03 June 2015 06:42, Joonas Liik wrote: my_dict = {1: 'D', 2: 'B', 3: 'A', 4: 'E', 5: 'B'} # dict.items() returns an iterator that returns pairs of (key, value) # pairs the key argument to sorted tells sorted what to sort by, operator.itemgetter is a factory function ,

Please help on this sorted function

2015-06-02 Thread fl
Hi, I try to learn sorted(). With the tutorial example: ff=sorted({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'}) ff [1, 2, 3, 4, 5] I don't see what sorted does in this dictionary, i.e. the sequence of 1..5 is unchanged. Could you explain it to me? Thanks, --

Re: Please help on this sorted function

2015-06-02 Thread Joonas Liik
my_dict = {1: 'D', 2: 'B', 3: 'A', 4: 'E', 5: 'B'} # dict.items() returns an iterator that returns pairs of (key, value) pairs # the key argument to sorted tells sorted what to sort by, operator.itemgetter is a factory function , itemgetter(1)== lambda iterable: iterable[1] sorted_dict =

Re: Please help on this sorted function

2015-06-02 Thread fl
On Tuesday, June 2, 2015 at 1:20:40 PM UTC-7, fl wrote: Hi, I try to learn sorted(). With the tutorial example: ff=sorted({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'}) ff [1, 2, 3, 4, 5] I don't see what sorted does in this dictionary, i.e. the sequence of 1..5 is unchanged.

Re: Please help on this sorted function

2015-06-02 Thread Joonas Liik
ff=sorted({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'}) ff [1, 2, 3, 4, 5] sorted({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'}) is equivalent to sorted(iter({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'})) and iter(dict) iterates over the dict keys, so when you do iter({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5:

Re: Please help on this sorted function

2015-06-02 Thread Chris Angelico
On Wed, Jun 3, 2015 at 6:25 AM, fl rxjw...@gmail.com wrote: I am still new to Python. How to get the sorted dictionary output: {1: 'D', 2: 'B', 3: 'A', 4: 'E', 5: 'B'} Since dictionaries don't actually have any sort of order to them, the best thing to do is usually to simply display it in

Re: Please Help to build an addon for Anki

2015-04-20 Thread Ben Finney
Mahesh Chiramure mchirm...@gmail.com writes: I liked the addon Picture-flasher written for anki very much and I was wondering if the same thing could be done with mp3 and/or flac files. Quite probably. That sounds like a good small project to tackle: you've found a free-software program, it

Please Help to build an addon for Anki

2015-04-20 Thread Mahesh Chiramure
Hi I liked the addon Picture-flasher written for anki very much and I was wondering if the same thing could be done with mp3 and/or flac files. Means I am looking for an addon that chooses a random mp3 and/or flac file from a directory provided by me (to the addon as we have to provide in

please help to run pylearn2

2015-02-27 Thread Amila Deepal
I try to run pylearn2 tutorial: Softmax regression using my notebook. but i run from pylearn2.config import yaml_parse train = yaml_parse.load(train) train.main_loop() this code in my notebook i got Error.How to solve this Please help

Re: Please help.

2015-02-09 Thread John Ladasky
On Monday, February 9, 2015 at 9:44:16 AM UTC-8, chim...@gmail.com wrote: Hello. Am trying to change the key words to my tribal language. Eg change English language: print() to igbo language: de(). I have been stuck for months I need a mentor or someone that can guide me and answer some of my

Re: Please help.

2015-02-09 Thread John Ladasky
On Monday, February 9, 2015 at 10:26:47 AM UTC-8, Dave Angel wrote: That will help him with the functions. But not with the keywords. The OP didn't specify Python version, but in 3.x, print() is a function, and can be rebound. Since he said keyword, he's either mistaken, or he's running

Re: Please help.

2015-02-09 Thread Dave Angel
On 02/09/2015 01:08 PM, John Ladasky wrote: On Monday, February 9, 2015 at 9:44:16 AM UTC-8, chim...@gmail.com wrote: Hello. Am trying to change the key words to my tribal language. Eg change English language: print() to igbo language: de(). I have been stuck for months I need a mentor or

Please help.

2015-02-09 Thread chimex60
‎Hello. Am trying to change the key words to my tribal language. Eg change English language: print() to igbo language: de(). I have been stuck for months I need a mentor or someone that can guide me and answer some of my questions when I get stuck. Thanks..I will really appreciate it if someone

Re: Please help.

2015-02-09 Thread Steven D'Aprano
Hello Chimex, and welcome. First, before I answer your question, I have a favour to ask. Please adjust your email program to send Plain Text as well as (or even instead of) so-called Rich Text. When you send Rich Text, many people here will see your email like this: chime...@gmail.com wrote:

Re: Please help - Python role in Emeryville, CA - Full-time - $100K+

2014-12-18 Thread David H. Lipman
It depends on if this a Job Posting, specific to Python, is allowed and not considered spam. -- https://mail.python.org/mailman/listinfo/python-list

Re: Please help - Python role in Emeryville, CA - Full-time - $100K+

2014-12-18 Thread me
On Thu, 18 Dec 2014 00:08:18 +, Jared E. Cardon wrote: Hi, I found your Python group on Google+ and I'm searching for someone with 3+ years of Python development experience for a full-time position in California. Salary north of $100K and working for an amazing company. Ideally I'd

Please help - Python role in Emeryville, CA - Full-time - $100K+

2014-12-17 Thread Jared E. Cardon
Hi, I found your Python group on Google+ and I'm searching for someone with 3+ years of Python development experience for a full-time position in California. Salary north of $100K and working for an amazing company. Ideally I'd like to find someone who is nice, plugged into the movie and

Re: PythonCE successfully inst'ed, but scripts don't work. Please help.

2014-05-30 Thread Chris Angelico
On Fri, May 30, 2014 at 1:12 PM, Abdullah Indorewala pwnapplei...@icloud.com wrote: Hi, I know you posted this 15 years ago but I recently stumbled across your post here : https://mail.python.org/pipermail/python-list/1999-May/018340.html And I am in the same situation (kind of). I can’t

  1   2   3   4   5   6   7   8   >