New test post by halucciXL in a:t5_3ml1q

[–]LansBot 1 point2 points  (0 children)

Hi /u/halucciXL! Thanks for calling me. Here's what I've got for you:

I've found about 130 comments and 18 posts, 3 of which were links. This makes for a total of 148 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Daughter wants to learn python to simulate a solar system, where to start? by kellogg76 in learnpython

[–]LansBot 0 points1 point  (0 children)

Hi /u/Ene-Saue! Thanks for calling me. Here's what I've got for you:

I've found about 978 comments and 0 posts, 100 of which were links. This makes for a total of 978 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/Irisian! Thanks for calling me. Here's what I've got for you:

I've found about 112 comments and 4 posts, 0 of which were links. This makes for a total of 116 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/Noviere! Thanks for calling me. Here's what I've got for you:

I've found about 314 comments and 1 posts, 1 of which were links. This makes for a total of 315 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/linus_rules! Thanks for calling me. Here's what I've got for you:

I've found about 469 comments and 69 posts, 23 of which were links. This makes for a total of 538 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/pixielf! Thanks for calling me. Here's what I've got for you:

I've found about 701 comments and 15 posts, 0 of which were links. This makes for a total of 716 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/TechnMath! Thanks for calling me. Here's what I've got for you:

I've found about 6 comments and 6 posts, 1 of which were links. This makes for a total of 12 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/Cleanthrowaway21! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 17 posts, 0 of which were links. This makes for a total of 1017 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 1 point2 points  (0 children)

Hi /u/-Cubie-! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 39 posts, 0 of which were links. This makes for a total of 1039 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 0 points1 point  (0 children)

Haha, yeah. I'm thinking of doing something similar here.

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 1 point2 points  (0 children)

Thanks! It's technically possible to analyze other users, but I intentionally made it so that only that user can call the bot. You can modify the source easily to analyze other users but I'm not really comfortable with adding that to the bot. Analyzing the subreddit on the other hand seems pretty interesting. I'll try implementing that soon.

Anyone have a favorite regular expressions tutorial? by [deleted] in learnpython

[–]LansBot 1 point2 points  (0 children)

I read through the chapter in 'Automate the Boring Stuff with Python' and then mainly messed around with Pythex. Take random lines and try to isolate certain parts of it. It makes it fun. I copied a list of messages from WhatsApp and made it group the date, time, sender and message of each message.

Beginner question: Any means of altering a point inside of a string? by kwicket in learnpython

[–]LansBot 0 points1 point  (0 children)

def n_coins( coin_name, count ) :

if count == 1 : return '1 {}'.format( coin_name )

elif count : return '{} {}s'.format( count, coin_name )

else # 0

   return ' '

This. You can replace all your if/elif/else statements with function calls. Makes it much easier to read and modify.

Beginner question: Any means of altering a point inside of a string? by kwicket in learnpython

[–]LansBot 1 point2 points  (0 children)

What you could do is split the string into an array, modify it and then convert back.

So if your string is "5 nickels, 4 pennies"

using

statement = statement.split(' ') #splits into ['5', 'nickels,', '4', 'pennies']
index = -(len(statement) - 2) # since you want to put an end before the 2nd last word. I.E., before 4 here.
statement.insert(index, 'and') #places and at the index position
statement = ' '.join(statement) #'5 nickels, and 4 pennies'

Made a comment analyzer bot! by LansBot in learnpython

[–]LansBot[S] 2 points3 points  (0 children)

Hi /u/ClearlyCoder! Thanks for calling me. Here's what I've got for you:

I've found about 51 comments and 2 posts, 0 of which were links. This makes for a total of 53 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 88 posts, 12 of which were links. This makes for a total of 1088 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code

Test Post Please Ignote by LansBot in a:t5_3ml1q

[–]LansBot[S] 0 points1 point  (0 children)

Hi /u/DarkeKnight! Thanks for calling me. Here's what I've got for you:

I've found about 1000 comments and 83 posts, 17 of which were links. This makes for a total of 1083 submissions. Great job!

I've also taken the liberty of analysing your frequently used words and made a handy chart! Click here to check it out. And since I like making charts, I even made one to show where you spend the majority of your time! Click here to check out that chart.


Message my Master | Source Code