Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,214 members, 7,957,482 topics. Date: Tuesday, 24 September 2024 at 01:27 PM |
Nairaland Forum / Science/Technology / Programming / A Thread For Tutorial On Python Programming (143737 Views)
Opportunity To Earn Little Pay Working On Python Assignment. / I want to solve question on python basic / I Have A Very Import Question On Python Syntax (2) (3) (4)
(1) (2) (3) ... (20) (21) (22) (23) (24) (25) (26) ... (32) (Reply) (Go Down)
Re: A Thread For Tutorial On Python Programming by FunctionX(m): 1:07pm On Aug 30, 2020 |
SirMichael1:I believe that the difference is quite visible based on the fact that some IDE supports plugins which can make your programming easier and faster. Take for an instance the intellicode plugin: it can help in completing codes for you and even variable names and functions. Try using vscode, and I doubt you'll ever go back to Python native IDLE 1 Like 1 Share |
Re: A Thread For Tutorial On Python Programming by SirMichael1: 3:38pm On Aug 30, 2020 |
FunctionX:Thanks. I'll just download anaconda which has vs code and jupyter. |
Re: A Thread For Tutorial On Python Programming by SirMichael1: 3:56pm On Aug 30, 2020 |
dannyCodes:You're correct sir. It doesn't support multiple tabs but i find that it runs codes even without spaces between operators but vs code doesn't. |
Re: A Thread For Tutorial On Python Programming by naijasensei: 8:42pm On Aug 30, 2020 |
dannyCodes: I totally agree with you. The IDLE is some sort of a scratch pad, a workbook where you test out short scripts, it is also awkward to use. VS Code and sublime text are way better - personally, VS Code is my go to text editor because of its numerous plugins and configuration options. |
Re: A Thread For Tutorial On Python Programming by dannyCodes: 9:58pm On Sep 01, 2020 |
SirMichael1:Actually, vscode does. |
Re: A Thread For Tutorial On Python Programming by crttraining: 10:26am On Sep 08, 2020 |
Thanks for sharing information, excellent info , keep continue this.... https://www.gobrainwiz.in/ |
Re: A Thread For Tutorial On Python Programming by galax1: 5:39pm On Sep 08, 2020 |
I promise I will follow every step |
Re: A Thread For Tutorial On Python Programming by jidejado(m): 7:51pm On Sep 10, 2020 |
HELP!!!! I am using pydroid 3 on my phone for Python practice. But anytime I define a function and I call the rest......it usually shows me a blank result even after putting in my variables...what may be the cause |
Re: A Thread For Tutorial On Python Programming by Greenishland(f): 9:20pm On Sep 10, 2020 |
Learn Android App Development here https://www.nairaland.com/6064647/tutorial-android-app-development#93790155 |
Re: A Thread For Tutorial On Python Programming by peacettw: 4:09pm On Sep 11, 2020 |
avalon7: I won't give my like. Keep the course 3 Likes 1 Share |
Re: A Thread For Tutorial On Python Programming by TypeSafe: 9:47pm On Sep 11, 2020 |
nappy760: It is possible to decompile Python binaries (.pyc and .pyo) at Decompiler.com. |
Re: A Thread For Tutorial On Python Programming by avalon7(m): 1:50pm On Sep 12, 2020 |
peacettw: Ahah when did i ask for your life biko ?? |
Re: A Thread For Tutorial On Python Programming by peacettw: 3:18pm On Sep 12, 2020 |
avalon7: You asked for likes as pre-requisite to a course. I thought that to be incredibly childish 1 Like |
Re: A Thread For Tutorial On Python Programming by Seanixking: 11:32am On Sep 13, 2020 |
Paapii3d:please at the end of the video what did you type in that visual and git? is it ns or Ms didn't hear that well |
Re: A Thread For Tutorial On Python Programming by Abra4real(m): 9:53pm On Sep 16, 2020 |
Missionaire: I ran the code on "ii" and it runs fine. |
Re: A Thread For Tutorial On Python Programming by naijasensei: 9:56pm On Sep 16, 2020 |
jidejado: Provide screenshots of your problems, so that you can get assistance. |
Re: A Thread For Tutorial On Python Programming by jidejado(m): 10:22am On Sep 17, 2020 |
naijasensei: Please help me check..it's just showing program finished..no results
|
Re: A Thread For Tutorial On Python Programming by kenomobola(m): 5:17pm On Sep 17, 2020 |
jidejado: Try this instead, study it and note the indentation:
|
Re: A Thread For Tutorial On Python Programming by jidejado(m): 8:10am On Sep 18, 2020 |
Thanks....can u also help me with this..don't know what's wrong with the line of codes
|
Re: A Thread For Tutorial On Python Programming by kenomobola(m): 12:31pm On Sep 18, 2020 |
jidejado: Hi, your major problem is indentation, you are not using your indentation properly. Indentation is used to group code blocks. From your code, it seems you want to see how many combinations of older and younger siblings you can have in 10000 tries with emphasis on the number of girls. I won't solve it for you because I want you to practice and understand. Here is the pseudocode, convert it to python.
Note this is not actual code, read it, interprete it, then write yours. As for the second program you posted, personally I will advice you to stay away from advanced topics like pandas and dataframes until you are comfortable running simpler programs. |
Re: A Thread For Tutorial On Python Programming by Semtu(m): 7:02pm On Sep 19, 2020 |
jidejado: You are making your codes ambiguous and not printing properly. You can do it like this dfme = pd.dataframe(d).mean() Then print (dfme) dfmed= pdf.dataframe(d).median() Print(dfmed) Whatever it is you want to print should be in a parenthesis unlike the return function |
Re: A Thread For Tutorial On Python Programming by Najdorf: 10:08pm On Sep 19, 2020 |
jidejado:First image: 1. You didn't import random. 2. Your function returns a value on the second line making the rest of the function redundant. 3.8th and 9th lines could lead to recursion issues. |
Re: A Thread For Tutorial On Python Programming by Gokoyer1401: 6:47am On Sep 24, 2020 |
Hi guys, I have javascript coding to do. Anyone that wanna help me with it, should quote me abeg. |
Re: A Thread For Tutorial On Python Programming by ositadima1(m): 2:27pm On Sep 24, 2020 |
Make I post small code way I write this morning. He get site way get some PDF file way I won analyze but d PDF plenty and I no get strength to begin dey download am one at a time. So I write code for am. import requests import bs4 import os res = requests.get('http://www.nse.com.ng/market-data/other-market-information/foreign-portfolio-investment-report') #to grab d site HTML res.status_code == requests.codes.ok #to make sure wahala no dey mySoup = bs4.BeautifulSoup(res.text, 'html.parser') #to parse the HTML elem = mySoup.select('td:nth-child(2) > a:nth-child(1)') # I use CSS selector to locate all d download links linNse = 'http://www.nse.com.ng' fileLis = [] # returns a list contents within the directory #In case I download halfway this code nah to keep track for file in os.listdir(r'C:\Users\ounegbe\AppData\Desktop\work\python\WPy32-3740 old\notebooks\Stock Tracker\Domestic and FPI Report'): fileLis.append(file) for ele in elem: test2 = ele.getText() + '.pdf' if test2 not in fileLis: repPdf = ele.get('href') repNse = linNse + '%20'.join(repPdf.split(' ')) #I do small text formatting make the link pure print(ele.getText()) #make I dey see wating dey happen test = 0 while test == 0: try: res1 = requests.get(repNse) test = 1 except: print('Bad') imageFile = open(os.path.join('Domestic and FPI Report', os.path.basename(ele.getText()+'.pdf')),'wb') #U go create the folder manually first for chunk in res1.iter_content(100000): imageFile.write(chunk) imageFile.close() else: print(ele.getText()+'exists') D thing pure and him dey work wella. I love python, he too much. 2 Likes |
Re: A Thread For Tutorial On Python Programming by llade(m): 8:29pm On Sep 25, 2020 |
Am in wanna ace this python language. |
Re: A Thread For Tutorial On Python Programming by Nobody: 10:41pm On Sep 25, 2020 |
Hmm. Do you have 1,200 naira? Then send me text on 07032993652 to know how you can make over 2,000,000 naira in six months with our company. Thanks. |
Re: A Thread For Tutorial On Python Programming by muthm: 8:59am On Sep 26, 2020 |
This is excellent. I have Python 3 lessons on my blog and youtube channel too. |
Re: A Thread For Tutorial On Python Programming by shgenius123: 10:49pm On Oct 01, 2020 |
I'll need this. thanks in advance avalon7: |
Re: A Thread For Tutorial On Python Programming by Hendris(m): 5:15am On Oct 03, 2020 |
Do you have a smart TV or andriod and iPhones? Subscribing to Netflix for Nigerians has been made easier, I sell Netflix Premium accounts at a very affordable price and I have accounts ranging from 1month to 2year subscription fully paid.. 1month is 1500 3months is 4k 1year us 8k Drop your WhatsApp number if you are interested or contact me on 081...311..231..93 |
(1) (2) (3) ... (20) (21) (22) (23) (24) (25) (26) ... (32) (Reply)
Chronicle Of A Data Scientist/analyst / I Want To Learn Programming. Which Language Should I Start With?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 45 |