GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Mailman 3 python.org
  • Sign In
  • Sign Up
  • Manage this list
  • ← Newer

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — Mailman 3 June 2015 - Python.NET - python.org

Python.NET

Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2015 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2014 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2013 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2012 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2011 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2010 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2009 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2008 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2007 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2006 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2005 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2004 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2003 -----
  • December
  • November
  • October
[email protected]

June 2015

  • 14 participants
  • 13 discussions
Multithreading/multiprocessing
by Alan Macdonald May 5, 2025

May 5, 2025
Hello, has anyone successfully used multithreading or multiprocessing with Python.Net? I tried to multi-thread from the .Net side and the Python.Net libraries seem to have issues in the RunScript method. I had to take an implementation off the web of that method because the shipped method doesn’t seem to work. I then had a working multi-processing example from CPython that I tried from Python.Net but it gives an error 'module' object has no attribute 'argv' When trying to create a process pool by executing the line pool = Pool(processes=4) Is it possible to do multithreading or multiprocessing with Python.Net? Thanks, Alan
2 1 0 0
PythonNet on Cygwin
by Nikhil Garg June 21, 2017

June 21, 2017
Hi Guys, I was wondering if anyone knows how to make Python for .Net work on cygwin installation of python. I have been looking around and find a mixed bag of information. If anyone knows of the working version of Python for .Net and its dependency, I would appreciate if you could share it with me. Currently, I am using a generic windows version and it works just fine, but I need it to work on Cygwin version of python. I appreciate any helpful replies. Thanks, Nikhil
2 2 0 0
cx_freeze and python.net
by Boris Burdin May 22, 2017

May 22, 2017
Hello everybody, I'm trying to build a python.net application using cx-freeze . Once the application is built, I put in my final folder the Python.Runtime.dll. but it stil doesn't seem to work . Actually, when I run the .exe file, nothing is happening. So, I wonder if there were something else to do, another dll to put in the folder, or any option to use with cx_freeze when building the application ? i would be very grateful if you could help me on this matter .. Thanks in advance, Boris
3 2 0 0
pythonnet appdomain(s)
by Adam Klein Sept. 7, 2016

Sept. 7, 2016
Hello, Is there a design reason that pythonnet loads C# assemblies into its own AppDomain rather than establishing a separate AppDomain? It would be useful for instance when developing in C# in parallel with writing python code (say, in the ipython REPL) to be able to reload C# assemblies dynamically. Also, we've found it useful in Initialize() to enable shadow copying, to prevent file locking, ie internal static void Initialize() { ... AppDomain domain = AppDomain.CurrentDomain; // prevent file locking domain.SetShadowCopyFiles(); domain.SetShadowCopyPath(null); Although these are deprecated methods, and really it should be establishing a new AppDomain as above. Regards, Adam _________________________________ Adam D Klein BlueMountain Capital Management LLC 280 Park Ave, 5th Floor East New York, NY 10017 O:(212)905-2136 C:(917)331-8871
2 1 0 0
pythonnet 2.0.0 released
by Tony Roberts Jan. 29, 2016

Jan. 29, 2016
Hi, I've finally gotten round to finishing off the last couple of things that were blocking an 'official' 2.0.0 release (to do with packaging as wheels/source dist). There is now a 2.0.0 release available on PyPI ( https://pypi.python.org/pypi/pythonnet), with binary wheels for Windows (32 and 64 bit) and a source distribution for Linux and Mac. The next task will be to integrate the changes from the renshawbay/pythonnet fork to add Python 3 support. cheers, Tony
4 3 0 0
pythonnet 2.1.0.dev1 released
by Tony Roberts June 26, 2015

June 26, 2015
Hi, I've merged the changes from the renshawbay/pythonnet fork into the develop branch in pythonnet/pythonnet and released it as 2.1.0.dev1. Binary wheels for windows (2.6 to 3.4, x86 and x86_64) have been uploaded to PyPI, along with the source dist for Linux and Mac. You can install it with pip with the --pre argument: > pip install --pre pythonnet New features are: - Python 3 support - Managed types can be sub-classed in Python and have virtual methods overridden. - Uses dynamic objects for cleaner code when embedding Python - Better Linux support (work with or without --enable-shared configure option) Now the Linux build works for Python built with and without the --enable-shared configure option, AFAIK, there's no need for the npython executable anymore so I've removed it. If it is still needed for some use case I've not considered please let me know and I will reinstate it. cheers, Tony
2 1 0 0
Architecture Advice
by Jared Broad June 23, 2015

June 23, 2015
Hello All, Python.Net looks amazing, I'm excited to get into it. I wanted to ask some general architecture advice to see if what we're attempting to do is possible, and if so, how I could best lay out the design. We've got a large open source C# application called Lean which runs .NET/Mono DLL's we call "Algorithms" -- ( https://github.com/QuantConnect/Lean) we'd like to allow it to support python algorithms. Ideally, we'd like to keep all the maintenance and core code base in C#, and invoke events in Python event handlers. Users would write python algorithms (implement event handlers) which would be called from C#. They would need access to C# properties in the C# base class, and the ability to call C# methods in the base DLL. Ideally we wouldn't require a stand alone python wrapper program. I'd welcome thoughts on how to architect this in a high performance way! Thank you! Jared LEAN open source - https://github.com/QuantConnect/Lean Python algorithm frame - https://github.com/QuantConnect/Lean/tree/master/Algorithm.Python -- Jared Broad www.quantconnect.com Phone-USA: +1 917 327 0556 *Democratizing Finance, Empowering Individuals* Facebook <http://www.facebook.com/QuantConnect> | Twitter <https://twitter.com/#!/QuantConnect> | LinkedIn <http://www.linkedin.com/company/quantconnect> | Skype: jaredbroad Want to know more about Algorithms? Check out our infographic! <http://bit.ly/YBTnRd> ᐧ
1 0 0 0
Re: [Python.NET] surveying the landscape ...
by Howard Mansell June 22, 2015

June 22, 2015
Hi All Would any of the past contributors be willing and able to work on the project more actively if we at BlueMountain funded the development? We don’t have pre-existing deep technical knowledge of the project, so contributing directly is more difficult for us. Feel free to email me directly if you are interested. (BTW, Brett – I agree having more active support from PVTS guys would be useful. Not sure whether they are able to contribute, though) Thanks Howard From: PythonDotNet [mailto:[email protected]] On Behalf Of Tony Roberts Sent: Tuesday, June 16, 2015 5:17 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ... Hi Adam, from my point of view it'd be great to have more people involved. I've been doing some development, but more or less out of necessity (I enjoy working on the project when I can, but don't really have the time to commit to it much more than I have been unfortunately). To give you some background around why there's the renshawbay repo as well as the main repo; Initially I created the renshawbay repo as there were various changes I needed to make to the project while it was hosted in sourceforge, and for me it was easier to manage that in github. I added Python 3 support, and later some stuff around subclassing .net classes in Python. It was then decided to move the project to github, so we created the pythonnet repo directly from the sourceforge repo rather than fork the renshawbay repo. The thinking back then was that we should do a 2.0 release based off that fork, and then once that was stable look at merging in the Python 3 work from the renshawbay fork. So, to answer your first question - pythonnet/pythonnet is the official repo, but most new development (new features etc) has taken place on the renshawbay/pythonnet fork in the python3 branch (which maintains support for Python 2). There's no official roadmap that I'm aware of. There are some issues and milestones in the github repo, but AFAIK no one is actively working on those right now. There are only a couple of issues remaining for the 2.0 release however. Pull requests to the official repo are reviewed and merged by the project owners (of which I'm one). So far those have been bug fixes or changes necessary for the 2.0 release. I keep the renshawbay fork up to date with any commits to the main repo. For what it's worth, here's what I'm aware of that needs attention: - Finalizing and releasing to PyPI the 2.0 release for Python 2.x only - Testing and getting the renshawbay python3 branch working on non-windows platforms (the linux build currently has problems, and I've not tested any mac builds) - Merging the renshawbay python3 branch into the main pythonnet fork - Updating the docs If you're able to help at all that would be much appreciated. Best regards, Tony On Tue, Jun 16, 2015 at 12:08 AM Tribble, Brett <btribble(a)ea.com<mailto:[email protected]>> wrote: Adam, I’m ecstatic that there’s a player out there who is making good use of Python.net, and who would like to help contribute. Organizational and logistical issues aside, I’m all for anything you can throw at the project! Someone correct me if I’m wrong, but I believe Brian Lloyd has largely yielded this project to Tony and the community. Based on Brian and Tony’s past posts, I’m fairly sure they’ll welcome any and all contributions to the project. It may sound sacrilegious to some, but I would love to see the PTVS (https://pytools.codeplex.com/) folks get involved with the project. They’re turning out a solid product, and this fits solidly in with what Microsoft is trying to do with PTVS, .NET Core, Azure etc. From: PythonDotNet [mailto:pythondotnet-bounces+btribble<mailto:pythondotnet-bounces%2Bbtribble>=ea.com(a)python.org<mailto:[email protected]>] On Behalf Of Brad Friedman Sent: Monday, June 15, 2015 2:36 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ... I'll chime in and say the lack of these kinds of legitimate "stake-holder" systems and responsibilities has forced me to turn away from depending my work on this project. I still keep up on it in hopes that it will turn around. If a legitimate player were to step up and contribute to a responsible, active and stable future for the project, I'd likely reconsider my stance and begin active support again. It's hard to justify putting much into it as one guy with limited resources. It needs full multi-platform release and development support both as a python module and a .net embedding toolkit, both for Python 2.x and 3.x. That's a lot of work to commit to getting set right and maintaining. On Jun 15, 2015, at 3:57 PM, Adam Klein <aklein(a)bluemountaincapital.com<mailto:[email protected]>> wrote: Hello all, We are using Python.NET<http://Python.NET> at BlueMountain to interface between our large .NET code base and the cpython ecosystem for interactive, exploratory computing. By way of background, I was a major contributor to the pandas library for a time; my firm is behind the Deedle library (https://github.com/BlueMountainCapital/Deedle). To state the obvious, the project has proven hugely valuable. BlueMountain has an interest in making sure the library doesn’t languish. To that end, we’re interested in contributing to the project in terms of manpower and possibly funding development. I’d like to get a better sense of a few things: - is there a BDFL … is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? - who manages releases to PyPI? - is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project? - are there other institutions that are public users of this project? - is there an official vision or roadmap for future releases? I see that python 3.x support looks like it’s happening on renshawbay/pythonnet (awesome). For other wish-list items or proposed contributions, is it best to start opening issues on the pythonnet/pythonnet github site? How are pull requests managed? I’m also wondering if there’s any collective / documented knowledge about the inherent limitations and pitfalls of the library and/or where development resources are needed? Best, Adam _________________________________________________ Python.NET<http://Python.NET> mailing list - PythonDotNet(a)python.org<mailto:[email protected]> https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet(a)python.org<mailto:[email protected]> https://mail.python.org/mailman/listinfo/pythondotnet
2 1 0 0
Python .net and wpf: it's possible?
by germano carella June 22, 2015

June 22, 2015
Hi, I'm Germano From Italy. I'm trying to write a wpf application using python for .net. import clr clr.AddReference("wpf\PresentationFramework.Classic") clr.AddReference("wpf\PresentationCore") from System.Windows import Window,Application class MyWindow(Window): def __init__(self): Window.__init__(self) self.LoadComponent("page.xaml") Application.Run(MyWindow()) InvalidOperationException! There is something I heve to do? What is wrong? Thanks! Germano
2 1 0 0
Pythonwin crash on from import
by Vincenzo Gisondi June 18, 2015

June 18, 2015
After recompiling the solution project of pythonent accordance with the procedure oleskii for the .NET framework 4, I'm having a problem with my code. Here are the first few lines where the crash occurs. import sys, clr sys.path.append ("G: / bin_EESPORt") clr.AddReference ("ASAM.HILAPI.Implementation") clr.AddReference ("ASAM.HILAPI.Interfaces") clr.AddReference ("dSPACE.HILAPI.EESPort") clr.AddReference ("dSPACE.HILAPI.EESPort.Interfaces") from System import * from System.IO import * from System.Threading import * from ASAM.HILAPI.dSPACE.EESPort import * #here crash PythonWin from ASAM.HILAPI.Implementation.EESPort.Error import * from ASAM.HILAPI.Interfaces.EESPort import * from ASAM.HILAPI.Interfaces.EESPort.Enum import * from ASAM.HILAPI.Interfaces.EESPort.ErrorFactory import * from ASAM.HILAPI.Interfaces.EESPort.ErrorObjects import * When in debug mode i execute the line below Pythonwin crash: from ASAM.HILAPI.dSPACE.EESPort import * #here crash PythonWin The PC system is windows 7 64-bit. The IDE used is PythonWin with Python 2.7.9 MSC v.1500 32-bit (Intel)] on win32. The Frameworks installed are: .NET Framework 4 Client Profile, .NET Framework 4 Extended, .NET Framework 4 Targeting Multi-Pack and Visual C # 2010 Express. Thank you in advance deposit for the help, I really need your help
2 1 0 0
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.