473,669 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

create pywintypes.Crea teGuid() compatible guids on Linux ?

Hello,

I created lots of guids via pywintypes.Crea teGuid() on windows.

Now I would like to run the same software on Linux / Solaris /
FreeBSD.

So I should produce "compatible " GUIDS on that systems. "compatible "
having the meaining: "Providing similiar likelehood of collisions".

of course "google python guid" leads directly to
http://aspn.activestate.com/ASPN/Coo.../Recipe/163604,
but ... will it blend?

any ideas what could help me to research?

Harald
Nov 27 '07 #1
1 2139
On Nov 27, 2007 1:09 PM, GHUM <ha************ **@gmail.comwro te:
Hello,

I created lots of guids via pywintypes.Crea teGuid() on windows.

Now I would like to run the same software on Linux / Solaris /
FreeBSD.

So I should produce "compatible " GUIDS on that systems. "compatible "
having the meaining: "Providing similiar likelehood of collisions".

of course "google python guid" leads directly to
http://aspn.activestate.com/ASPN/Coo.../Recipe/163604,
but ... will it blend?

any ideas what could help me to research?

The uuid module, in Python 2.5 and up, provides RFC compliant UUID
generation. See the module docs and the RFC for details.
Nov 27 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
17676
by: x-herbert | last post by:
Hi, I have a small test to "compile" al litle script as a WMI-Tester. The script include a wmi-wrapper and "insert" the Win32-modeles. here the code: my "WMI-Tester.py" ----- import wmi
5
3140
by: Jon Perez | last post by:
Is there a Python function that works on all platforms (not just Win32) to generate such in the DCE / Microsoft format? If not present, this looks like it would be a very Pythonic addition to the standard library.
1
8729
by: Lucas Machado | last post by:
I'm using the win32 api to map samba shares, and I'm having trouble handling some exceptions. In my script there are 2 possible exceptions when the script attempts to map a share: >>> win32net.NetUseAdd(None, 1, {'remote':r'\\foo\bar','local':'X Traceback (most recent call last): File "<stdin>", line 1, in ? pywintypes.error: (53, 'NetUseAdd', 'The network path was not found.') This exception occurs when '\\foo\bar' is not an...
0
1357
by: Shaun Clark | last post by:
Hello, I am trying to bring my entire organization from a Microsoft platform to a Linux one, starting with all of the servers we are currently running. Sun ONE ASP allows me to run ASP on Linux through Apache, Mono is working on .NET, but the one thing I can't migrate is SQL and it's because products like mySQL and Postgres have no built-in GUID support. We have 100 databases with GUIDs as primary keys across all of them. It works great...
2
2068
by: Adam Endicott | last post by:
I've got a wxPython based windows GUI application that takes some input and creates a PDF file output. At the end, I need to create an email message with this pdf file attached ready for the user to just hit "send". I don't want to actually send the email automatically, I just want to pop up a message in the default mail program that's ready to go (partially because the person might not be online when the email is created, this way they...
12
10100
by: Phil Galey | last post by:
Is it possible to create a DLL from VB.NET that is referenceable from VB6? If so, how? I tried creating a Class Library project. It can be referenced fine from VB.NET, but not from VB6. Thanks.
3
1745
by: A.M | last post by:
Hi, I am planning to develop python applications on windows and run them on Linux. Are ActivePython scripts compatible with Linux? Is there any guideline that explains the compatibility issues between python in different platforms?
1
1710
by: bsautner | last post by:
Hi, spent a while trying to figure this out myself and i seem to be missing something. I want to create a windows user control in vb.net 8 that i can then use in office applications like powerpoint or visio. So in VS 2005 i create a new project and select "Windows Control" create my dll and it's functionality. I'd like to then launch visio and select "INSERT" then CONTROLS and select my new control from the list provided (cannot browse...
0
1704
by: Gabriel Genellina | last post by:
En Wed, 27 Aug 2008 21:17:22 -0300, Vistro <vistro@vistro.netescribi�: Reinstalling the pywin32 package should fix that, I presume. In fact that __import_whatever function does a rather complex task, it must ensure that the *right* pywintypes25.dll (or pythoncom25.dll) is loaded, even when it's implicitely loaded.
0
8383
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8587
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2792
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2029
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1787
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.