Profile

Cover photo
Craig Addyman
Works at Bronco
Lives in Harrogate, North Yorkshire, England
717 followers|233,641 views
AboutPostsPhotosYouTubeReviews
People
Have him in circles
717 people
Royston Horton's profile photo
Work
Occupation
SEO Consultant
Employment
  • Bronco
    SEO Consultant, present
Basic Information
Gender
Male
Looking for
Networking
Relationship
In a relationship
Other names
Michael
Story
Tagline
The harder I work the luckier I get, funny that!
Introduction
Favourite Quotations

"silent water runs deep.."

"Conversation about the weather is the last refuge of the unimaginative."

“Hard work spotlights the character of people: some turn up their sleeves, some turn up their noses, and some don't turn up at all.”
...
Opportunity seems to have an uncanny habit of favoring those who have paid the price of years of preparation.”

“Never measure the height of a mountain, until you have reached the top. Then you will see how low it was.”

“There are only two options regarding commitment. You're either in or out. There's no such thing as a life in-between.”

“You learn you can do your best when it's hard, even when you're tired and maybe hurting a little bit. It feels good to show some courage.”

“Being Born With A Penis Is Like Being Handcuffed To A Maniac For Life” Kingsley Amis

"This is the earth. And this is Pinky. You can tell the difference quite easily. One is a lump of inert matter hurtling blindly through the void. The other... is the earth."



When bored
I entertain my mind with thoughts of the holographic nature of the universe (a 3d display.)
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Harrogate, North Yorkshire, England
Previously
Harrogate, North Yorkshire, England - Malta - UK
Links
Contributor to

Stream

Craig Addyman

Questions  - 
 
Is there not a method to remove duplicate dictionary values that are in a list.
1
Marc Poulin's profile photoCraig Addyman's profile photoDustin Rediess's profile photoFlorian Philipp's profile photo
8 comments
 
+Craig Addyman Is there a reason why you use lists of lists where the outer list has only one entry? Like [['aa', 'ab']]
Similarly, [set(...)] creates a list with a single set as its content. From your description it sounds as if you want list(set(...)) and ['aa', 'ab'], respectively.
Also, if your content is not hashable, then how can you use set?

If your content is not hashable but sortable, you can look into what is suggested here:
https://docs.python.org/2/faq/programming.html#how-do-you-remove-duplicates-from-a-list
Add a comment...
3
1
Dale Reynolds's profile photoSimon Berenyi's profile photo
Add a comment...

Craig Addyman

Questions  - 
 
Struggling with something, not really wanting the answer but a nudge in the right direction!!

So say I have a csv like so...

http://www.domain.com/example1, red,
http://www.domain.com/example2, red,
http://www.otherdomain.com/example3, red,
http://www.domain.com/example4, yellow,

The parsing etc. for this is fine it's how to calculate my desired output - basically what I'm wanting to do is count the number of domains and paths that have a particular keyword count so from this input my out put might be..

red  2 domains  3 paths
yellow 1 domain 1 path

Hope that makes sense and you can point me in the right direction
1
Add a comment...
 
Reading the Twitter rate limits it says you can only do 350 calls per hour so if I wanted to check to locations of someone's followers, if they had 21,000 followers it would take me 60 hours to check each one! Surely that's not right?

Here is my code in case anyone is interested!

http://pastebin.com/mc1m4U3g

I'm obviously hoping my lack of experience with reading api documentation is at play here or of course there is a better way of writing my code!!

Any input is appreciated. 
4
3
Craig Addyman's profile photoRajkumar Dhanasekaran's profile photoDavid Bonner's profile photoKingsten Banh's profile photo
6 comments
Add a comment...
Have him in circles
717 people
Royston Horton's profile photo

Craig Addyman

Shared publicly  - 
1
WS Warthog's profile photoCraig Addyman's profile photo
2 comments
 
I think it's referring to it in the digital sense 
Add a comment...

Craig Addyman

Shared publicly  - 
1
Dave Elliott's profile photo
 
Really simple for me to fix it. My password manager 'last pass' is very much on the ball for this. Did a security scan of all my passwords and it told me which were affected and if the sites were fixed or not yet. Just waiting on google and facebook to issues new security certificates and i will be all up to date.
Add a comment...
 
We have a new website design at +Bronco as today it turns 11! Check it our and let us know what you think!! http://www.bronco.co.uk/  
1
Add a comment...
 
So I wrote quite a large program (for me anyway - 300+ lines) that basically builds a report using xlsx writer. It reads multiple files, crunches numbers to create tables and charts and then inputs a summary for each depending on the outcome. This is a report across multiple sheets within the book.

Does anyone know of a way I could put this into a word document too, ideally I'd like to write a small script that will just pull it all across...
3
Marc Poulin's profile photoCraig Addyman's profile photo
3 comments
 
+Marc Poulin Looks like I can link them and then update the csv and it will update the doc, so i think I'll set up the link for the whole report and then do a new script to update the csv with openpyxl and I can then save the doc as a pdf to break the link ready for the next report :)
Add a comment...

Craig Addyman

Questions  - 
 
Hey!!

Could anyone help with parsing the following...

http://pastebin.com/VA3rfP1J

I'm wanting the value of 'text'
3
Marc Poulin's profile photoCraig Addyman's profile photo
21 comments
 
+Craig Addyman
Look at this document. Just follow the trail marked in red.
     data['statuses'][0]['user']['statuses_count']

https://docs.google.com/document/d/1QKPusggJGCC7dv51Yt7oLB96L8rkBgVvBcEY3dTPO38/edit?usp=sharing
Add a comment...
Amazing!!
Public - a year ago
reviewed a year ago
Apart from the excessive tea drinking :) these lads did the business. I needed some internal doors hanging, gave Davies Joinery a call and they came that day to measure up and gave me a price. The following week they were back with my new doors and had the job done that day. They worked quickly and quietly and with minimal mess. I would highly recommend them especially as the price was reasonable. Just make sure you have the kettle on!
Public - 3 years ago
reviewed 3 years ago
2 reviews
Map
Map
Map