Jeff Glass

Results 168 comments of Jeff Glass

It sounds like either the server you're using to serve the files in question, or the framework you're working in, is adding a [Content Security Policy](https://csper.io/blog/csp-violates-the-content-security-policy-directive) that is blocking your...

@Prakash1124 I think maybe you have some html-like tags in your question that GitHub is hiding. For a tag like `` to be visible, either surround it with backtick \`...

I suspect Cloudflare's minifier is stripping whitespace out of your python code, while leaving the newlines intact. So your first code block (with everything on the same indentation level) works...

Hi @marimeireles! It think this is actually expected (if unintuitive) behavior that I've tripped on a couple times. When the \ tag [evaluates](https://github.com/pyscript/pyscript/blob/fa7a97ca3087d9f5c0a1fe2787a57201a33a6dce/pyscriptjs/src/components/base.ts#L125-L134), Pyscript calls pyodide's [runPython](https://github.com/pyodide/pyodide/blob/6ca76fb725161dacf1940406f5996bc817ac00bb/src/js/api.ts#L72-L81)/[runPythonAsync](https://github.com/pyodide/pyodide/blob/6ca76fb725161dacf1940406f5996bc817ac00bb/src/js/api.ts#L173-L182), which are wrappers...

If you [open your browser's developer console](https://appuals.com/open-browser-console/), you may see an error like `ValueError: Couldn't find a pure Python 3 wheel for 'scapy'. You can use micropip.install(..., keep_going=True) to get...

@archsr I'm not super familiar with that package, but assuming it's [this MySQL Connector](https://dev.mysql.com/doc/connector-python/en/), its name on PyPI is [mysql-connector-python](https://dev.mysql.com/doc/connector-python/en/connector-python-installation-binary.html). That will resolve the micropip issue: ```html - mysql-connector-python import...

Agreed - believe this can be closed as _wontfix_ or perhaps _wontfix-upstream_.

I'm going to go out on an limb here and propose a change: - by default, print() outputs to the js console _**and to the page**_ I'm prosing this as...

@fpliger Absolutely agree with you - having a `display` function that provides ways to shape the way that content is created and deliver it to the right place in the...

Unless I'm misunderstanding your intent, this functionality is already present in [the tag](https://github.com/pyscript/pyscript/blob/479348eec9739eed3b7c4bdf98cf1dedbc303be7/docs/tutorials/getting-started.md#the-py-env-tag), which loads the listed packages from the [pyodide built-in packages](https://pyodide.org/en/stable/usage/packages-in-pyodide.html) if available, or tries to load them...