CPython
ipython
Our great sponsors
CPython | ipython | |
---|---|---|
717 | 29 | |
45,090 | 15,357 | |
3.2% | 0.4% | |
10.0 | 9.7 | |
5 days ago | 12 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CPython
- Which sorting algorithm is the most efficient (fastest)? Is this right?
-
A Beginners guide to Python.
Go on Python's official site and download it.
-
Automating Notepad and Excel applications in Python
To follow along, the reader must have a good knowledge of Python.
-
Is there a reason why my code immediately closes?
from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager import time # driver = webdriver.Chrome(ChromeDriverManager().install()) # #chromedriver_autoinstaller.install() # driver = webdriver.Chrome(ChromeDriverManager().install()) driver = webdriver.Chrome(ChromeDriverManager(version = '101.0.4951.41').install()) driver.get("http://www.python.org") # path = '/Users/jiggz/Desktop/chromedriver 2' driver.get('https://www.youtube.com/')
-
How I setup a new machine for development
Machine: Acer Nitro 5 AN515-58 Operating System: Windows 11, Fedora 36 Editors: VS Code, Sublime Text, Android Studio, IntelliJ Idea Programming Languages: Python, Flutter, Java, JavaScript, Node Productivity: Cron Calendar, Notion, Anytype, Spotify, Discord, Todoist Extensions: Vitesse Theme, Flutter, Python, Prettier, Carbon Product Icons, Codesnap
- Il parallelismo in Python in quattro linee di codice (più o meno)
-
I think the CTX package on PyPI has been hacked!
You are most welcome! In fact I had my issues with this too and can relate. Btw., I am sure Python would benefit from issues that mention concrete shortcomings, that is, if you are up to another good deed.
- A smart way to print :)
-
Help with multiple frames in their own classes and handling resizing
https://github.com/python/cpython/tree/main/Lib/tkinter https://github.com/python/cpython/tree/main/Lib/idlelib https://github.com/python/cpython/blob/main/Lib/turtle.py
- First Python Bug Report -- I'll be old enough to wear long pants any day now.
ipython
-
External variables in lambda functions in Python
There is an IPython ticket on GitHub on the topic, but it's unclear if the problem has been solved.
-
Pipx: A python package consumption tool for CLI packages
For further documentation on ipython using the CLI, you can refer to the GitHub link or the documentation page.
-
Workflow-killing crash from strange added characters.
> ??????_ Traceback (most recent call last): File "/home/nvaughn4/bin/miniconda3/envs/newprime/bin/ipython", line 11, in sys.exit(start_ipython()) File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/__init__.py", line 126, in start_ipython return launch_new_instance(argv=argv, **kwargs) File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance app.start() File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/terminal/ipapp.py", line 356, in start self.shell.mainloop() File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 563, in mainloop self.interact() File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 554, in interact self.run_cell(code, store_history=True) File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2858, in run_cell raw_cell, store_history, silent, shell_futures) File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2880, in _run_cell elif self.should_run_async(raw_cell): File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2918, in should_run_async return _should_be_async(cell) File "/home/nvaughn4/bin/miniconda3/envs/newprime/lib/python3.6/site-packages/IPython/core/async_helpers.py", line 161, in _should_be_async code = compile(cell, "<>", "exec") UnicodeEncodeError: 'utf-8' codec can't encode characters in position 537-542: surrogates not allowed If you suspect this is an IPython 7.15.0 bug, please report it at: https://github.com/ipython/ipython/issues or send an email to the mailing list at [email protected] You can print a more detailed traceback right now with "%tb", or use "%debug" to interactively debug it. Extra-detailed tracebacks for bug-reporting purposes can be enabled via: %config Application.verbose_crash=True sys:1: RuntimeWarning: coroutine 'InteractiveShell.run_cell_async' was never awaited
-
No_color
There’s one I’ve come across recently here where you’re fighting against syntax highlighting with extra error context. https://github.com/ipython/ipython/issues/13446#issuecomment...
-
Anybody else getting tired of parso and jedi?
I see. https://github.com/ipython/ipython/issues/13529
-
Django Codebase Reformatted with Black
You can automate setup for developers using this simple script:
https://github.com/ipython/ipython/pull/12091/files
And here’s a GitLab issue requesting support for blame-ignore:
https://gitlab.com/gitlab-org/gitlab/-/issues/31423
I don’t think there’s a corresponding GitHub request, but maybe if GitLab adds this feature GitHub will have some incentive to follow suit.
-
Formatting Code with Black
Here’s a script that automates the once-per-repository local setup of this feature:
https://github.com/ipython/ipython/pull/12091/files
Unfortunately there isn’t support for it in GitHub or GitLab yet, but there’s at least a GitLab issue here requesting it:
-
Black, the Uncompromising (Python) Code Formatter Is Stable
“the next release will likely revert it”
— Carreau, https://github.com/ipython/ipython/issues/13463#issuecomment...
What are some alternatives?
RustPython - A Python Interpreter written in Rust
Vulpix - Fast, unopinionated, minimalist web framework for .NET core inspired by express.js
vim-slime - A vim plugin to give you some slime. (Emacs)
Visual Studio Code - Visual Studio Code
go - The Go programming language
spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
Django - The Web framework for perfectionists with deadlines.
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
bpython - bpython - A fancy curses interface to the Python interactive interpreter
Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE - Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!
OpenVPN - OpenVPN is an open source VPN daemon
guizero - A Python 3 library to allow learners to quickly and easily create GUIs.