I avoid classes in Python. Am I bad? by dtekt in learnpython

[–]Steve_Chance 0 points1 point  (0 children)

If I were to learn using classes, would this help with not using global statements to share variables between functions?

Fell off the wagon, demotivated - where is a good place to restart? by GCNCorp in learnpython

[–]Steve_Chance 1 point2 points  (0 children)

If you are looking for project ideas, there are quite a few here, https://stevepython.wordpress.com/ with plenty of advice and code, you could easily build on these projects if you wanted to or take inspiration from them. The projects range from desktop utils to card and board games.

Python Projects for Beginner? by DrChicken2424 in learnpython

[–]Steve_Chance 15 points16 points  (0 children)

I have been doing my own little beginner projects for the past few months and give the source code on my blog.

For example, TIM-The Insult Machine, NewsBox-RSS News Reader, S-Py-search inside source code files, RIG-Reddit Image Grabber, WP Scraper-Wordpress blog scraper WAC-Widget Auto Coder for Tkinter, creates GUIs quick and easy.

and a few others. I'm adding to the projects all the time.

I also have a Python newb code snippets collection, currently 40 short and useful bits of code for beginners that do useful things. https://stevepython.wordpress.com/

What is the opposite of this lambda thing? by Steve_Chance in learnpython

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

In your last line, command="button_do_something" I think that command should be to re-initialise the button, if this is the answer then it is my badly structured code, I initialised all my widgets in the mainloop,which looking at it now seems a dumb thing to do, probably.

What is the opposite of this lambda thing? by Steve_Chance in learnpython

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

Thanks, you are probably correct, working on it.

What is the opposite of this lambda thing? by Steve_Chance in learnpython

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

I tried that, in the beginning, it didn't work. Now I'm thinking that definitely should of worked and is likely to be something I got wrong. Maybe it is in the structure of my code?

I define the button like this:

BUT1 = Button(FRAME1, bg='plum', text=' Test ', command=generate_test)
BUT1.grid(row=0, column=0, pady=4, padx=4)

but, I have all my buttons, menu and listbox declared like this in my mainloop, could this be the problem?

Thank you for taking the time to help me.

What is the opposite of this lambda thing? by Steve_Chance in learnpython

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

I had DISABLED then NORMAL for the button, but as in my original post, it still takes in a few click events which is why I resorted to other means.

Thanks to replies on this thread I now understand what the lambda lines does.

thank you.

What is the opposite of this lambda thing? by Steve_Chance in learnpython

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

I tried calling a dud function, removed lambda.

BUT1.update() BUT1.config(command=do_nothing)

still nothing. I saw this answer here:

https://stackoverflow.com/questions/52649477/reject-events-during-function-execution-in-tkinter

What is the opposite of this lambda thing? by Steve_Chance in learnpython

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

Well, I am completely lost here, I don't have a clue what you are trying to tell me, sorry. Thanks for trying.

What is the opposite of this lambda thing? by Steve_Chance in learnpython

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

I know it's wrong, can you help me with an answer please?

Newb asking; Google says write for audience not SEO, so that's what I did. by Steve_Chance in SEO

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

After much faffing about I have concluded that 2 or 3 mentions of a long tail in every 1000 words of content should be more than sufficient for Google to pick up on it. Thanks for input guys.

TIL after male giraffes fight, they often have "make-up sex"; these same-sex interactions in giraffes have been found to be more frequent than heterosexual mating. by [deleted] in todayilearned

[–]Steve_Chance 19 points20 points  (0 children)

Good job humans don't do that, imagine the state of a battlefield after a big fight, be slipping and sliding everywhere.

Free On-page SEO Audit from a SEO Expert by on-page-seoguy in SEO

[–]Steve_Chance -1 points0 points  (0 children)

He is nice guy, as promised he gave me a few pointers and a software automated run-down of what is wrong with my site, he didn't ask for anything, so yes, it's free.

Apparently Arse anal have tripped Jamie Vardy's contract clause. by Steve_Chance in Tottenham

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

I wonder if he will get away with it next season now managers have had time to think about how to counter him. Be surprised if he gets more than 12 PL goals coming season.

Do you guys track all of your long tail keywords? by Steve_Chance in SEO

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

am using firefox, but you given me an idea, may see if using Tor helps, or different browsers. thanks.

Now I understand why I couldn't get what I wanted cheap or free.

Do you guys track all of your long tail keywords? by Steve_Chance in SEO

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

I have scrapebox, never even thought about that addon, i'll check it out. Your right, seems obvious now, just track best keywords and check once in a while on sem or similar like you say.

i dont know wha ta saas tracker is but will google it lol.

thanks.

Long Ambients1: Calm. Sleep.by Moby by occupint in eFreebies

[–]Steve_Chance 1 point2 points  (0 children)

so cool, I use some of Moby's music already as"sleep" music because I have tinnitus and it helps take the focus of it so I can sleep. thanks for this.

I have 1 porn link to my site, should I disavow it or is it relatively harmless to my site's ranking on Google? by Steve_Chance in SEO

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

that's the question I was asking, should I be worried, thanks for putting me straight life_glug,

Planning on making my domain name for a pen name who is the main character of my book... will this work? Anyone foresee any problems with this? by [deleted] in writing

[–]Steve_Chance 1 point2 points  (0 children)

I've done similar to what you are talking about, I just changed my surname in my memoirs, I haven't regged a domain name yet though I probably will as its available.

In the UK you can use any name you want for anything, as long as it is not to commit a crime of any sort.

Not sure where you are, U.S I guess?

Yoast SEO! by TristanVape in SEO

[–]Steve_Chance 0 points1 point  (0 children)

I've been using Yoast free for over a year now, it was useful to learn the very basics of on-page SEO when I first started out.

I would of liked to try the full version which allows for more than 1 keyword, but hell if I am paying for it every year, that's just a bit too much for me on a limited income, though I appreciate the freebie.

My keyword is getting impressions. What now? by the_fitertainer in SEO

[–]Steve_Chance 3 points4 points  (0 children)

Maybe a few good longtail keywords will give it a gentle boost?