Uploaded December 2024 | Updated November 2026, 3 days ago
In this video we go over a simple function to see if a string is an integer - handling both positive and negative cases.
Original blog post with all code and links: https://hamy.xyz/labs/2024-12_python-check-positive-or-negative-integer
CTA: Full project files - github.com/HAMY-LABS/hamy-labs-code-examples/tree/main/python/2024-12_is-positive-or-negative-integer
* Available to Haminions members - https://hamy.xyz/labs/haminions
Links:
- Why you should use Pydantic Dataclasses instead of Python Dataclasses - youtube.com/watch?v=nfYTHo7Q7UU&ab_channel=HAMYLABS
- Build a Simple Result type in Python - and why you should use them - youtube.com/watch?v=1P7J2wI46sg&ab_channel=HAMYLABS
- 5 Reasons F# is a great Python alternative for scripting, side projects, and enterprise applications - youtube.com/watch?v=b12MFKsOVC8&ab_channel=HAMYLABS
About me: I'm Hamilton - a Technomancer. I build Simple Scalable Systems to make the world 1% better.
Connect with me:
- Website: https://hamy.xyz
- Twitter: @SIRHAMY - twitter.com/SIRHAMY
# Support
If you liked this and would like to see more, consider becoming a supporter: https://hamy.xyz/labs/haminions
Supporters get:
* Full source code access from courses / tutorials
* Exclusive discounts on products / courses
Plus you help me to keep experimenting / sharing!
For Sponsorship info: https://hamy.xyz/labs/sponsors
In this video we go over a simple function to see if a string is an integer - handling both positive and negative cases.
Original blog post with all code and links: https://hamy.xyz/labs/2024-12_python-check-positive-or-negative-integer
CTA: Full project files - github.com/HAMY-LABS/hamy-labs-code-examples/tree/main/python/2024-12_is-positive-or-negative-integer
* Available to Haminions members - https://hamy.xyz/labs/haminions
Links:
- Why you should use Pydantic Dataclasses instead of Python Dataclasses - youtube.com/watch?v=nfYTHo7Q7UU&ab_channel=HAMYLABS
- Build a Simple Result type in Python - and why you should use them - youtube.com/watch?v=1P7J2wI46sg&ab_channel=HAMYLABS
- 5 Reasons F# is a great Python alternative for scripting, side projects, and enterprise applications - youtube.com/watch?v=b12MFKsOVC8&ab_channel=HAMYLABS
About me: I'm Hamilton - a Technomancer. I build Simple Scalable Systems to make the world 1% better.
Connect with me:
- Website: https://hamy.xyz
- Twitter: @SIRHAMY - twitter.com/SIRHAMY
# Support
If you liked this and would like to see more, consider becoming a supporter: https://hamy.xyz/labs/haminions
Supporters get:
* Full source code access from courses / tutorials
* Exclusive discounts on products / courses
Plus you help me to keep experimenting / sharing!
For Sponsorship info: https://hamy.xyz/labs/sponsors










