Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,201,381 members, 7,978,225 topics. Date: Thursday, 17 October 2024 at 10:32 PM |
Nairaland Forum / Science/Technology / Programming / A Thread For Tutorial On Python Programming (144715 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) ... (23) (24) (25) (26) (27) (28) (29) ... (33) (Reply) (Go Down)
Re: A Thread For Tutorial On Python Programming by Hackathon(m): 3:41am On Nov 16, 2020 |
IN SEARCH OF NORD VPN? � LOOK NO FURTHER, IT'S MADE FREE � SEARCH "NORDHUBBOT" ON TELEGRAM AND EXPLORE � DON'T BE GREEDY...TELL YOUR FRIENDS TOO |
Re: A Thread For Tutorial On Python Programming by Excallibur(m): 5:06pm On Nov 17, 2020 |
Please help, I am trying to get a row in this matrix but I keep getting empty as the result of this code matrix=[ [5, 6, 7], [8, 3, 1], [9, 3, 5] ] for items in matrix: for rows in items: if items==items[1]: print(rows) 1 Like |
Re: A Thread For Tutorial On Python Programming by Semtu(m): 5:43pm On Nov 17, 2020 |
Excallibur: Why not just use just convert it to a numpy array and easily use indexing rather than these loop statements. 1 Like |
Re: A Thread For Tutorial On Python Programming by Excallibur(m): 6:18pm On Nov 17, 2020 |
Semtu:lol na begginer I be , still trying to master the basics |
Re: A Thread For Tutorial On Python Programming by Semtu(m): 8:29pm On Nov 17, 2020 |
Excallibur: I know, I'm just giving you an easier alternative... You'll still use numpy alot as you progress, so it's better you start getting used to it now. 1 Like 1 Share |
Re: A Thread For Tutorial On Python Programming by bovage(m): 6:29pm On Nov 18, 2020 |
Excallibur: All of the rows or just one. If just one which one? If you want to get all of the rows, do this for row in matrix: print(row) |
Re: A Thread For Tutorial On Python Programming by mikael4me: 6:44pm On Nov 18, 2020 |
Teejay13:I am more interested in using python for datascience so the best environment for me is Jupyter notebook launched on my chrome browser. The best IDE you can work in python for other purposes like web development using Django, Modeling, and building Modules is pycharm. You can download the cracked version from getintopc.com. Windows don't come with python preinstalled so you have do download and install the python version you want from the web, after install you need to copy the path where your python was install and paste it in the environmental variable path. Save and you are good to go with calling python from the cmd, pycharm or any IDE of your choice. There are plenty videos on YouTube that can help you with this. Cheers 1 Like |
Re: A Thread For Tutorial On Python Programming by Missionaire: 10:20am On Nov 19, 2020 |
loiusdthird:Hello loiusdthird, am sorry for responding to you this late. I'm just a beginner (python) programmer and I haven't even be steady sef. I'm after a lot of back and forth and trying other stuffs just trying to settle on Python. Yesterday night, I tried running "Hello world" on sublime but the message wer I see eh, have been on it since yesterday night till this morning. However, if you still want to contact me, you can go ahead. I'm even looking for a learning partner sef because this journey is not easy to even go solo. I have some materials i can also share with you. |
Re: A Thread For Tutorial On Python Programming by Missionaire: 10:25am On Nov 19, 2020 |
So I tried running "hello world" yesterday night but I keep getting this message: [WinError 2] The system cannot find the file specified [cmd: ['python3', '-u', 'C:\\Users\\Okporghe\\AppData\\Roaming\\Sublime Text 3\\Packages\\User\\Python3.sublime-build']] [dir: C:\Users\Okporghe\AppData\Roaming\Sublime Text 3\Packages\User] [path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Brackets\command;C:\Users\Okporghe\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Okporghe\AppData\Local\Programs\Python\Python39\;C:\Users\Okporghe\AppData\Local\Programs\Python\Launcher\;C:\Users\Okporghe\AppData\Local\Microsoft\WindowsApps;C:\Users\Okporghe\AppData\Local\Programs\Microsoft VS Code\bin;/opt/node_moduler/bin/] [Finished] What could be the problem and possible solutions?? |
Re: A Thread For Tutorial On Python Programming by naijasensei: 1:24pm On Nov 19, 2020 |
Missionaire: What are you trying to do? Are you trying to run a python script through Sublime text? If yes, how did you install Python on your system? |
Re: A Thread For Tutorial On Python Programming by naijasensei: 1:35pm On Nov 19, 2020 |
Excallibur: I believe you should type the following: for items in matrix: for rows in items: # To print the second row if items == matrix[1]: print(rows) 2 Likes
|
Re: A Thread For Tutorial On Python Programming by Missionaire: 7:42pm On Nov 19, 2020 |
naijasensei: Yes I'm trying to run a python script through Sublime TE. I installed Python from the site. 3.9, the latest version. I've even edited the new build system in Sublime TE. |
Re: A Thread For Tutorial On Python Programming by loiusdthird(m): 8:17pm On Nov 19, 2020 |
Missionaire:alright thanks |
Re: A Thread For Tutorial On Python Programming by Missionaire: 8:23pm On Nov 19, 2020 |
Re: A Thread For Tutorial On Python Programming by loiusdthird(m): 8:41pm On Nov 19, 2020 |
Missionaire:I have removed d number |
Re: A Thread For Tutorial On Python Programming by naijasensei: 9:39pm On Nov 19, 2020 |
Missionaire: First ensure python is working on your system. 1. Go to your list of installed apps, look for Python 3.9 IDLE, launch it. If it opens up go to step 2. 2. Go to your command line, or simply click on Run then type in cmd. At the command line prompt type in python then press enter. If you get an error, type in python3 the press enter. If you get an error again, then it is very likely you did not add your python installation to the Windows PATH variable. Perform the tasks above, then let me know the outcome. |
Re: A Thread For Tutorial On Python Programming by Semtu(m): 11:43am On Nov 20, 2020 |
Missionaire: Run 'python --version' from terminal to check if python was properly installed |
Re: A Thread For Tutorial On Python Programming by HELLASJ(m): 10:51pm On Nov 20, 2020 |
following |
Re: A Thread For Tutorial On Python Programming by Luckybelt: 2:49pm On Nov 23, 2020 |
I m following a Python tutorial using Visual studio code on udemy. i only have the main code area on top, i cant get the two lower windows setup and the guy uses it a lot. How can i do it ? see my page
|
Re: A Thread For Tutorial On Python Programming by Semtu(m): 5:47pm On Nov 23, 2020 |
Luckybelt: Just toggle your terminal, press ctrl + shift + p, then in the search bar, search for "toggle integrated terminal" and click on it And seems your tutor is using Bash with vs code. So you'll need to install Bash and add the path to VS code settings.json, then toggle your bash terminal as I've described above. You can also make use of your command prompt terminal if you are confused of what I've said above 1 Like |
Re: A Thread For Tutorial On Python Programming by Missionaire: 7:53am On Nov 24, 2020 |
Semtu: I've done that and it was properly installed. I now use VS code and Pycharm. Meanwhile, some of the Udemy courses I downloaded have some videos in them that do not play, play for a while and stops and have no sound. What could be the problem and possible solutions?? |
Re: A Thread For Tutorial On Python Programming by Engineersolutio: 12:37am On Nov 25, 2020 |
Chat me on whatsapp if you know how to hack Facebook account via:+1 310-421-1661 |
Re: A Thread For Tutorial On Python Programming by Teejay13(m): 6:45pm On Nov 26, 2020 |
mikael4me: Thanks for the guide. 1 Like 1 Share |
Re: A Thread For Tutorial On Python Programming by Aimore: 8:13am On Nov 27, 2020 |
Thanks for this post. Want to learn the python Training at an affordable cost reach us. Python Training in Chennai |
Re: A Thread For Tutorial On Python Programming by Excallibur(m): 11:07am On Dec 02, 2020 |
Is it safe to refer to mobile games that require internet connection as web applications 1 Like |
Re: A Thread For Tutorial On Python Programming by ositadiima1: 1:35pm On Dec 08, 2020 |
To my fellow pythonistas food don done o. Algorithmic Trading with Python – Free 4-hour Course With Example Code Repos https://www.youtube.com/watch?v=xfzGZB4HhEE 2 Likes |
Re: A Thread For Tutorial On Python Programming by maigemuu: 6:15pm On Dec 08, 2020 |
While I have tried Udemy paid and free. I got much solace in www.educba.com They have all the courses listed and have about 100projects (solved) that you can re-use as yours. The videos are well detailed and suitable for all newbies irrespective of your level. It is an all in one inclusive course that covers all courses and just all you need to be proficient in data analysis, analytics and visuals. The projects are what would convince anyone about your knowledge of subject and get you up and running. Incidentally, *Educba* is the largest site in Asia and like we all know, the Indians are excellent on this. I feel you should consider the free resources. They have free samples you could test. Should you wish to get the course, I can help you with a *blackhat coupon* code to save you cost. DM me to learn more. |
Re: A Thread For Tutorial On Python Programming by Nobody: 12:08pm On Dec 12, 2020 |
naijasensei:And this is cleaner matrix = [ [1,2,3], [4,5,6], [7,8,9] ] for i, items in enumerate(matrix): if i ==2: print(matrix[i]) if you want to print every item of the 3x3 matrix, do this for i, items in enumerate(matrix): for i, value in enumerate(items): print(items[i]) @Excallibur 2 Likes 1 Share |
Re: A Thread For Tutorial On Python Programming by naijasensei: 5:00pm On Dec 12, 2020 |
onecoder: Much cleaner, thanks. 1 Like |
(1) (2) (3) ... (23) (24) (25) (26) (27) (28) (29) ... (33) (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. 48 |