Django courses focusing beyond the basics
Most online courses focus on zero-to-one content (introducing the basics of a language or framework). I'm planning on creating micro-courses that go beyond stage one.
These micro-courses,
focus on one outcome
have a series of tasks/objectives to complete (learning by doing)
can be completed within a week by spending a few hours a day and
cover intermediate or advanced concepts
Examples,
1. Implementing webhooks for payment gateways
2. Processing webhook payloads the right way
3. Deploying a Django application on a VPS
4. Developing CLI tools for application housekeeping
5. Monitoring 500 errors in LIVE/PROD servers
6. Designing a backup policy and automating backups
Would you be interested in such micro-courses?
Any topic that you wish to add to this list?
/r/django
https://redd.it/1hpgv15
Most online courses focus on zero-to-one content (introducing the basics of a language or framework). I'm planning on creating micro-courses that go beyond stage one.
These micro-courses,
focus on one outcome
have a series of tasks/objectives to complete (learning by doing)
can be completed within a week by spending a few hours a day and
cover intermediate or advanced concepts
Examples,
1. Implementing webhooks for payment gateways
2. Processing webhook payloads the right way
3. Deploying a Django application on a VPS
4. Developing CLI tools for application housekeeping
5. Monitoring 500 errors in LIVE/PROD servers
6. Designing a backup policy and automating backups
Would you be interested in such micro-courses?
Any topic that you wish to add to this list?
/r/django
https://redd.it/1hpgv15
Reddit
From the django community on Reddit
Explore this post and more from the django community
Looking for remote job as Backend Engineer
Hi,
I have more than 3 years of experience with Python, Django, DRF, Rest APIs, Postgresql, Postgis, GIS, QGIS Plugin Development, LLMs, Generative AI, Git Versioning, and AWS(EC2, S3, Lambda, RDS).
I do have references from my previous clients.
Can you please guide me on how to land a remote job?
Thanks
/r/django
https://redd.it/1hpirb7
Hi,
I have more than 3 years of experience with Python, Django, DRF, Rest APIs, Postgresql, Postgis, GIS, QGIS Plugin Development, LLMs, Generative AI, Git Versioning, and AWS(EC2, S3, Lambda, RDS).
I do have references from my previous clients.
Can you please guide me on how to land a remote job?
Thanks
/r/django
https://redd.it/1hpirb7
Reddit
From the django community on Reddit
Explore this post and more from the django community
Monday Daily Thread: Project ideas!
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1hp9p8c
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1hp9p8c
Django courses focusing beyond the basics
Most online courses focus on zero-to-one content (introducing the basics of a language or framework). I'm planning on creating micro-courses that go beyond stage one.
These micro-courses,
focus on one outcome
have a series of tasks/objectives to complete (learning by doing)
can be completed within a week by spending a few hours a day and
cover intermediate or advanced concepts
Examples,
1. Implementing webhooks for payment gateways
2. Processing webhook payloads the right way
3. Deploying a Django application on a VPS
4. Developing CLI tools for application housekeeping
5. Monitoring 500 errors in LIVE/PROD servers
6. Designing a backup policy and automating backups
Would you be interested in such micro-courses?
Any topic that you wish to add to this list?
/r/djangolearning
https://redd.it/1hpgxfs
Most online courses focus on zero-to-one content (introducing the basics of a language or framework). I'm planning on creating micro-courses that go beyond stage one.
These micro-courses,
focus on one outcome
have a series of tasks/objectives to complete (learning by doing)
can be completed within a week by spending a few hours a day and
cover intermediate or advanced concepts
Examples,
1. Implementing webhooks for payment gateways
2. Processing webhook payloads the right way
3. Deploying a Django application on a VPS
4. Developing CLI tools for application housekeeping
5. Monitoring 500 errors in LIVE/PROD servers
6. Designing a backup policy and automating backups
Would you be interested in such micro-courses?
Any topic that you wish to add to this list?
/r/djangolearning
https://redd.it/1hpgxfs
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Is there a way to use split screen in Visual Studio Code to see HTML template changes in real time?
Or is there another IDE that can be used to visualize frontend changes?
/r/flask
https://redd.it/1hpjfua
Or is there another IDE that can be used to visualize frontend changes?
/r/flask
https://redd.it/1hpjfua
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
New to freelancing
Hello!
For those of you who started freelancing recently and made it work, how do you promote yourself and/or your business? What channels do you use to find quality customers?
I’ve beer working with Python for more than 8 years now and I’d want to build a business around it.
Thank you in advance!
/r/Python
https://redd.it/1hpo5zz
Hello!
For those of you who started freelancing recently and made it work, how do you promote yourself and/or your business? What channels do you use to find quality customers?
I’ve beer working with Python for more than 8 years now and I’d want to build a business around it.
Thank you in advance!
/r/Python
https://redd.it/1hpo5zz
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Flask project front end design and modification for non-technical web site owners
I'm creating a website for a company that want their clients to be able to login to a portal and submit jobs for the company to complete. All of this will be handled with Flask and the aesthetic and design of these portal pages is not that significant.
For the front end, the design is much more important and I don't want to have to design and hand craft every page. I really want to be able to separate myself as the developer as much as possible from the designer or content producers for the site. What options are there for incorporating something that will easily let the company design and update the front end pages themselves (or employ a designer to do so)?
There will only be a handful of pages (home page, about us, contact us, Ts & Cs kind of thing) so using a headless CMS would just be a monthly expense for something that isn't going to change or be used that much, but is something I still want to separate myself as the developer from. It would also mean that I can just crack on with solving the technical aspects of letting clients submit jobs rather than
/r/flask
https://redd.it/1hpy3xs
I'm creating a website for a company that want their clients to be able to login to a portal and submit jobs for the company to complete. All of this will be handled with Flask and the aesthetic and design of these portal pages is not that significant.
For the front end, the design is much more important and I don't want to have to design and hand craft every page. I really want to be able to separate myself as the developer as much as possible from the designer or content producers for the site. What options are there for incorporating something that will easily let the company design and update the front end pages themselves (or employ a designer to do so)?
There will only be a handful of pages (home page, about us, contact us, Ts & Cs kind of thing) so using a headless CMS would just be a monthly expense for something that isn't going to change or be used that much, but is something I still want to separate myself as the developer from. It would also mean that I can just crack on with solving the technical aspects of letting clients submit jobs rather than
/r/flask
https://redd.it/1hpy3xs
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Making a custom model function as a login user?
Hey there, I've ran into an issue where I've been trying to create a custom model which has some basic data and then log-in functionality? I'm able to log in as a superuser but not using the data in my custom model. (Migrations have been made) What am I doing wrong here? This is the custom model which I'm currently using.
class Resident(AbstractUser):
"""
Custom User model representing HOA residents.
"""
verbosename = 'Resident'
firstname = models.CharField(maxlength=50)
lastname = models.CharField(maxlength=50)
address = models.CharField(maxlength=255, blank=True)
phonenumber = models.CharField(maxlength=25)
def str(self):
return
f"{self.firstname} {self.lastname}"
groups = models.ManyToManyField(
'auth.Group',
relatedname='residentgroups',
/r/djangolearning
https://redd.it/1hpooej
Hey there, I've ran into an issue where I've been trying to create a custom model which has some basic data and then log-in functionality? I'm able to log in as a superuser but not using the data in my custom model. (Migrations have been made) What am I doing wrong here? This is the custom model which I'm currently using.
class Resident(AbstractUser):
"""
Custom User model representing HOA residents.
"""
verbosename = 'Resident'
firstname = models.CharField(maxlength=50)
lastname = models.CharField(maxlength=50)
address = models.CharField(maxlength=255, blank=True)
phonenumber = models.CharField(maxlength=25)
def str(self):
return
f"{self.firstname} {self.lastname}"
groups = models.ManyToManyField(
'auth.Group',
relatedname='residentgroups',
/r/djangolearning
https://redd.it/1hpooej
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
(when) do i need to make things async
currently writing a mini reddit clone with flask and sqlite for the backend. i'm concerned that once things scale that i'll need better async support that flask cannot provide. how often is this a legitimate concern? i understand there are alternatives like quart but i want to know if it's flask that will likely limit me, if i need to be thinking about async functions at all, and if so what scenarios those would be.
/r/flask
https://redd.it/1hpz4ob
currently writing a mini reddit clone with flask and sqlite for the backend. i'm concerned that once things scale that i'll need better async support that flask cannot provide. how often is this a legitimate concern? i understand there are alternatives like quart but i want to know if it's flask that will likely limit me, if i need to be thinking about async functions at all, and if so what scenarios those would be.
/r/flask
https://redd.it/1hpz4ob
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Planning flask project
I'm mostly self taught and am coming more from ds than webdev. The only webdev / html / css / js experience I have is from following Miguel's tutorial for a small blog.
I am building a website that hosts some of my ML models and takes in realtime data, then performs inference. The data pipeline is done, it uses a pub sub model and pushes the data to Redis.
I'm wondering:
- Is flask suitable for this as it doesn't support async intrinsically. The data pipeline is async and handles the data no issue, I tested it to 100's of GB a day. I would hate to have to rewrite. Is it as simple as switching to quart if need be?
- I would like nice realtime graphs to display everything. How would I let the website know that a new data point has been pushed? Somehow I need Redis to talk to flask.
- How would I make some kind of graph to display financial data. Can bootstrap do this or do I need some js library.
- I'm writing it using blueprints. Are there any repositories / sites that have already made blueprints. Seems like a waste
/r/flask
https://redd.it/1hq3zep
I'm mostly self taught and am coming more from ds than webdev. The only webdev / html / css / js experience I have is from following Miguel's tutorial for a small blog.
I am building a website that hosts some of my ML models and takes in realtime data, then performs inference. The data pipeline is done, it uses a pub sub model and pushes the data to Redis.
I'm wondering:
- Is flask suitable for this as it doesn't support async intrinsically. The data pipeline is async and handles the data no issue, I tested it to 100's of GB a day. I would hate to have to rewrite. Is it as simple as switching to quart if need be?
- I would like nice realtime graphs to display everything. How would I let the website know that a new data point has been pushed? Somehow I need Redis to talk to flask.
- How would I make some kind of graph to display financial data. Can bootstrap do this or do I need some js library.
- I'm writing it using blueprints. Are there any repositories / sites that have already made blueprints. Seems like a waste
/r/flask
https://redd.it/1hq3zep
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
How to structure project from beginning?
Have kind of a random question about django project structure and apps.
Let’s say you have an idea you want to test and get an MVP up pretty quickly. The end idea is complex and has many models and functionality.
Is it a good idea to separate functionally based on models into apps when you start or refactor later?
Let’s say as an example I have users, comments, projects, messages, and more.
Thanks!
/r/djangolearning
https://redd.it/1hp7sbq
Have kind of a random question about django project structure and apps.
Let’s say you have an idea you want to test and get an MVP up pretty quickly. The end idea is complex and has many models and functionality.
Is it a good idea to separate functionally based on models into apps when you start or refactor later?
Let’s say as an example I have users, comments, projects, messages, and more.
Thanks!
/r/djangolearning
https://redd.it/1hp7sbq
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Tuesday Daily Thread: Advanced questions
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1hq1fjw
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1hq1fjw
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
I made a CLI that generates terminal UIs from simple text prompts
Demo + more details here: https://github.com/shobrook/termite
What my project does:
Describe a terminal UI (TUI) in natural language (e.g., "Make me a dashboard for managing my Docker containers"), and an LLM will design and implement it within 1-2 minutes.
Target Audience:
Anyone building a TUI would benefit from this since it helps you quickly bootstrap or prototype one. But it's also useful as a general-purpose terminal assistant since a lot of tasks are best solved with an interface (e.g., "Show me which ports are currently active").
Comparison:
As far as I know, this is the first project to implement generative UI in the terminal. The concept of generating UI from text prompts has been around for the last year and is popular in the web development space (see v0.dev) but nonexistent in the world of terminals.
/r/Python
https://redd.it/1hpuh0o
Demo + more details here: https://github.com/shobrook/termite
What my project does:
Describe a terminal UI (TUI) in natural language (e.g., "Make me a dashboard for managing my Docker containers"), and an LLM will design and implement it within 1-2 minutes.
Target Audience:
Anyone building a TUI would benefit from this since it helps you quickly bootstrap or prototype one. But it's also useful as a general-purpose terminal assistant since a lot of tasks are best solved with an interface (e.g., "Show me which ports are currently active").
Comparison:
As far as I know, this is the first project to implement generative UI in the terminal. The concept of generating UI from text prompts has been around for the last year and is popular in the web development space (see v0.dev) but nonexistent in the world of terminals.
/r/Python
https://redd.it/1hpuh0o
GitHub
GitHub - shobrook/termite: Generative UI in your terminal
Generative UI in your terminal. Contribute to shobrook/termite development by creating an account on GitHub.
Python "guiding principles"
Longtime C, C++ and Java developer and teacher here. I came across the 1999 "Python Guiding Principles" and found a number of them to be, at best, opaque. Examples:
Beautiful is better than ugly
Now is better than never
Just from reading Python syntax, what I've been able to gather is that the language does not, among other things, force developers to type more characters than should be absolutely necessary to convey a programming concept. So no semicolons to terminate statements, no curly braces to delineate code blocks, etc.
Perhaps I'm missing what Tim Peters intended when he wrote the Guiding Principles. I thought they would be statements that are unique to Python, as compared with other languages. What they appear to be (and seen from this perspective I agree with most of them) are good guiding principles for software development in any language.
Would anyone like to weigh in on what they feel are the basic characteristics of Python that set it apart from other programming languages?
/r/Python
https://redd.it/1hpz4vp
Longtime C, C++ and Java developer and teacher here. I came across the 1999 "Python Guiding Principles" and found a number of them to be, at best, opaque. Examples:
Beautiful is better than ugly
Now is better than never
Just from reading Python syntax, what I've been able to gather is that the language does not, among other things, force developers to type more characters than should be absolutely necessary to convey a programming concept. So no semicolons to terminate statements, no curly braces to delineate code blocks, etc.
Perhaps I'm missing what Tim Peters intended when he wrote the Guiding Principles. I thought they would be statements that are unique to Python, as compared with other languages. What they appear to be (and seen from this perspective I agree with most of them) are good guiding principles for software development in any language.
Would anyone like to weigh in on what they feel are the basic characteristics of Python that set it apart from other programming languages?
/r/Python
https://redd.it/1hpz4vp
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Need help in email field. getting error
https://preview.redd.it/dx1zul2e46ae1.png?width=1880&format=png&auto=webp&s=2ea31662fca8ed6f5fd07bd10391bbbf942420d9
from flaskwtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField, BooleanField
from wtforms.validators import DataRequired, Length, Email, EqualTo
class RegistrationForm(FlaskForm):
username = StringField('Username',
validators=[DataRequired(), Length(min=2, max=20)])
email = StringField('Email',
validators=[DataRequired(), Email()])
password = PasswordField('Password', validators=[DataRequired()])
confirmpassword = PasswordField('Confirm Password',
validators=DataRequired(), EqualTo('password'))
submit = SubmitField('Sign Up')
class LoginForm(FlaskForm):
email = StringField('Email',
validators=DataRequired(), Email())
password = PasswordField('Password', validators=DataRequired())
remember = BooleanField('Remember Me')
submit = SubmitField('Login')
/r/flask
https://redd.it/1hqcptx
https://preview.redd.it/dx1zul2e46ae1.png?width=1880&format=png&auto=webp&s=2ea31662fca8ed6f5fd07bd10391bbbf942420d9
from flaskwtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField, BooleanField
from wtforms.validators import DataRequired, Length, Email, EqualTo
class RegistrationForm(FlaskForm):
username = StringField('Username',
validators=[DataRequired(), Length(min=2, max=20)])
email = StringField('Email',
validators=[DataRequired(), Email()])
password = PasswordField('Password', validators=[DataRequired()])
confirmpassword = PasswordField('Confirm Password',
validators=DataRequired(), EqualTo('password'))
submit = SubmitField('Sign Up')
class LoginForm(FlaskForm):
email = StringField('Email',
validators=DataRequired(), Email())
password = PasswordField('Password', validators=DataRequired())
remember = BooleanField('Remember Me')
submit = SubmitField('Login')
/r/flask
https://redd.it/1hqcptx
I've made a video showcase of my Python & Pygame 2024 projects
I just finished a video where I showcase the projects I’ve worked on this year using Python and Pygame. I'd love to share it with you🙂
What My Project Does
The video highlights a variety of projects, including a Voronoi diagram, maze generation, inverse kinematics, a face-swapping app, a physics-based puzzle game, fractals, and more. These projects showcase a use of Python and Pygame to create different kinds of graphical applications.
Target Audience
The projects are primarily learning experiments and hobbyist creations meant to inspire and others in the Python community.
Comparison
These projects explore creative and technical concepts within the Python and Pygame. While they don’t aim to replace tools or libraries, they focus on showcasing how even lightweight frameworks like Pygame can handle topics like physics and visual effects.
Here’s the link to the video: https://youtu.be/osIiUCe\_47s
The source code for most projects is available on my GitHub. If you can’t find something, feel free to ask!
https://github.com/robomarchello
Wishing you all a Happy New Year 🎉
/r/Python
https://redd.it/1hqc5rx
I just finished a video where I showcase the projects I’ve worked on this year using Python and Pygame. I'd love to share it with you🙂
What My Project Does
The video highlights a variety of projects, including a Voronoi diagram, maze generation, inverse kinematics, a face-swapping app, a physics-based puzzle game, fractals, and more. These projects showcase a use of Python and Pygame to create different kinds of graphical applications.
Target Audience
The projects are primarily learning experiments and hobbyist creations meant to inspire and others in the Python community.
Comparison
These projects explore creative and technical concepts within the Python and Pygame. While they don’t aim to replace tools or libraries, they focus on showcasing how even lightweight frameworks like Pygame can handle topics like physics and visual effects.
Here’s the link to the video: https://youtu.be/osIiUCe\_47s
The source code for most projects is available on my GitHub. If you can’t find something, feel free to ask!
https://github.com/robomarchello
Wishing you all a Happy New Year 🎉
/r/Python
https://redd.it/1hqc5rx
YouTube
My 2024 Pygame Projects!
A video showcase of my 2024 Python and Pygame projects! This is actually my fourth year using Pygame. Hope you enjoy watching😊
Big thanks to the incredible Pygame community and of course Python for making all these projects possible:) Happy New Year!
Edit:…
Big thanks to the incredible Pygame community and of course Python for making all these projects possible:) Happy New Year!
Edit:…
Requirements.txt Auto-sorting VSCode Extension
Hi everyone,
I’ve recently developed a simple Visual Studio Code extension that automatically sorts the
What My Project Does: This extension alphabetically sorts the requirements.txt file while preserving comment requirement pairs. For example if a comment precedes a requirement, after alphabetically sorting the file, the comment requirement pair will stay grouped together. Essentially, this extension removes the need to use the command prompt's "Sort Lines Ascending" or "Descending" and will automatically alphabetize the file on save using the keyboard shortcut (cmd + s / control + s).
Target Audience: The project is intended for developers who are typically working in larger projects where there may be a long list of required packages. Additionally, developers who leave comments on their requirements.txt file to help track or manage version dependencies across multiple packages may find this useful.
Comparison: Unlike the built in Sort Lines Ascending and Descending, which also alphabetically sort the comments, this project leaves them intact and removes the need to navigate to the command prompt to sort the file. The sorting takes place on
/r/Python
https://redd.it/1hqdcza
Hi everyone,
I’ve recently developed a simple Visual Studio Code extension that automatically sorts the
requirements.txt file alphabetically whenever you save. In larger projects, I often find myself searching to locate specific packages and their versions, so I thought this tool might help streamline that process.What My Project Does: This extension alphabetically sorts the requirements.txt file while preserving comment requirement pairs. For example if a comment precedes a requirement, after alphabetically sorting the file, the comment requirement pair will stay grouped together. Essentially, this extension removes the need to use the command prompt's "Sort Lines Ascending" or "Descending" and will automatically alphabetize the file on save using the keyboard shortcut (cmd + s / control + s).
Target Audience: The project is intended for developers who are typically working in larger projects where there may be a long list of required packages. Additionally, developers who leave comments on their requirements.txt file to help track or manage version dependencies across multiple packages may find this useful.
Comparison: Unlike the built in Sort Lines Ascending and Descending, which also alphabetically sort the comments, this project leaves them intact and removes the need to navigate to the command prompt to sort the file. The sorting takes place on
/r/Python
https://redd.it/1hqdcza
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Trending Django Projects in 2024
https://django.wtf/trending/?trending=365
/r/django
https://redd.it/1hqfkrx
https://django.wtf/trending/?trending=365
/r/django
https://redd.it/1hqfkrx
django.wtf
Trending Django projects
Trending Django projects in the past 14 days
Supporting Nested Functions in Python Bytecode
Hi everyone! I’ve been building a Python interpreter in Rust, and my latest post dives into how I added support for nested functions in bytecode. If you’re curious about Python internals, interpreters, or how to unintentionally learn two languages deeply at the same time, check it out here: https://blog.fromscratchcode.com/how-i-added-support-for-nested-functions-in-python-bytecode. I’d love to hear your thoughts or answer any questions!
/r/Python
https://redd.it/1hqkqxn
Hi everyone! I’ve been building a Python interpreter in Rust, and my latest post dives into how I added support for nested functions in bytecode. If you’re curious about Python internals, interpreters, or how to unintentionally learn two languages deeply at the same time, check it out here: https://blog.fromscratchcode.com/how-i-added-support-for-nested-functions-in-python-bytecode. I’d love to hear your thoughts or answer any questions!
/r/Python
https://redd.it/1hqkqxn
From Scratch Code
How I added support for nested functions in Python bytecode
Learn about Python bytecode and adding support for nested functions with insights into Memphis, a Python interpreter in Rust.