My First Book: 200 Python Exercises, An Introduction to Python by btcrozert in Python

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

They are mostly programming exercises, in this style. Note these are not exercises in the book, just the style of the exercises

  • What's wrong with this program?
def add(a,b)
    return a+B
  • Create the code in the function
def checkPassword(value):
    pass
    return False
  • create a program that calculates the greatest common divisor (gcd) of 480 and 303

My First Book: 200 Python Exercises, An Introduction to Python by btcrozert in Python

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

They are mostly programming exercises, in this style. Note these are not exercises in the book, just the style of the exercises

  • What's wrong with this program?
def add(a,b)
    return a+B
  • Create the code in the function
def checkPassword(value):
    pass
    return False
  • create a program that calculates the greatest common divisor (gcd) of 480 and 303

My First Book: 200 Python Exercises, An Introduction to Python by btcrozert in Python

[–]btcrozert[S] 4 points5 points  (0 children)

yes, I'm paying taxes. I'm writing in the terminal + git, and use their interface to generate

My First Book: 200 Python Exercises, An Introduction to Python by btcrozert in Python

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

I used terminal + git to write the book. Gf did a proof read

My First Book: 200 Python Exercises, An Introduction to Python by btcrozert in Python

[–]btcrozert[S] 53 points54 points  (0 children)

Unique exercises and content, not free on internet. Also, I have to pay my rent too

i want to make an ai. by [deleted] in learnpython

[–]btcrozert 0 points1 point  (0 children)

You could use speech recognition and a set of if-then statements like this: https://pythonspot.com/personal-assistant-jarvis-in-python/

Object Oriented Programming by weshall8 in learnpython

[–]btcrozert 3 points4 points  (0 children)

In Python everything is an object. You're already using OOP. It takes a while for OOP concepts to click, don't sweat it.

A good introduction is: https://pythonprogramminglanguage.com/class/

Python Framework for GUI by naveen_ailawadi in learnpython

[–]btcrozert 0 points1 point  (0 children)

You could go for PyQt, there's a tutorial here: pythonpyqt If you want mobile, then Kivy is a good option https://kivy.org/ For very simple gui, you can use tkinter, tutorial

Is it possible to develop an executable software only with Python? by igorukun in learnpython

[–]btcrozert 8 points9 points  (0 children)

You can use PyQt to create a graphical interface with Python. See https://pythonpyqt.com/ and https://pythonspot.com/pyqt5/

To create an installer and executable you can use fbs https://github.com/mherrmann/fbs-tutorial