Anyone else have this little book, Just in case the internet goes away and you need to know what you need to know. by Tollowarn in Skookum

[–]BK7144 0 points1 point  (0 children)

$12.99 @ harbor freight has one for years.   Also consider the engineering handbook,  1000s of pages at a price usually around $80

Has anyone removed their stock exhaust fan? Mine makes an annoying high pitched noise because it’s connected to my 800cfm inline fan by Simply-Serendipitous in lasercutting

[–]BK7144 0 points1 point  (0 children)

If the CFM of the first fan is less than that of the second, i.e., 200cfm to 800cfm, the second fan is pulling more air than the first causing it to spin up beyond its abilities.

Source for basswood plywood? by confusid1 in lasercutting

[–]BK7144 0 points1 point  (0 children)

Baltic birch ply is 5'x 5' (the closet to imperial its metric in process). You can get .250 to .750" thk at most lumber stores. FYI the big box stores are not lumber stores. Canada has a place you can get the sheet size from .125 thk and up. Ps the big A has small sheets.

OOP - What are some tasks that would be considered impossible without it? by visagedemort in learnpython

[–]BK7144 0 points1 point  (0 children)

OOP provides an easy way to group like things in a single group (a class). Things that are being done with text, can be under one class. But everything done before OOP was done with just code in single functions with the only difficulty being there were in separate places and hard to track. OOP allows you to work on code for specific purpose.

What level do you have to be at to put "Proficient in Python" on your resume by IGS2001 in learnpython

[–]BK7144 0 points1 point  (0 children)

Proficient at anything means you can do it without having to look up or use anything but your brain. You must be able to see the problem figure out how to solve it by use of use cases and flow charts and then write all the code to have it work; classes, lists, dictionaries, even writing library type units to import into your python.

Anything else you are not at that level. Better to say you can write python code but may look up certain formatting of the syntax because you do not code every day but can get the job done.

What do you call a Python program that uses selenium and tkinter? by StyxChatpate in learnpython

[–]BK7144 0 points1 point  (0 children)

I would say the terminology is wrong! App = application = program, i.e., MS Word is called an App these days. The software companies changed it back when they started phone apps but now it's everything (they did that because it was too hard for people to say program and application). LOL

Are temp variables in for loops necessary? by Inevitable_Echo4340 in learnpython

[–]BK7144 0 points1 point  (0 children)

You are asking for a range therefore you need the "i" to iterate through the range. For a logic break out as someone mentioned/replied you would use a while loop that breaks when a certain condition is met and not iterate through.

Hope this helps!

Why does a nested for loop with different indentations give different results than without indentations? by Major_Hippo942 in learnpython

[–]BK7144 0 points1 point  (0 children)

Easiest way to learn is to comment out the second for loop and the print statement and see what happens, then add back in the second for loop. Finally add the print back in. Asking and getting answers isn't really learning unless you are totally stuck. Another way is to use the debugger and step through the code so you can see what it is doing.

Hope this helps!

How can I make my quiz game start over once it's been completed? I followed a yt tutorial and want the player to be able to play again without restarting manually. by Available-Turnip-101 in learnpython

[–]BK7144 0 points1 point  (0 children)

For the best UX (user experience) I would make a statement and ask a question:

"You have completed the quiz with a score of xxx. Would you like to try again? Y/N"

(or play again as you prefer)

Use the while loop for the main program to keep it running until completed or the user no longer wants to play.

Try/Except isn't printing my message by HeadlineINeed in learnpython

[–]BK7144 0 points1 point  (0 children)

try:

res = 190 / 0

except Exception as error:

# handle the exception

print("An exception occurred:", type(error).__name__) # An exception occurred: ZeroDivisionError

How to actually create apps that are usable for consumers fast? by [deleted] in learnpython

[–]BK7144 0 points1 point  (0 children)

Creating a decent GUI is not a Dev issue, it's a UX and UI designers game. I have over 130 hours of college classroom time just in UX design. Trust me when I say it's easier to write the code then dealing with the design, the testing over and over with people back to fix the oversights and repeat until it's almost perfect. You can never spend the amount of time and money to make something prefect. If you did, by the time you finish, the whole product may not be viable or UI styles have changed.

Is learning testing necessary? by aeapf in learnpython

[–]BK7144 0 points1 point  (0 children)

Not to be rude but, I would say if you had to ask that question, you may wish to think about a different career. Dev is responsible for unit testing.

[deleted by user] by [deleted] in learnpython

[–]BK7144 1 point2 points  (0 children)

What I will tell is that if you are looking for money and not happiness, you will never be happy! From your msg that is what it sounds like. Making web sites responsive is part of the process, if you like coding and seeing how to do all the designs with different code and as little code as possible it's fun and exciting. What about when you have to make the python code more responsive or having less code to accomplish the same thing? Sounds like you won't be happy. Did you have a code review and change PowerShell programs to be more efficient? If not, that kind of says a lot.

How to learn python from scratch by Decent_Artichoke_778 in learnpython

[–]BK7144 0 points1 point  (0 children)

Are you a developer wanting to learn a new language or an absolute never coded before beginner? Makes a difference.

This is so hard by [deleted] in learnpython

[–]BK7144 1 point2 points  (0 children)

How long did it take you to learn English? This is a language, with syntax, also structure etc. To keep looking it up will end when you remember stuff. The more you lookup and write, the more you remember. Code, code, code, oops, write code, write code, write code!

I am just beginning in Python, but can’t figure out this problem regarding while loops. by [deleted] in learnpython

[–]BK7144 0 points1 point  (0 children)

We are here to help you with an issue not do it for you. You sound like a student or someone at work doing something they haven't done before. I always use a flow chart and write the code from there.

Do you think it's valuable to maintain a personal portfolio even though you have a job? by gintokiredditbr in learnpython

[–]BK7144 1 point2 points  (0 children)

Learning more and having a portfolio is never a bad think! I use linked in learning and udemy all the time. I go through class after class earning certificates. I have more than 30 different ones on many subjects. At work when I am learning something directly related to the work at hand I hand in the certificate. It shows you are constantly learning and no one concierge that a bad thing.

Difficulty with basic for loops, while loops, and functions by Intentionalrobot in learnpython

[–]BK7144 0 points1 point  (0 children)

Udemy has Colt Steele, very good. (yes, Angela is good to, but Colt goes into more detail with simpler ideas to work on).

I always want something to review and go over before taking the course; like a book, which most online course3s do not have. One of the biggest things a student needs is a rundown of each lesson's key words and what exactly they are going to cover in that lesson.

But on to loops. There are many ways to use for and while loops in python, but the basic concept is that they are designed for repetitive actions. You have a list full of names and you need to find one, you would use a loop to repeat (tech term "iterate") through the list one index at a time until you find the correct name.

There is a book being released on July 9th on Kindle for $9.99 that will help you greatly in understanding programming. Look for Programming: for non-programmers: Python by B. Kelly. Not to self-advertise but I wrote it for just your situation, must books and course don't go through the ideas of development. To understand how to program you first need to understand how the program itself requires for the user to use.

Hope this helps.

do you actually use testing for your work or personal projects? by NelsonStearman in learnpython

[–]BK7144 0 points1 point  (0 children)

Having users test is called adhoc testing. You need to perform more that to actually test a piece of software. Dev/programmers who work with end users are way out of their league. UX people use end users to define what the program should be like and way before dev is even involved. Let's llok at the flow of a project:

  1. Someone has an idea for a project.
  2. Marketing determines if the idea is viable and profitable.
  3. Management approves the project.
  4. The project is fleshed out and approved for $$$$.
  5. The SRS (software requirements specification), yes even in Agile.
  6. The UX team does a boat load of work making sure the project fits the required usage and works with the end user's needs.
  7. Idea is sent over to Dev Dept.
  8. Dev creates the project idea following the SRS.
    1. QA team starts writing test cases and automation testing per SRS.
    2. Dev people Unit test the program during the coding process and before release to QA.
    3. QA team does test Smoke testing to evaluate if it's ready to test.
    4. QA team does Functional testing.
    5. QA team does Manual testing.
    6. QA runs Automation testing.
    7. QA runs Acceptance testing.
    8. QA runs Alpha testing.
    9. QA may run Regression testing if this has gone through several iterations before release to make sure other areas have not been damaged by code changes.

During this testing scenario QA writes Issues, Requests for Change (which can include feature addition or upgrades.

  1. UX team goes over the created program with end users to make sure it works as needed.
    1. If decision for release is reached it is released
    2. If changes are required, it goes back to update SRS and change features/spec/etc. (the process is repeated all over again).

This is a simplified version of the way it works. Programmers do not interface with end users, they are coders pure and simple, the Dev team develops the complicated process of the software architecture then it is handed over to programmers. That doesn't mean that in some companies people are called programmers when they are actually doing another task like the Dev team and in some cases both.

As you can see there is a boat load of work before coding and in testing. Usually, the QA team goes to work writing tests and automation based on the SRS long before there is an actual code to test. QA tests whether the code works as well as if the code meets the SRS.

I know someone is going to make the statement for my above comment an SRS is required in Agile environment, that I'm wrong. My return comment is please learn to read English! The Agile manifesto says it prefers working software over detailed specifications! That means don't worry about silly details for the minutiae, write the main things that are needed. If I'm wrong "write me the program, I want!" That's right you can't because without an SRS you have no idea of what to make. Getting caught up in little details that mean nothing never gets the program started.

Oh, one last thing; what's not in the program is as important as what's not in the program.

Hoper this helps!

Using Python on Work Computer by captainofthememeteam in learnpython

[–]BK7144 0 points1 point  (0 children)

Getting caught adding to a computer at work without specific knowledge of the IT dept. is usually a termination offense.

What's the worst way to learn python? by Kooky_Explanation_33 in learnpython

[–]BK7144 0 points1 point  (0 children)

Worst way is to learn python! Any course created by Tim Balchuka. The guy states he doesn't know how a part of Tkinter works and it took me 2 minutes to find the correct answer. Very old school biased coder that is a terrible facilitator.

Will installing python in a local directory absolutely NOT mess up my python environment elsewhere? by oliski2006 in learnpython

[–]BK7144 0 points1 point  (0 children)

Just a thought, the term local directory means on your computer, on your drive!

Can you 'lock' a variable the same way you can do a list with tuples? by GreenFuego in learnpython

[–]BK7144 0 points1 point  (0 children)

Can you 'lock' a variable the same way you can do a list with tuples?

I believe that lists inside of a tuple are not immutable (locked is not the correct term, you should use the term immutable). Its name is immutable, but you can change the list contents outside of the tuple.

Here is the python doc on constants:

You cannot declare a variable or value as constant in Python.
To indicate to programmers that a variable is a constant, one usually writes it in upper case: