₦airaland Forum

Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,317,735 members, 5,108,910 topics. Date: Wednesday, 21 August 2019 at 11:27 PM

A Thread For Tutorial On Python Programming - Programming (10) - Nairaland

Nairaland Forum / Science/Technology / Programming / A Thread For Tutorial On Python Programming (30189 Views)

I want to solve question on python basic / I Have A Very Import Question On Python Syntax / Who Has Books On Python Programming Hard Copy For Sale (2) (3) (4)

(1) (2) (3) ... (7) (8) (9) (10) (Reply) (Go Down)

Re: A Thread For Tutorial On Python Programming by zone51: 8:10pm On Aug 10
If you find mastering the code difficult, try the GUI program Tkinter
It makes work easier when building desktop apps, I'm still trying to understand how it can be used for Web apps. lipsrsealed
Re: A Thread For Tutorial On Python Programming by pgbamane: 11:29am On Aug 13
Learn here "Different flavors of Python"

https://www.codebread.co.in/2019/07/flavors-of-python.html
Re: A Thread For Tutorial On Python Programming by martinz1: 3:12pm On Aug 13
benob:
To learn python programming for starters. What's the best laptop to buy
Specs and brand
Thanks
Any good lappy can do
Re: A Thread For Tutorial On Python Programming by idris01(m): 10:05pm On Aug 14
Am an experienced person buy still learning and a teaching staff of an institution in Nigeria


Kindly add me to educative programming fora.
My name is Abdulhameed idris
WhatsApp: 08026248258
Interest: web technology, Java, cpp, c# and python.
Re: A Thread For Tutorial On Python Programming by Vindica: 11:52am On Aug 17
Can't run my first program, I have this issue

Re: A Thread For Tutorial On Python Programming by martinz1: 2:25pm On Aug 18
Vindica:
Can't run my first program, I have this issue
The file doesn't exist, maybe directory synthax error
Re: A Thread For Tutorial On Python Programming by Udiee: 9:38am On Aug 19
The Decagon Program is now accepting applications.


The times are changing. We’re creating our own “silicon valley”. if you don’t get in, you’ll be left out.

That’s while you should apply for the Decagon Software Development Programme for Nigerians.


About Decagon

Decagon is on a mission to help high potential Nigerians contribute meaningfully through technology. They transform fast learners into world-class software developers in just six months and connect them to job opportunities locally and abroad. Their platform enables the brightest young Nigerians to not only take advantage of the new digital economy but to actively lead and shape emerging opportunities.

What is the Decagon Program?

An in-person, on-site learning experience that transforms you into a capable software engineer in 6 months. The program takes care of everything in order to ensure you only focus on learning, thus making you a well-rounded engineer with broad technical knowledge and deep problem-solving skills.

This is what you get:

An intensive 6-month full stack development training, at no upfront cost.

During the program, you will get great accommodation within proximity of the training centre, with feeding included.

Brand new laptop, with all necessary professional software, installed.

Steady power supply at the training centre and at the residence.

Monthly stipend to meet other basic needs.

After the program, you will get a job placement with one of the amazing organizations that hire from Decagon including Kobo360, Terragon, Flutterwave, Seamfix, ROAM, Groove, Gokada, Sterling Bank, Stanbic Bank, Access Bank, Opera, Zonetech Park and so on.
Re: A Thread For Tutorial On Python Programming by Ridwan1821: 11:35am On Aug 19
Udiee:
The Decagon Program is now accepting applications.


The times are changing. We’re creating our own “silicon valley”. if you don’t get in, you’ll be left out.

That’s while you should apply for the Decagon Software Development Programme for Nigerians.


About Decagon

Decagon is on a mission to help high potential Nigerians contribute meaningfully through technology. They transform fast learners into world-class software developers in just six months and connect them to job opportunities locally and abroad. Their platform enables the brightest young Nigerians to not only take advantage of the new digital economy but to actively lead and shape emerging opportunities.

What is the Decagon Program?

An in-person, on-site learning experience that transforms you into a capable software engineer in 6 months. The program takes care of everything in order to ensure you only focus on learning, thus making you a well-rounded engineer with broad technical knowledge and deep problem-solving skills.

This is what you get:

An intensive 6-month full stack development training, at no upfront cost.

During the program, you will get great accommodation within proximity of the training centre, with feeding included.

Brand new laptop, with all necessary professional software, installed.

Steady power supply at the training centre and at the residence.

Monthly stipend to meet other basic needs.

After the program, you will get a job placement with one of the amazing organizations that hire from Decagon including Kobo360, Terragon, Flutterwave, Seamfix, ROAM, Groove, Gokada, Sterling Bank, Stanbic Bank, Access Bank, Opera, Zonetech Park and so on.
How much is the tution fee?
Re: A Thread For Tutorial On Python Programming by sylve11: 4:47pm On Aug 20
i lost my password, back up phrase to my bitcoin wallet where i have over a thousand dollars due to fire outbreak. who can help me recover it will get 30% of the funds. sad cool
Re: A Thread For Tutorial On Python Programming by cochtrane: 5:24am
I wrote a script to check the posters on this thread and their respective number of posts.

import requests
from bs4 import BeautifulSoup
from plotly.graph_objects import Bar, Layout, Figure

def gethtmlcontent(url):
response = requests.get(url, headers={'User-Agent': 'Mozilla/5.0'})
html = response.content
soup = BeautifulSoup(html)
return soup

users = []
for i in range(10):
url = 'https://www.nairaland.com/4945611/thread-tutorial-python-programming/' + str(i)
print(f"Downloading: {url}" )
table = gethtmlcontent(url).find('table', attrs={'summary': 'posts'})
for row in table.findAll('tr'):
for user in row.findAll('a', attrs={'class': 'user'}):
users.append(user.text)

userdict = {}
for user in users:
if user in userdict:
userdict[user] += 1
else:
userdict[user] = 1

y_values = list(userdict.keys())
x_values = list(userdict.values())
data = [Bar(x=x_values, y=y_values, orientation='h')]

x_axis_config = {'title': 'POST FREQUENCY', 'dtick': 1}
y_axis_config = {'title': 'USERS', 'dtick': 1, 'tickmode': 'linear'}
my_layout = Layout(title='Post Frequency per User on Thread',
xaxis=x_axis_config, yaxis=y_axis_config, bargap=0.5)
fig = Figure({'data': data, 'layout': my_layout})
fig.update_traces(marker_color='rgb(158,202,225)', marker_line_color='rgb(8,48,107)',
marker_line_width=1.5, opacity=0.6)
fig.update_layout(autosize=False, width=800, height=2000)
fig.show(renderer='browser')

2 Likes

Re: A Thread For Tutorial On Python Programming by nappy760(m): 9:50pm
Wow
Re: A Thread For Tutorial On Python Programming by nappy760(m): 9:52pm
cochtrane:
I wrote a script to check the posters on this thread and their respective number of posts.

import requests
from bs4 import BeautifulSoup
from plotly.graph_objects import Bar, Layout, Figure

def gethtmlcontent(url):
response = requests.get(url, headers={'User-Agent': 'Mozilla/5.0'})
html = response.content
soup = BeautifulSoup(html)
return soup

users = []
for i in range(10):
url = 'https://www.nairaland.com/4945611/thread-tutorial-python-programming/' + str(i)
print(f"Downloading: {url}" )
table = gethtmlcontent(url).find('table', attrs={'summary': 'posts'})
for row in table.findAll('tr'):
for user in row.findAll('a', attrs={'class': 'user'}):
users.append(user.text)

userdict = {}
for user in users:
if user in userdict:
userdict[user] += 1
else:
userdict[user] = 1

y_values = list(userdict.keys())
x_values = list(userdict.values())
data = [Bar(x=x_values, y=y_values, orientation='h')]

x_axis_config = {'title': 'POST FREQUENCY', 'dtick': 1}
y_axis_config = {'title': 'USERS', 'dtick': 1, 'tickmode': 'linear'}
my_layout = Layout(title='Post Frequency per User on Thread',
xaxis=x_axis_config, yaxis=y_axis_config, bargap=0.5)
fig = Figure({'data': data, 'layout': my_layout})
fig.update_traces(marker_color='rgb(158,202,225)', marker_line_color='rgb(8,48,107)',
marker_line_width=1.5, opacity=0.6)
fig.update_layout(autosize=False, width=800, height=2000)
fig.show(renderer='browser')
you


Super cool

(1) (2) (3) ... (7) (8) (9) (10) (Reply)

Ethical Hackers / OAU Engineering Students Build 'HUMANE' A Software For The Visually-impaired / Astro Programming Language 0.2 (indefinite release)

(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: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Nairaland - Copyright © 2005 - 2019 Oluwaseun Osewa. All rights reserved. See How To Advertise. 74
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.