Re: Need help please

2023-04-10 Thread Thomas Passin
On 4/10/2023 9:59 AM, Jack Gilbert wrote: I D/L 3.11.3, I can see it in CMD running W10 64bit I have IDL on my desktop, HOW do I get 3.11.3 on my desktop? If you mean "How can I create a shortcut to Python 3.11.3 on my desktop that opens an interactive Python session", here is one way: 1.

Re: Need help please

2023-04-10 Thread Sravan Kumar Chitikesi
use where cmd to find out the path of the binary and create a shortcut to that file on desktop Regards, *Sravan Chitikesi* AWS Solutions Architect - Associate On Mon, Apr 10, 2023 at 10:03 AM Jack Gilbert <00jhen...@gmail.com> wrote: > I D/L 3.11.3, I can see it in CMD > > running W10 64bit > >

Re: Need help with custom string formatter

2022-11-05 Thread MRAB
On 2022-11-05 11:07, Stefan Ram wrote: Robert Latest writes: result += ' ' *( length - len( result )) Nice, I didn't know that one could multiply strings by negative numbers without error. Thanks, but today I thought that maybe there might be a solution for getting a field of a fixed l

Re: need help

2022-10-24 Thread Peter J. Holzer
On 2022-10-24 01:02:24 +, rbowman wrote: > On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote: > > I'd say GMail are rudely dropping traffic to port 2525. Maybe try just > > 25, > > the normal SMTP port? > > 2525 is an alternative to 587, the standard TLS port. Port 587 is not the stan

Re: need help

2022-10-23 Thread Cameron Simpson
On 24Oct2022 01:02, rbowman wrote: On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote: I'd say GMail are rudely dropping traffic to port 2525. Maybe try just 25, the normal SMTP port? 2525 is an alternative to 587, the standard TLS port. Yah. My point was more focussed on GMail's sho

Re: need help

2022-10-23 Thread rbowman
On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote: > I'd say GMail are rudely dropping traffic to port 2525. Maybe try just > 25, > the normal SMTP port? 2525 is an alternative to 587, the standard TLS port. 25 and 587 work. telnet smtp.gmail.com 587 Trying 2607:f8b0:4023:1004::6d... C

Re: need help

2022-10-23 Thread Cameron Simpson
Please try to choose more descriptive subject lines (eg "problem with sock.connect" or similar). That you want help is almost implicit, and what the whole list is for. Anyway, to your problem: On 23Oct2022 10:19, Shuaib Akhtar wrote: How to fix Traceback (most recent call last):   File "

Re: Need help with custom string formatter

2022-10-22 Thread Robert Latest via Python-list
Cameron Simpson wrote: > Stefan's code implements it's own format_field and falls back to the > original format_field(). That's standard subclassing practice, and worth > doing reflexively more of the time - it avoids _knowing_ that > format_field() just calls format(). > > So I'd take Stefan's

Re: Need help with custom string formatter

2022-10-21 Thread Cameron Simpson
On 21Oct2022 16:55, Stefan Ram wrote: I was not aware of "isdigit". There's also "isdecimal" and "isnumeric". They all have subtly different meanings :-) Cheers, Cameron Simpson -- https://mail.python.org/mailman/listinfo/python-list

Re: Need help with custom string formatter

2022-10-21 Thread Cameron Simpson
On 21Oct2022 16:55, Stefan Ram wrote: Robert Latest writes: return super().format_field( value, format_string ) Why do you prefer super().format_field() over plain format()? The doc says: "format_field() simply calls format()." So I figured I might do the same. I am not aware of any reason

Re: Need help with custom string formatter

2022-10-21 Thread Robert Latest via Python-list
Stefan Ram wrote: [the solution] thanks, right on the spot. I had already figured out that format_field() is the one method I need, and thanks for the str.translate method. I knew that raking seven RE's across the same string HAD to be stupid. Have a nice weekend! -- https://mail.python.org/ma

Re: Need help with custom string formatter

2022-10-21 Thread Robert Latest via Python-list
Hi Stefan, I have now implemented a version of this, works nicely. I have a few minor questions / remarks: > result += ' ' *( length - len( result )) Nice, I didn't know that one could multiply strings by negative numbers without error. > def __init__( self ): > super().__init_

Re: Need help in blockchain coding.

2022-06-11 Thread Mats Wichmann
On 6/11/22 15:29, dn wrote: > On 12/06/2022 02.51, Ayesha Tassaduq wrote: >> I am a beginner in python I want to transfer generated hash to a local >> database. I try it with socket programming but I fail. can anyone please >> help me ow I can do this? > > Where is the database? > Where is the s

Re: Need help in blockchain coding.

2022-06-11 Thread dn
On 12/06/2022 02.51, Ayesha Tassaduq wrote: > I am a beginner in python I want to transfer generated hash to a local > database. I try it with socket programming but I fail. can anyone please help > me ow I can do this? Where is the database? Where is the socket? What are the (full) error messag

Re: need help with a translation issue

2021-04-17 Thread dn via Python-list
Longer response: NB I've not used the system and only quickly reviewed https://py-googletrans.readthedocs.io/_/downloads/en/documentation/pdf/ NBB I am treating you (and/or other interested-readers) as something of a 'beginner'. No insult is intended should I appear to be 'talking down'. On 18

Re: need help with a translation issue

2021-04-17 Thread Chris Angelico
On Sun, Apr 18, 2021 at 9:58 AM dn via Python-list wrote: > Alternately, what's there to stop some nefarious/stupid user (like me!) > entering "gobbledegook" and complaining that the program fails? "What is the French for fiddle-de-dee?" -- the Red Queen, to Alice (Incidentally, Google attempts

Re: need help with a translation issue

2021-04-17 Thread MRAB
On 2021-04-17 23:56, Quentin Bock wrote: I'm trying to take the user input and let them change the target language or dest code: from deep_translator import GoogleTranslator import googletrans import sys language_list = googletrans.LANGUAGES print(language_list) feedback = input("Would you lik

Re: need help with a translation issue

2021-04-17 Thread dn via Python-list
On 18/04/2021 10.56, Quentin Bock wrote: > I'm trying to take the user input and let them change the target language > or dest > code: > ... > language_list = googletrans.LANGUAGES > print(language_list) ... > user_choice = input ("Enter a language (the abbreviation or correctly > spelled na

Re: Need help in installing numpy

2020-11-11 Thread MRAB
On 2020-11-10 23:32, adelamsaleh--- via Python-list wrote: Dear Python Community, I am new to python.  I sucessfully installed python 3.9 from python.org on my windows 10 pc. I checked it by typing 'py' in the windows cmd prompt and the system indeed responds with the version number, then the >

Re: Need Help Urgently

2020-02-26 Thread Bob Gailer
On Feb 26, 2020 10:56 AM, "Prakash Samal" wrote: > > [ABCD client error]: Connection to broker at 126.0.0.1: lost! > "timestamp":"Wed Feb 19 11:48:41 > > [XYZ]: Connection to broker at 126.0.0.1: lost! > "timestamp":"Wed Feb 19 11:48:40 > > Note: I want to read the error code i.e ABCD Cl

Re: Need help: integrating unittest with setuptools

2019-09-02 Thread YuXuan Dong
No, it doesn't. The stackoverflow question you posted is about the renaming of `winreg`. `_winreg` is renamed to `winreg`. That's why the poster can't find the module. My program is written for and running on unix-like systems. I think `winreg` should not appear here. I have tried running `pi

Re: Need help: integrating unittest with setuptools

2019-09-01 Thread Sayth Renshaw
On Monday, 2 September 2019 04:44:29 UTC+10, YuXuan Dong wrote: > Hi, everybody: > > I have met a problem while I ran `python setup.py test`: > > unittest.case.SkipTest: No module named 'winreg' > > I ran the command in MacOS and my project is written for only UNIX-like > systems. I don'

Re: need help understanding: converting text to binary

2019-04-23 Thread Eli the Bearded
In comp.lang.python, Cameron Simpson wrote: > On 23Apr2019 20:35, Eli the Bearded <*@eli.users.panix.com> wrote: >> That feels entirely wrong. I don't know what b'\x9A' means without >> knowing the character set and character encoding. If the encoding is a >> multibyte one, b'\x9A' doesn't mean a

Re: need help understanding: converting text to binary

2019-04-23 Thread Gregory Ewing
Cameron Simpson wrote: If you don't know the encoding then you don't know you're looking at a hex digit. OTOH, if the binary data contain ASCII data then you do know the encoding: it is ASCII. Not necessarily, it could be a superset of ASCII such as latin-1 or utf-8. You do need to know that

Re: need help understanding: converting text to binary

2019-04-23 Thread Cameron Simpson
On 23Apr2019 20:35, Eli the Bearded <*@eli.users.panix.com> wrote: In comp.lang.python, Chris Angelico wrote: Is there a more python-esque way to convert what should be plain ascii What does "plain ASCII" actually mean, though? ASCII encoded binary data. ASCII is code points that fit in 7-b

Re: need help understanding: converting text to binary

2019-04-23 Thread Eli the Bearded
In comp.lang.python, Paul Rubin wrote: > Eli the Bearded <*@eli.users.panix.com> writes: >> # decode a single hex digit >> def hord(c): ... > >def hord(c): return int(c, 16) That's a good method, thanks. > > # decode quoted printable, specifically the MIME-encoded words > > # variant which

Re: need help understanding: converting text to binary

2019-04-23 Thread Eli the Bearded
In comp.lang.python, Chris Angelico wrote: > Have you checked to see if Python can already do this? You mention I'm sure there's a library already. I'm trying to mix library usage with my own code to get practice writing in python. In this case, I want code to deal with MIME encoding in email he

Re: need help understanding: converting text to binary

2019-04-22 Thread MRAB
On 2019-04-23 01:54, Eli the Bearded wrote: Here's some code I wrote today: [snip] # decode a single hex digit def hord(c): c = ord(c) if c >= ord(b'a'): return c - ord(b'a') + 10 elif c >= ord(b'A'): There's a bug here: return c - ord(b'a') + 10 It shou

Re: need help understanding: converting text to binary

2019-04-22 Thread Chris Angelico
On Tue, Apr 23, 2019 at 10:58 AM Eli the Bearded <*@eli.users.panix.com> wrote: > > Here's some code I wrote today: > > -- cut here 8< -- > HEXCHARS = (b'0', b'1', b'2', b'3', b'4', b'5', b'6', b'7', b'8', b'9', > b'A', b'B', b'C', b'D', b'E', b'F', > b'a', b'b', b'c

Re: Need help with Python3.4 and Avro

2019-02-28 Thread Terry Reedy
On 2/28/2019 11:19 AM, Mihir Kothari wrote: I am not sure if this is the right list, but trying to get help from experienced python users for my issue. This is a good place to get a somewhat different set of such people. I have posted the issue in stackoverflow, but yet to see any response.

Re: Need help for python on my pc.

2018-11-21 Thread boB Stepp
On Wed, Nov 21, 2018 at 12:19 PM Sourav Banik wrote: > > Hello Python team, > I'm using python 3.7(32 bit) for several months on my same laptop (x64 > processor). I worked on some django project very swiftly without any > problem. But for a few days I am facing a serious problem. My python files >

Re: Need help for python on my pc.

2018-11-21 Thread Calvin Spealman
Hi, I'm afraid attachments are stripped out of e-mails sent to this list. Anything you sent was not included, so you'll need to share them in some other way if you'd like to ask for help. On Wed, Nov 21, 2018 at 1:18 PM Sourav Banik wrote: > Hello Python team, > I'm using python 3.7(32 bit) for

Re: Need help to understand not the answer

2017-07-30 Thread Rick Johnson
On Saturday, July 29, 2017 at 2:16:36 PM UTC-5, new_to_c0ding wrote: > Hello all, I have been scratching my head since morning but > could not understand this quiz question. I would appreciate > if someone could help me understand what is it asking me to > do. I dont need the answer but just the ri

Re: Need help to understand not the answer

2017-07-29 Thread devinderaujla
On Saturday, July 29, 2017 at 3:49:55 PM UTC-4, MRAB wrote: > On 2017-07-29 20:16, new_to_c0ding wrote: > > Hello all, > > I have been scratching my head since morning but could not understand this > > quiz question. I would appreciate if someone could help me understand what > > is it asking me

Re: Need help to understand not the answer

2017-07-29 Thread MRAB
On 2017-07-29 20:16, new_to_c0ding wrote: Hello all, I have been scratching my head since morning but could not understand this quiz question. I would appreciate if someone could help me understand what is it asking me to do. I dont need the answer but just the right direction to look at. ###

Re: Need help to understand not the answer

2017-07-29 Thread Piet van Oostrum
new_to_c0ding writes: > Now as per instructions, class MITCampus(Campus) has (self, center_loc, > tent_loc = Location(0,0)) and it is mentioned that center_loc and tent_loc > are Location objects but when I code them as Locations, I get error from the > tester: > Traceback (most recent call l

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

2017-05-12 Thread Jason Friedman
> > >> The first section does not do what I think you want: a list with 7 > options. It makes a list with one option, then overwrites it with a new > list with one option, and so on. You want something like: > menu_list = [ > "O - open account" > "L - load details" > "D - display det

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

2017-05-12 Thread Jason Friedman
> > menu_list = ["O -open account"] > menu_list =["l - load details"] > menu_list =["D- display details"] > menu_list =["A - Make deposit"] > menu_list =["W- Make withdraw",] > menu_list =["S - save"] > menu_list =["Q - quit"] > > command = input("command:") > if command.upper() == "O": > open_() >

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

2017-05-12 Thread saisurya . ssa
On Saturday, December 12, 2015 at 2:35:29 PM UTC+5:30, Harbey Leke wrote: > Create a class called BankAccount > > .Create a constructor that takes in an integer and assigns this to a > `balance` property. > > .Create a method called `deposit` that takes in cash deposit amount and > updates the

Re: Need help with getting Key, Value out of dicts in lists

2017-04-10 Thread John Ralph
There are a number of ways to reorganise the data for the exclusive use of your script without affecting the original data. Is there a reason you can't or not allowed to do this? Regardless, here's some code that might make things a little easier. It operates on each balancer on the fly, redu

Re: Need help with getting Key, Value out of dicts in lists

2017-04-09 Thread Irv Kalb
OK, I did't know if you were able to re-organize the data. I know nothing about AWS load balancers, but it's unfortunate that the data is laid out in a way that makes dealing with it difficult. But it sounds like you have worked it out. Best of luck. Irv > On Apr 9, 2017, at 2:21 PM, Kento

Re: Need help with getting Key, Value out of dicts in lists

2017-04-09 Thread Kenton Brede
Thanks for the response Irv. On one level I'm glad to know that someone more knowledgeable than myself sees this data structure as difficult. :) I was thinking it was an easy problem to solve. Unfortunately that is the structure I have to use. The data comes from pulling back tag information on

Re: Need help with getting Key, Value out of dicts in lists

2017-04-09 Thread Peter Otten
Kenton Brede wrote: > This is an example of the data I'm working with. The key/value pairs may > come in any order. There are some keys like the 'Resource_group_id' key > and the 'Name' key which will always be present, but other lists may have > unique keys. > > alist = [[{u'Value': 'shibboleth

Re: Need help with getting Key, Value out of dicts in lists

2017-04-08 Thread Irv Kalb
[ Sorry, forgot the important stuff! ] What you want to do is tricky because your data structure is difficult to deal with. My guess is that it has to do with a misconception about how a Python dictionary works. Yes, it is a series of key/value pairs, but not the way you have it. It looks li

Re: Need help with getting Key, Value out of dicts in lists

2017-04-08 Thread Irv Kalb
> On Apr 8, 2017, at 5:55 PM, Kenton Brede wrote: > > This is an example of the data I'm working with. The key/value pairs may > come in any order. There are some keys like the 'Resource_group_id' key and > the 'Name' key which will always be present, but other lists may have > unique keys. >

Re: need help to get my python image to move around using tkinter

2016-11-18 Thread Thomas Grops via Python-list
thankyou so much, that is the exact help I required to put me in the right direction :D -- https://mail.python.org/mailman/listinfo/python-list

Re: need help to get my python image to move around using tkinter

2016-11-18 Thread Peter Otten
twgrops--- via Python-list wrote: > Hi I am new here and to python, > > I am currently studying towards my degree in computer science and have to > build a program but I have hit a brick wall. I am trying to make an image > move around the canvas. I can make a rectangle move using the following:

Re: Need help with coding a function in Python

2016-11-01 Thread Andrea D'Amore
On 31 October 2016 at 23:09, wrote: > http://imgur.com/a/rfGhK#iVLQKSW > How do I code a function that returns a list of the first n elements > of the sequence defined in the link? I have no idea! For those who didn't open the page (that you should have linked at least as direct link to the

Re: Need help with coding a function in Python

2016-10-31 Thread Larry Hudson via Python-list
On 10/31/2016 03:09 PM, devers.meetthebadger.ja...@gmail.com wrote: http://imgur.com/a/rfGhK#iVLQKSW How do I code a function that returns a list of the first n elements of the sequence defined in the link? I have no idea! So far this is my best shot at it (the problem with it is that the

Re: Need help with coding a function in Python

2016-10-31 Thread Steve D'Aprano
On Tue, 1 Nov 2016 09:09 am, devers.meetthebadger.ja...@gmail.com wrote: > http://imgur.com/a/rfGhK#iVLQKSW Why on earth are you posting a screen shot? Do you edit your code with Photoshop? As soon as you post an unnecessary screenshot, you cut the number of people willing and able to help you

Re: Need help with coding a function in Python

2016-10-31 Thread Paul Rubin
devers.meetthebadger.ja...@gmail.com writes: > http://imgur.com/a/rfGhK#iVLQKSW ... > So far this is my best shot at it (the problem with it is that the n > that i'm subtracting or adding in the if/else part does not represent > the element's position... Right, so can you figure out the element's

Re: Need help with coding a function in Python

2016-10-31 Thread MRAB
On 2016-10-31 22:09, devers.meetthebadger.ja...@gmail.com wrote: http://imgur.com/a/rfGhK#iVLQKSW How do I code a function that returns a list of the first n elements of the sequence defined in the link? I have no idea! So far this is my best shot at it (the problem with it is that the n t

Re: Need help in python program

2016-10-29 Thread Veek M
id_1, clk, val = foo_function() id_2, key, units, delay = bar_function() if id_1 == id_2: print id_1, clk, val, key, units, delay -- https://mail.python.org/mailman/listinfo/python-list

Re: need help for an assignment plz noob here

2016-10-18 Thread Sayth Renshaw
> > > Hello guys. so my assignment consists in creating a key generator so i can > > use it in later steps of my work. In my first step i have to write a > > function called key_generator that receives an argument, letters, that > > consists in a tuple of 25 caracters. The function returns a t

Re: need help for an assignment plz noob here

2016-10-18 Thread Kaur Männamaa
How exactly did you get the final product if you don't know how to get there? I'm sorry but what you are trying to do does not seem fair:) One hint: for loops PS generators are actually specific functions in Python: http://stackoverflow.com/questions/1756096/understanding-generators-in-python#1

Re: need help for an assignment plz noob here

2016-10-17 Thread Rob Gaddi
pedrorenato1...@gmail.com wrote: > Hello guys. so my assignment consists in creating a key generator so i can > use it in later steps of my work. In my first step i have to write a function > called key_generator that receives an argument, letters, that consists in a > tuple of 25 caracters. Th

Re: Need help for the print() function with a better order

2016-10-03 Thread breamoreboy
On Sunday, October 2, 2016 at 2:12:39 AM UTC+1, 38016...@gmail.com wrote: > I am trying to print a simple decision tree for my homework. > The answer must keep in this format: > > Top 7,4,0.95 > career gain = 100 > 1.Management 2, 3, 0.9709505944546686 > 2.Service 5, 1, 0.6500224216483

Re: Need help for the print() function with a better order

2016-10-02 Thread 380162267qq
在 2016年10月2日星期日 UTC-4下午1:05:58,Peter Pearson写道: > On Sat, 1 Oct 2016 18:12:29 -0700 (PDT), 38016226...@gmail.com wrote: > > I am trying to print a simple decision tree for my homework. > > The answer must keep in this format: > > > > Top 7,4,0.95 > > career gain = 100 > > 1.Management 2, 3, 0.9

Re: Need help for the print() function with a better order

2016-10-02 Thread Peter Pearson
On Sat, 1 Oct 2016 18:12:29 -0700 (PDT), 38016226...@gmail.com wrote: > I am trying to print a simple decision tree for my homework. > The answer must keep in this format: > > Top 7,4,0.95 > career gain = 100 > 1.Management 2, 3, 0.9709505944546686 > 2.Service 5, 1, 0.6500224216483541 >

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

2016-07-29 Thread livetemartin
On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, Harbey Leke wrote: > Create a class called BankAccount > > .Create a constructor that takes in an integer and assigns this to a > `balance` property. > > .Create a method called `deposit` that takes in cash deposit amount and > updates the bal

Re: Need help compiling Python-devel

2016-07-05 Thread Lawrence D’Oliveiro
On Wednesday, July 6, 2016 at 4:35:54 AM UTC+12, TM wrote: > > This option is not straight forward. There are too many dependencies. > Easier in Linux not so easy in AIX. POWER hardware? It might be easier and quicker to get Linux running on the machine, and figure it out there, than to try it u

Re: Need help compiling Python-devel

2016-07-05 Thread Michael Torrie
On 07/05/2016 10:35 AM, TM wrote: > This option is not straight forward. There are too many dependencies. > Easier in Linux not so easy in AIX. > > Is it possible to copy the python executable (ie the code below)? > # cp -p python python-devel What is this python-devel thing? You said you wanted

Re: Need help compiling Python-devel

2016-07-05 Thread TM
This option is not straight forward. There are too many dependencies. Easier in Linux not so easy in AIX. Is it possible to copy the python executable (ie the code below)? # cp -p python python-devel Thanks, Tony On Tue, Jul 5, 2016 at 12:12 PM, Dieter Maurer wrote: > TM wrote at 2016-7-5 11

Re: Need help compiling Python-devel

2016-07-05 Thread dieter
TM writes: > I have successfully compiled Python-2.7.12 on AIX 6.1 TL09, using steps > below. However I need the python-devel library/headers. How do I compile > Python, so that I can use this? The distinction between "python" and "python-devel" is not a Python notion but one of package manageme

Re: Need help in python program

2016-07-01 Thread Christian Gollwitzer
Am 01.07.16 um 12:26 schrieb Archana Sonavane: Hello Everyone, I am doing python code by using API. My first API giving fields - Itemid, clock and value second API giving fields - Itemid, key, units and delay using for loops for both API. Could you please tell me how to compare both id by usi

Re: Need help in python program

2016-07-01 Thread Bob Gailer
On Jul 1, 2016 6:30 AM, "Archana Sonavane" wrote: > > Hello Everyone, > > I am doing python code by using API. > > My first API giving fields - Itemid, clock and value > second API giving fields - Itemid, key, units and delay > > using for loops for both API. > > Could you please tell me how to co

Re: Need help understanding list structure

2016-05-03 Thread MRAB
On 2016-05-03 18:54, Dan Strohl via Python-list wrote: I added a __repr__ method at the end of the gedcom library like so: def __repr__(self): """ Format this element as its original string """ result = repr(self.level()) if self.pointer() != "": result += '

RE: Need help understanding list structure

2016-05-03 Thread Dan Strohl via Python-list
> I added a __repr__ method at the end of the gedcom library like so: > > def __repr__(self): > """ Format this element as its original string """ > result = repr(self.level()) > if self.pointer() != "": > result += ' ' + self.pointer() > result += ' '

Re: Need help understanding list structure

2016-05-03 Thread moa47401
I added a __repr__ method at the end of the gedcom library like so: def __repr__(self): """ Format this element as its original string """ result = repr(self.level()) if self.pointer() != "": result += ' ' + self.pointer() result += ' ' + self.tag()

RE: Need help understanding list structure

2016-05-03 Thread Dan Strohl via Python-list
Take a look at the docs for print() https://docs.python.org/3.5/library/functions.html#print str() https://docs.python.org/3.5/library/stdtypes.html#str repr() https://docs.python.org/3.5/library/functions.html#repr When you do "print(object)", python will run everything through str() and outp

Re: Need help understanding list structure

2016-05-03 Thread moa47401
At the risk of coming across as a complete dunder-head, I think my confusion has to do with the type of data the library returns in the list. Any kind of text or integer list I manually create, doesn't do this. See my questions down below at the end. If I run the following statements on the lis

Re: Need help understanding list structure

2016-05-03 Thread Chris Angelico
On Tue, May 3, 2016 at 11:21 PM, wrote: > Thanks for the replies. I definitely need a better understanding of " object at ADDRESS>" when using Python objects. So far no luck with web > searches or my Python books. Could someone point (no pun intended) me to a > good resource? > > Not that it ma

Re: Need help understanding list structure

2016-05-03 Thread moa47401
Thanks for the replies. I definitely need a better understanding of "" when using Python objects. So far no luck with web searches or my Python books. Could someone point (no pun intended) me to a good resource? Not that it matters, but the reason I got off track is there are pointers within m

Re: Need help understanding list structure

2016-05-02 Thread Ben Finney
moa47...@gmail.com writes: > Am I correct in assuming that parsing a large text file would be > quicker returning pointers instead of strings? What do you mean by “return a pointer”? Python doesn't have pointers. In the Python language, a container type (such as ‘set’, ‘list’, ‘dict’, etc.) cont

Re: Need help understanding list structure

2016-05-02 Thread Michael Torrie
On 05/02/2016 04:33 PM, moa47...@gmail.com wrote: > Yes, that does help. You're right. The author of the library I'm > using didn't implement either a __str__ or __repr__ method. Am I > correct in assuming that parsing a large text file would be quicker > returning pointers instead of strings? I've

Re: Need help understanding list structure

2016-05-02 Thread moa47401
> When Python's "print" statement/function is invoked, it will print the > textual representation of the object according to its class's __str__ or > __repr__ method. That is, the print function prints out whatever text > the class says it should. > > For classes which don't implement a __str__

Re: Need help understanding list structure

2016-05-02 Thread Erik
On 02/05/16 22:30, moa47...@gmail.com wrote: Can someone help me understand why or under what circumstances a list shows pointers instead of the text data? When Python's "print" statement/function is invoked, it will print the textual representation of the object according to its class's __str

Re: need help With understanding

2016-03-22 Thread Terry Reedy
On 3/22/2016 8:49 AM, Bob Gailer wrote: On Mar 21, 2016 5:40 PM, "Peter Pearson" wrote: i have currently installed Python, What version, on what system? and im Reading this book which tells me i have to have IDLE, but i cant find it on my computer. do i need to install it? and if so where

Re: need help With understanding

2016-03-22 Thread Bob Gailer
On Mar 21, 2016 5:40 PM, "Peter Pearson" wrote: > > On Mon, 21 Mar 2016 11:18:57 +, mohamed mohamud wrote: > > hey im new at Learning Python, and i have an issue which i would like > > som help With. > > > > i have currently installed Python, and im Reading this book which > > tells me i have

Re: need help With understanding

2016-03-21 Thread Peter Pearson
On Mon, 21 Mar 2016 11:18:57 +, mohamed mohamud wrote: > hey im new at Learning Python, and i have an issue which i would like > som help With. > > i have currently installed Python, and im Reading this book which > tells me i have to have IDLE, but i cant find it on my computer. do i > need to

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

2016-03-19 Thread Ben Finney
anyanwuchukwueme...@gmail.com writes: > What was the final answer for the create class bankaccount question? The final answer is: homework entails that you do the work, not us. -- \ “I tell you the truth: some standing here will not taste death | `\before they see the Son of Man com

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

2016-03-19 Thread Mark Lawrence
On 19/03/2016 21:40, anyanwuchukwueme...@gmail.com wrote: What was the final answer for the create class bankaccount question? 42. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listi

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

2016-03-19 Thread Joel Goldstick
On Sat, Mar 19, 2016 at 5:40 PM, wrote: > What was the final answer for the create class bankaccount question? > -- > https://mail.python.org/mailman/listinfo/python-list > Was it 14? -- Joel Goldstick http://joelgoldstick.com/ http://cc-baseballstat

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

2016-03-19 Thread anyanwuchukwuemeka9
What was the final answer for the create class bankaccount question? -- https://mail.python.org/mailman/listinfo/python-list

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

2016-03-13 Thread BartC
On 14/03/2016 00:17, chetam.che...@gmail.com wrote: Create a class called BankAccount Create a constructor that takes in an integer and assigns this to a `balance` property. Create a method called `deposit` that takes in cash deposit amount and updates the balance accordingly.

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

2016-03-13 Thread Ben Finney
chetam.che...@gmail.com writes: > Hello, I have this same assignment to create Bank account and I am new > to python. Welcome to Python! If you have an assignment, that implies you are working through a course and you have received enough teaching to attempt the task yourself. > please help me o

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

2016-03-13 Thread Chris Angelico
On Mon, Mar 14, 2016 at 11:57 AM, MRAB wrote: > On 2016-03-14 00:40, Chris Angelico wrote: >> >> On Mon, Mar 14, 2016 at 11:17 AM, wrote: >>> >>> Hello, I have this same assignment to create Bank account and I am new to >>> python. please help me out. >> >> >> The best help you can get is: >> >>

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

2016-03-13 Thread MRAB
On 2016-03-14 00:40, Chris Angelico wrote: On Mon, Mar 14, 2016 at 11:17 AM, wrote: Hello, I have this same assignment to create Bank account and I am new to python. please help me out. The best help you can get is: DO THE WORK. You can't simply ask for help without doing any work first.

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

2016-03-13 Thread Chris Angelico
On Mon, Mar 14, 2016 at 11:17 AM, wrote: > Hello, I have this same assignment to create Bank account and I am new to > python. please help me out. The best help you can get is: DO THE WORK. You can't simply ask for help without doing any work first. If you want to learn how to write Python co

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

2016-03-13 Thread chetam . chetzy
On Friday, January 8, 2016 at 11:38:11 AM UTC-5, acushl...@gmail.com wrote: > On Wednesday, 30 December 2015 19:21:32 UTC+1, Won Chang wrote: > > i have these task which i believe i have done well to some level > > > > Create a function get_algorithm_result to implement the algorithm below > > >

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

2016-03-05 Thread Albert Visser
On Sat, 05 Mar 2016 08:41:39 +0100, wrote: On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, Harbey Leke wrote: Create a class called BankAccount .Create a constructor that takes in an integer and assigns this to a `balance` property. .Create a method called `deposit` that takes in cash

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

2016-03-05 Thread Peter Otten
lucasfrank...@gmail.com wrote: > On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, Harbey Leke wrote: >> Create a class called BankAccount >> >> .Create a constructor that takes in an integer and assigns this to a >> `balance` property. >> >> .Create a method called `deposit` that takes in cas

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

2016-03-05 Thread lucasfrank254
On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, Harbey Leke wrote: > Create a class called BankAccount > > .Create a constructor that takes in an integer and assigns this to a > `balance` property. > > .Create a method called `deposit` that takes in cash deposit amount and > updates the bal

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

2016-01-14 Thread kasale . jacktone
hello lee so what was the final answer u gave for the following question.. reate a constructor that takes in an integer and assigns this to a `balance` property. Create a method called `deposit` that takes in cash deposit amount and updates the balance accordingly. Create a method called `withdra

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

2016-01-13 Thread Andrew Ongko
On Jan 13, 2016 10:25 PM, "Tim Golden" wrote: > > On 13/01/2016 14:43, Joel Goldstick wrote: > > On Wed, Jan 13, 2016 at 8:37 AM, Chris Angelico wrote: > > > >> On Thu, Jan 14, 2016 at 12:28 AM, wrote: > >>> please kindly inbox me the solution > >>> > >>> thanks in anticipation of your kind ges

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

2016-01-13 Thread Tim Golden
On 13/01/2016 14:43, Joel Goldstick wrote: > On Wed, Jan 13, 2016 at 8:37 AM, Chris Angelico wrote: > >> On Thu, Jan 14, 2016 at 12:28 AM, wrote: >>> please kindly inbox me the solution >>> >>> thanks in anticipation of your kind gesture >>> >>> >>> sammhielade...@gmail.com >> >> Don't you get

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

2016-01-13 Thread Joel Goldstick
On Wed, Jan 13, 2016 at 8:37 AM, Chris Angelico wrote: > On Thu, Jan 14, 2016 at 12:28 AM, wrote: > > please kindly inbox me the solution > > > > thanks in anticipation of your kind gesture > > > > > > sammhielade...@gmail.com > > Don't you get it? You are not going to be given the code. All yo

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

2016-01-13 Thread Chris Angelico
On Thu, Jan 14, 2016 at 12:28 AM, wrote: > please kindly inbox me the solution > > thanks in anticipation of your kind gesture > > > sammhielade...@gmail.com Don't you get it? You are not going to be given the code. All you're doing is making us resent your presence, which means you're less like

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

2016-01-13 Thread phatsammhiel
please kindly inbox me the solution thanks in anticipation of your kind gesture sammhielade...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

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

2016-01-13 Thread phatsammhiel
please assist with the solution on this p h a t s a m m hi e l...@gmail.com thanks -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   8   9   10   >