Masthash

#pythonprogramming

kariscodes
2 days ago

Developing a full-stack application such as the one showcased in this tutorial is preceded by configuring a development environment in your favorite integrated development environment (IDE). Let's see how to set up the development environment for our full-stack web mapping app.

https://www.youtube.com/watch?v=9HzGDsm779U

Please like, share, and subscribe for more content. Let's learn together.

#fullstackdevelopment #geospatial #django #pythonprogramming #react #webdevelopment

Joseph Kariuki
2 days ago

Developing a full-stack application such as the one showcased in this tutorial is preceded by configuring a development environment in your favorite integrated development environment (IDE). Let's see how to set up the development environment for our full-stack web mapping app.

https://www.youtube.com/watch?v=9HzGDsm779U

Please like, share, and subscribe for more content. Let's learn together.

#fullstackdevelopment #geospatial #django #pythonprogramming #react #webdevelopment

R-Ladies Rome
3 weeks ago

🆕 R-Ladies Rome has a WhatsApp channel 🆕 🔝

Follow us here: https://whatsapp.com/channel/0029Va8QxrA1NCrPtKcBut3Z

🗞 Stay updated with the latest hot topic in the industry. 🤳

Federica Gazzelloni @fgazzelloni
Francesca Picone @Francesca Katie Wood, OMCA™
R-Ladies Global @RLadiesGlobal
#rladies #datascience #networking #communication #womenindata #womeneducators #opensourcecommunity #opensource #opensourcesoftware #rprogramming #rstats #pythonprogramming #pyladies Posit PBC R Consortium The Linux Foundation

Statistics Globe
3 weeks ago

Hey, I've created a tutorial on how to append multiple DataFrames vertically using the pandas library in the Python programming language: https://statisticsglobe.com/append-pandas-dataframe-python

#pythonprogramming #statisticians #Statistics

Seve_py :vim: :python:
4 weeks ago

Can you guess the output of this python code? 🐍
for i in range(1,-1):
print(i)

#python #pythonprogramming

Phylum
1 month ago

We continue to see #malware #python packages published to #pypi. Over the last few days we've been tracking a series of #software packages purporting to help with internationalization.

https://blog.phylum.io/obfuscated-pypi-packages-purporting-to-be-i18n-libraries-actually-stealing-telegram-data/

We're also tracking several other campaigns in other ecosystems. More on this to follow.

#opensource #pythonprogramming #cybersecurity #supplychain

techbeamers
1 month ago

Updated: Demonstrating 3 most famous design patterns to print patterns in Python #pythonprogramming #factory #singleton #adapter
https://www.techbeamers.com/pattern-programs-in-python/

Statistics Globe
1 month ago

Quick Python Quiz - Output of Code Snippet!

Explain this: What is the output of the following Python code?

#python #pythonprogramming #CodingTips #codingquiz #statistics

Leanpub
1 month ago

Real World Python is the featured Track on the Leanpub homepage! http://leanpub.com/set/leanpub/realworldpython #courses #Python #PythonProgramming

Statistics Globe
2 months ago

This Mistake Happens All the Time in Python!

Avoid this mistake in Python and receive a benefit!

#python #pythonprogramming #pythonquiz #datascience #Coding

Bob Belderbos
2 months ago

❗Why?

When an element is removed, the list is re-indexed, and the next item is skipped during iteration.

✅ Solution: build up a new list using a list comprehension:

numbers = list(range(1, 50))
numbers = [n for n in numbers if n >= 20]
print(numbers)

Now, numbers contains [20, 21, ..., 49], as expected!

This way, you avoid the pitfall of modifying a list while iterating over it 😍 📈

+ Bonus: the use of a list comprehension or "listcomp" is very Pythonic 🐍

#python #tips #pythonprogramming

Statistics Globe
2 months ago

Python INTEGER Trick (EASY Life) !!

How to print integers with manually specified separators in the Python programming language.

#python #integers #pythonprogramming #programming

Statistics Globe
2 months ago

POWERFUL Trick for Python DICTIONARIES ???!!

How to use dictionary comprehension to get the lengths of all strings in the Python programming language.

#python #pythonprogramming #dictionary

techbeamers
3 months ago

7 rainbow methods to concatenate multiple strings in Python #Python #pythonprogramming
https://www.techbeamers.com/string-concatenation-in-python/

Statistics Globe
3 months ago

Why does this happen in Python?

Can you explain the output when printing this Python list? Let me know in the comments!

#python #pythonprogramming #pythonlist #dataanalytics #datascience

M usman
3 months ago

1000 python programs pdf:
https://codelikechamp.com/1000-python-programs-pdf/
Website link: https://codelikechamp.com
click on link to read it is available in 100+ world wide languages, so share with every body for educational purpose only.
#pythonprogramming #python #metaclass #forloop #pythonpdf

M usman
3 months ago

Decrementing for loop in Python: https://codelikechamp.com/decrementing-for-loop-python/ Website link: https://codelikechamp.com
click on link to read it is available in 100+ world wide languages, so share with every body for educational purpose only. #pythonprogramming #python #metaclass #forloop

Rhett Allain
3 months ago

Using the finite difference method to solve the 1D infinite square well. #physics
#python #pythonprogramming .
https://youtu.be/C_HxfAn6ngw

Statistics Globe
3 months ago

Drawing Line Plots is so Simple in Python!

Drawing line plots in Python is so easy. Check out the video to learn how to do it in a simple way!

#python #pythonprogramming #pandas #lineplots #analytics #dataviz

M usman
3 months ago

Introduction to Python Regular Expression Split: https://codelikechamp.com/python-regular-expression-split-in-detail/
Website link: https://codelikechamp.com
click on link to read it is available in 100+ world wide languages on pc, so share with every body for educational purpose only.
#python #programming #pythonprogramming #downgrade

M usman
3 months ago

How to Downgrade Python to 3.8: https://codelikechamp.com/how-to-downgrade-python-to-3-8/
Website link: https://codelikechamp.com
click on link to read it is available in 100+ world wide languages on pc, so share with every body for educational purpose only.
#python #programming #pythonprogramming #downgrade

Interested in computer programming? Learn R and Python with our September UC Carpentries Fall 2023 workshop. Virtual and open to all!
#pythonprogramming #datamanagement
https://www.library.ucsf.edu/news/uc-carpentries-fall-2023/

M usman
3 months ago

How to Downgrade Python 3.11 to 3.10: https://codelikechamp.com/how-to-downgrade-python-3-11-to-3-10/

Website link: https://codelikechamp.com

click on link to read it is available in 100+ world wide languages on pc, so share with every body for educational purpose only.

#python #programming #pythonprogramming #downgradepython

Xen
3 months ago

I just wanted to pat myself on the back a little bit tonight, I finished my #pythonprogramming class today with an A in the class. My skills still need improvement but I have the fundamentals down. My final project I posted on my #github link in my bio, it’s a small text based adventure game based on Dracula. Fundamentals in #ApplicationDevelopment with #java is next after a well earned week break.

Leanpub
3 months ago

Python Programming Bootcamp for Scientists: A Python course for people without programming background https://leanpub.com/c/bootcamp #courses #Python #pythonprogramming

Bob Belderbos
3 months ago

People newer to Python often get confused by the statement:

if __name__ == "__main__":

That's many underscores ("dunders"), right?

In essence it lets you put code in your module that ONLY should execute when the module is called directly. So not when you import from it.

I explain this further with a practical example in this 3 minute video:
https://www.youtube.com/watch?v=ubpFY7_dAW4

#python #pythonprogramming #encapsulation #pythoncoding

Constraint Programming 2023
3 months ago

2/ After that, there will be no less than seven talks and two discussions, covering MOOCs, curriculum choices, teaching CP with PyCSP3 and many more CP teaching-related topics!

So if you haven't done so already, go to our website to register for the workshop day or just for the entire conference, while you're at it 😉

https://cp2023.a4cp.org/registration.html

#CP2023conf #ConstraintProgramming #Teaching #AcademicMastodon #AcademicChatter #Conference #Workshop #PythonProgramming

Leanpub
4 months ago

Check out Real World Python http://leanpub.com/set/leanpub/realworldpython It's the featured Track on the Leanpub homepage todau! https://leanpub.com #courses #Python #pythonprogramming

Leanpub
4 months ago

7 Course-Bundle: Shut Up and Code Python + PyCharm + Coding Interview + Machine Learning + One-Liners + Regex + Lambdas http://leanpub.com/set/leanpub/7courses is the featured course Track on the Leanpub homepage! https://leanpub.com #courses #Python #pythonprogramming

Fabrizio Musacchio
4 months ago

Just recently discovered: Supercharge #conda package management with #mamba and get ultra-fast #Python package installations ⚡️

🌎 https://www.fabriziomusacchio.com/blog/2023-07-07-mamba_vs_conda/
🌎 https://mamba.readthedocs.io/en/latest/index.html

#DataScience #PackageManagement #PythonProgramming 🐍

Mamba terminal output. #Mamba, built as an alternative to #conda, is a drop-in replacement that focuses on delivering lightning-fast #Python package installations.
Marcel Gaida
4 months ago

Annoyed by missing AQI Alerts in my area, I created a script that checks it hourly and sends push notifications via Pushbullet using GitHub Actions.

Fork my repository https://github.com/marcel-gaida/AirAlert_Notification , follow the instructions in the readme, and adjust it to your location. The weather data is saved to a CSV file for visualization in your repository.

#coding #python #github #dev #developer #aqi #air #weather #api #data #programming #pythonprogramming #pushbullet #iqair

Leanpub
4 months ago

Leanpub book LAUNCH! Python Test Automation: The Scenic Route: An easy going introduction to Python testing by Josh Grant https://youtu.be/4m2AX3RZru8 #books #leanpublishing #selfpublishing #booklaunch #python #pythonprogramming #softwaretesting

Statistics Globe
4 months ago

Python LOVES You!!!!!?

How to draw a heart with a message using the turtle module in the Python programming language.

#python #pythonprogramming #programming #datavisualization

Leanpub
4 months ago

The Indie Python Extravaganza https://leanpub.com/b/theindiepythonextravaganza by Michael Driscoll, Rodrigo Girão Serrão @ Mathspp, Sundeep Agarwal and Leonardo Giordani is the featured bundle on the Leanpub homepage! https://leanpub.com #books #python #pythonprogramming

Leanpub
4 months ago

Real World Python http://leanpub.com/set/leanpub/realworldpython by Lukas Rieger and Christian Mayer is the featured Track on the Leanpub homepage! https://leanpub.com #courses #Python #pythonprogramming #programming #software

Ignytis
4 months ago

An experiment: to build a separate set of Python dependencies and inject it into different Docker images via layers

Status: semi-success

The idea:
1. There are Python Docker images (A, B) which need the same set of dependencies (x, y)
2. We build a separate Python Docker image M with venv + (x, y) dependencies installed
3. Build base images for A, B
4. Put 'x' from M on top of each of them into a separate directory (e.g. /opt/mydeps/site-packages) using multistage building
5. Register '/opt/mydeps/site-packages' in PYTHONPATH

Result:
Well, technically it works and all deps could be imported into Python. The problem starts when peer dependencies intersect. Let's say:
- A depends on package z v1.0
- x depends on package z v2.0
Python will load z v2.0 from PYTHONPATH while A will expect z v1.0

#development #Python #pythonprogramming

Statistics Globe
5 months ago

Python Indices Can Really Be Used Like This???

This video explains how to insert a new row at a certain index position of a pandas DataFrame. We have to slice our data!!!

#python #pythonprogramming #index #dataframe

vulpes8006
5 months ago
Where's the #ai #ml #programmers and #coders at? I've recently started learning LangChain. What have you used it for without using an #OpenAI model?

I've just trained my model on documents through scraping, direct download, and directory import. I'll be using that model with #NLP chat bots for a Q&A system. It's my first #deeplearning program, so we'll see how it goes


#llm #scripting #machinelearning #artificialintelligence #datascience #python #technology #programming #coding #bigdata #computerscience #tech #data #software #dataanalytics #pythonprogramming #developer #datascientist #programmer #coder #analytics
Leanpub
5 months ago

Python Networking Masterclass https://leanpub.com/b/pythonnetworkingmasterclass by GitforGits | Asian Publishing House is the featured bundle on the Leanpub homepage! https://leanpub.com cc @GitforGits #books #Python #pythonprogramming

Surya Teja K
5 months ago

Hey, I run a blog for dev things in #rustlang #Angular #JavaScript #Python

Link: https://surya-dev-journey.hashnode.dev

There isn’t a schedule per-se, I write whenever I find time. Check it out!

#opensource #maintainer #pythonprogramming #AngularDev

Amogh :verified:
5 months ago

When I was first learning to program 👨‍💻

I always used to wonder 🤔

What's the point of converting something into a string? 🎻

Why will there always be a separate chapter on strings? 👨‍🎓

Until I discoverd...😳👇

A thread 🧵..

#webdeveloper #100DaysOfCode #javascript #Python #pythonprogramming #programming #webdevelopment #webdesign #webdev #web #internet #india #website #js #jsx #javascriptdeveloper #javascriptdemo #javascriptcore #code #coding #newbie #newbies #codenewbie

Carl Gold, PhD
6 months ago

#python #pandas #lessonlearned today: (1) Merge does not preserve the order unless you are merging by the index. (2) Make sure to use `ignore_index=True` when you concat or your index might acquire duplicates. Want to hear how much fun I had #debugging to come up with these gems of wisdom? 😂 #pythonprogramming

kariscodes
6 months ago

The MVT pattern, which is used in #django , is an adaptable web development pattern that can be used to create applications that are both high-quality and user-friendly. I recommend learning about the MVT pattern if you are new to web development using Django. It is a great starting point for creating web applications.

#webdevelopment #pythonprogramming #django #html

Joseph Kariuki
6 months ago

You should concentrate on a few essential ideas as a beginning studying Django in order to establish a strong foundation. It's crucial to remember that learning Django entails building projects. You will be able to practice these ideas and become proficient in Django development by following tutorials, reviewing the official documentation, and working on small projects. 😀
#webdevelopment #django #pythonprogramming #backenddevelopment

Christoffer S.
7 months ago

#Fediverse request for advice. I want to build a mini real time display, like 2-4", for my daughters' blood glucose (she has diabetes type 1).

Ideally a battery driven eink (colour perhaps?) display, with some python programming support and wifi.

This whole hardware thing is new to me, programming is not.

What would you use?

#PythonProgramming #T1D #RealTime #BloodGlucose #WeAreNotWaiting

Astroniz
7 months ago

All my #space #science with #python code is freely available on @github. Check it out and leave a star if you like it! #pythonprogramming #astronomy

https://github.com/ThomasAlbin/Astroniz-YT-Tutorials

Leanpub
7 months ago

A Simple Path to Python Success http://leanpub.com/set/leanpub/asimplepathtopythonsuccess by Christian Mayer, Lukas Rieger and Shubham Sayon is the featured Track on the Leanpub homepage! https://leanpub.com #courses #Python #pythonprogramming

Leanpub
7 months ago

7 Course-Bundle: Shut Up and Code Python + PyCharm + Coding Interview + Machine Learning + One-Liners + Regex + Lambdas http://leanpub.com/set/leanpub/7courses is the featured Track on the Leanpub homepage! https://leanpub.com #courses #Python #pythonprogramming

Don Watkins
7 months ago

How I teach Python with open source tools | Opensource.com

https://opensource.com/article/23/4/how-i-teach-python #Edutooter #Python #pythonprogramming

knightlife
7 months ago

#Python gurus , is Python an energy INEFFICIENT language by 50% as compared to rust? Here is the entire article. #pythonprogramming

https://epaper.timesgroup.com/article-share?article=21_04_2023_023_014_toim_TOI

CryptoNewsBot
7 months ago

How to learn Python with ChatGPT - Learn Python with ChatGPT’s personalized assistance, coding pract... - https://cointelegraph.com/news/how-to-learn-python-with-chatgpt #pythonprogramming #codingassistance #bestpractices. #learnpython #chatgpt

Javed Ali
7 months ago

I created a #Python #automation for transcribing any #YouTube video to text files with language detection. You will get accurate, customizable results while saving time and free of cost. It is very easy to use and can be useful for #content #creators, #researchers, and #educators!

Learn more in my latest blogpost: https://www.javedali.net/post/2023-04-audio-to-text/

#pythonprogramming #audio #transcription #audiototext

F# Online
8 months ago

Join Paige for a conversation about Polyglot Notebooks and F#!
#fsharp #javascript #pythonprogramming #SoftwareDeveloper

http://bit.ly/3UjLOms

There ain't a single use for python in the real life, it's only purpose is to satisfy the masochism of people who invented it.

This ain't trolling, these are the facts they don't want you to know. :=

#CS #ComputerScience #Python #pythonprogramming #programming

Really enjoyed tonight's Python Dojo Meetup. Nice people and enthusiastic knowledge sharing. What else does one need? 💕 #pythonprogramming #python #meetup #Bristol

Leanpub
8 months ago

A Simple Path to Python Success http://leanpub.com/set/leanpub/asimplepathtopythonsuccess by Christian Mayer, Lukas Rieger and Shubham Sayon is the featured Track on the Leanpub homepage! https://leanpub.com #courses #Python #pythonprogramming

Leanpub
9 months ago

Leanpub book LAUNCH video! Practical Python Artificial Intelligence Programming by Mark Watson https://youtu.be/QDHyhRlayuk #books #leanpublishing #selfpublishing #booklaunch #python #pythonprogramming #AI #artificialintelligence #programming #software

Joey deVilla 🪗
9 months ago

After seeing the article about using Swift’s NumberFormatter to convert numbers into their word form, someone asked if there’s something similar for Python. There is — inflect.py — and I’ll show you how to use it!

#Python #programming #coding #PythonProgramming

https://www.globalnerdy.com/2023/03/02/converting-a-number-into-words-this-time-with-python-and-inflect-py/

Joseph Zikusooka
9 months ago

TIP: Calculate the age of a file using Python’s os module

ZikTIPS #Python #pythonprogramming #Python3 #pythonlearning #pythoncode

RecursiveNeuron :verified:
10 months ago

🐍 Never stop coding - python forever

#pythonprogramming #python #python3 #programminghumor #programming

RecursiveNeuron :verified:
10 months ago
RecursiveNeuron :verified:
10 months ago

What will be the right choice?

#pythonquiz #python #pythonprogramming

RecursiveNeuron :verified:
10 months ago

🐍 python quiz

Hello new python and non-python programmers, can you guess the output?

#python #programmers #developers #python3 #pythonprogramming #programming

RecursiveNeuron :verified:
10 months ago

Python quiz

What is the output?

A. 10
B. 2
C. Syntax error
D. 5

#python #pythonquiz #python3 #pythonprogramming

RecursiveNeuron :verified:
10 months ago

Python quiz

What is the output?

A. 5
B. 2
C. Syntax error
D. None

#python #pythonquiz #python3 #pythonprogramming

RecursiveNeuron :verified:
10 months ago
RecursiveNeuron :verified:
10 months ago

✨ Over 100+ Machine Learning projects solved & explained using Python

➡️ 66 Beginners level projects
➡️ 46 Advanced Level projects

https://thecleverprogrammer.com/2020/11/15/machine-learning-projects/

#MachineLearning #artificalintelligence #AI #python #python3 #pythonprogramming

RecursiveNeuron :verified:
10 months ago

Can Anyone Successfully Change My Dog’s Gender?

➡️ Python Dog class with read-only attributes

https://link.medium.com/eDhM1hmXAwb

#Python #pythonprogramming #python3 #programming

RecursiveNeuron :verified:
10 months ago

Python quiz:

What is the output of this code?

#python #python3 #pythonprogramming #pythonquiz #pythontips

RecursiveNeuron :verified:
10 months ago

Python quiz

a. [1, 4]
[1, 4, 5]

b. [1, 4, 5]
[1, 4, 5]

c. [1, 4]
[1, 4]

#python #pythonprogramming
#pythontips #programmer #Python3 #pythonquiz

Code Division
11 months ago

Happy New Year from us at Code Division 🎆

Whether you're looking for job opportunities, to learn a new programming language, or just get a solid grounding in digital skills, we have a number of online courses designed to help you reach your goals this year.

And with full funding available for eligible learners in Scotland, there's no excuse not to get started!

codedivision.co.uk/communitycourses

#newyear #learning #education #upskilling #datascience #pythonprogramming #javaprogramming

RecursiveNeuron :verified:
11 months ago

#PythonQuiz: What will be the output of the below code?

Options:

A. 24
2

B. 17
8

C. 24
8

D. 17
2

#pythonprogramming #Python #Coding #programming

RecursiveNeuron :verified:
11 months ago

🐍 Python quiz

What is the language that never gets printed ?

A. Golang
B. Java
C. Python
D. Python and JavaScript
E. Java and JavaScript

#python #pythonprogramming #python3 #pythonquiz

Nikahverse
11 months ago

A free open source book: Modern Polars.
This is a side-by-side comparison of the Polars and Pandas dataframe libraries, based on Modern Pandas by Tom Augsburger.
https://kevinheavey.github.io/modern-polars/

#opensource #pythonprogramming #python #pandas #polars #books #python3

RecursiveNeuron :verified:
11 months ago

Python quiz time

What is the result?

A.
0 Sunday
1 Monday
2 None
3 None
4 None
5 None
6 None

B.
0 Sunday
1 Monday

C.
1 Sunday
2 Monday
3 None
4 None
5 None
6 None
7 None

D.
Gives error since list size mismatched

#Python #pythonquiz #python3 #pythonprogramming

RecursiveNeuron :verified:
11 months ago

🐍 "else" statement can be used in both for loops and while loops also

How does it work?

▶️ Executed only if the loop completes normally

▶️ If the loop is terminated by a "break" statement,"else" block won't be executed

Example syntax:

####
for i in range(10):
print(i)
else:
print("for loop ended without break ")
####

This will print 0 to 9 then prints the "for loop ended without break"

--

▶️ In this code snippet(of the image), we generate random number(n) between 1 to 10.

▶️ We loop through the list

▶️ If the "n" matches with the list's index,it will "break" the loop. In that case it won't execute else

▶️ If the 'n' didn't match with any index,it will execute "else"

#python #pythonprogramming
#pythontips #python3

RecursiveNeuron :verified:
11 months ago

🐍 Python quiz

What is the result and why?

#pythonquiz #python #python3 #pythonprogramming

RecursiveNeuron :verified:
11 months ago

🐍 Single #Python cmd,find what is max number of lines of code in a single file of your project

▶️ Let's know what is max no.of lines in your project

python3 -c "import pathlib; print(max(len(p.read_text().splitlines()) for p in pathlib.Path().rglob('*.py')))"

*There are easier ways than this in #linux though

#python3 #pythonprogramming

RecursiveNeuron :verified:
11 months ago

🌀 Numpy Where function

🔶numpy.where(condition,x,y)

🔶An useful function that takes

1st arg: Condition to check

2nd arg: Value to be returned if the condition is true

3rd arg: Value to be returned if the condition is false

In the above code, we loop through each element and check the condition if it is less than or equal to "0.2"

If it is true, then it returns 0
Otherwise the original value.

So, the numpy array will become
[0.9, 0.4, 0. , 0.3, 0. ]

🔶 so you can replace value in numpy array based on certain conditions.

🔶In this case, all value less than or equals to 0.2 is being replaced with 0

#python #Python3 #pythonprogramming #DataScience
#MachineLearning
#DataScientists

RecursiveNeuron :verified:
11 months ago

Python 3.11 improvement:

This is a graph of CPU utilization for the web services that power #PyPI.

▶️ They upgraded from python 3.10 to 3.11
▶️ a significant and correlated drop in CPU usage

#python #python3 #pythonprogramming #programming #python311