Comments (3)
I think the only thing that should be done is use the python -P
| PYTHONSAFEPATH=1 python
in all of the application startup scripts/shortcuts like in biolab/orange3-installers#52
from orange3.
Per https://docs.python.org/3/library/sys_path_init.html, the first directory in sys.path
is the current directory (when started with -m
, otherwise the directory of the current script). It would seem safe to remove it, e.g. by putting del sys.path[0]
in __main__
.
I tried and it doesn't seem to cause any problems. Does anybody, in particular @ales-erjavec, see any problem?
from orange3.
In Python 3.11 there is a python -P
| PYTHONSAFEPATH=1 python
option which does not add those path entries. So the delete cannot be unconditional.
Also this would need to be in Orange/__init__.py
before anything else is imported.
from orange3.
Related Issues (20)
- ? (upper border) not working on most windows HOT 2
- Aren't ? (up) and ? (down) redundant on a window? HOT 2
- Dark Theme issue in Nomogram
- Inconsistent and Incorrect conversion of text "NA" to unknown in the File widget HOT 4
- do you have any examples that use Orange3 for brain image analysis and network analysis? HOT 1
- Feature request: include option for exporting classifiers for non-pythonbprograms HOT 1
- How to create 'Evaluation Result' directly from 'Table' data? HOT 4
- Orange3 Widget Connection Error HOT 1
- On MacOS ARM some tests fail because some functions return different results HOT 1
- Vrirus detected in installation file for Windows: Gen:Variant.Cerbu.123329 / cannot install software. HOT 1
- Help not working on windows HOT 1
- Change default font to a more standard one
- Windows Portable release bug: Open File with orange-canvas.exe HOT 6
- Loading CSV with 3 lines header HOT 3
- TypeError: entry_points() got an unexpected keyword argument 'group' HOT 2
- predict create erroneous prediction if you use input created from formula (or edit domain or random data) HOT 3
- Orange3的3.37.0版本的graph_ranks 函数用什么代替了 HOT 1
- Orange3 version 3.37.0 of the graph_ranks function is replaced by what HOT 1
- Seasonal Adjustment error - Variable Date is not in domain
- qt.svg: Cannot open file '<local path>/canvas_icons:/Dropdown.svg' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orange3.