Hi,
Is there a clean way to figure out that a .exe was actually generated by
pyexe ?
hg 4 2248
hg wrote:
Hi,
Is there a clean way to figure out that a .exe was actually generated by
pyexe ?
hg
I should gave writtent "definite" instead of "clean"
hg
On Jun 10, 10:38 am, hg <h...@nospam.or gwrote:
hg wrote:
Hi,
Is there a clean way to figure out that a .exe was actually generated by
pyexe ?
hg
I should gave writtent "definite" instead of "clean"
hg
Reminds me of the story about a teacher trying to correct a student
who was using rather dialectal English:
You have went and putten "putten" when you should of putten "put"!
:-)
You should of looken at this: http://www.py2exe.org/index.cgi/WhereAmI
HTH,
John
On Jun 10, 11:25 am, John Machin <sjmac...@lexic on.netwrote:
On Jun 10, 10:38 am, hg <h...@nospam.or gwrote:
hg wrote:
Hi,
Is there a clean way to figure out that a .exe was actually generated by
pyexe ?
hg
I should gave writtent "definite" instead of "clean"
hg
Reminds me of the story about a teacher trying to correct a student
who was using rather dialectal English:
You have went and putten "putten" when you should of putten "put"!
:-)
You should of looken at this:
http://www.py2exe.org/index.cgi/WhereAmI
HTH,
John
I presumed that you were really asking: "How can Python code tell
whether it is being run in a py2exe-generated exe, or by the Python
interpreter?".
Alternatively, "How can a human inspect an exe and determine whether
it was generated by py2exe?": (1) I don't know (2) Why do you care?
Cheers,
John
John Machin wrote:
On Jun 10, 11:25 am, John Machin <sjmac...@lexic on.netwrote:
>On Jun 10, 10:38 am, hg <h...@nospam.or gwrote:
hg wrote:
Hi,
Is there a clean way to figure out that a .exe was actually generated
by pyexe ?
hg
I should gave writtent "definite" instead of "clean"
hg
Reminds me of the story about a teacher trying to correct a student who was using rather dialectal English: You have went and putten "putten" when you should of putten "put"! :-)
You should of looken at this:
http://www.py2exe.org/index.cgi/WhereAmI
HTH, John
I presumed that you were really asking: "How can Python code tell
whether it is being run in a py2exe-generated exe, or by the Python
interpreter?".
Alternatively, "How can a human inspect an exe and determine whether
it was generated by py2exe?": (1) I don't know (2) Why do you care?
Cheers,
John
An ex-partner might "by mistake" be in possession of some of my source
code ... so if this source code happens to be repackaged in a .exe and I
get to audit it ... I'd like to know where to start.
So the above link ... which I had read ... does not help me.
Regards,
hg This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JD |
last post by:
While reading through the "shortcuts" topic in the help, I saw that there's
a "Format Document" option - CTRL+K, CTRL+D. Cool... so I go into a .cs
source file (this is a winforms project) and hit those keys.
The status bar tells me "The key combination (Ctrl+k, Ctrl+D) is not a
command." Weird... I then check the Edit menu->Advanced. Format Selection is
there, but Format Document isn't.
Ok, so I go into Customize... verify that the...
|
by: dan |
last post by:
I am using VB.NET 2003 and SQL Server 2000.
The program uses ADO.NET .
The following instruction:
Me.cd_insertDataRecord.ExecuteNonQuery()
throws this exception:
">>>ProcessDataRecord/ Exception: Type= System.FormatException Message: Input string was not in a correct format.
StackTrace: at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
|
by: Robin Tucker |
last post by:
My database has a column for numeric data items. How can I use
this number in the "format" command, such that for, say precision 2, I get
numbers like 2011.01 or 2387.00 and for 4 I would get 2011.0100 or
2387.0000?
(simple question I know!)
|
by: Al Reid |
last post by:
First, I'm using vb2005. I have a string that is read from a barcode reader into a TextBox. The string is 6 characters long and
represents a date (mmddyy). I want to display it to the user in a date format of "mm/dd/yy" For example the barcode contains
"112303" and I want to format it to display "11/23/03"
If I use the microsoft.visualbasic.strings.format with a format string of "##/##/##" or "00/00/00" I get the format string in the...
|
by: veaux |
last post by:
I'm thinking this is easy but can't get it. I have a table with
following:
Table1
Date 1/1/2007
Table2
Type 0107 (This is MMYY of above)
So I'm having trouble using a query to turn the date from Table 1 into
| |
by: shill57957 |
last post by:
I have a query:
SELECT .AH_TICKNO, Format((.AH_AMOUNT-.AH_TRNAMT)/.AH_AMOUNT,"Percent") AS DIF INTO
FROM ;
I dont want to format as a percent, I want it to go into the table
with 4 decimal places, for example .0397
how do I use the format statement and get this result?
|
by: Curious |
last post by:
Hi,
I have two columns in a grid defined as DateTime type.
Currently, they're both displayed in the format of "5/23/2007", for an
example. It seems that they're using the default "short date" format.
I want to use the format of, for an example, "5/23/2007 12:35:58 PM",
to include hour/minute/second to display one column (while keeping the
format of the other column as it is). Anyone can advise me on how to
|
by: Curious |
last post by:
Hi,
I have a column in a grid defined as DateTime type.
Currently, it's displayed in the format of "5/23/2007", for an
example. It seems that it's using the default "short date" format.
I want to use the format of, for an example, "5/23/2007 12:35:58 PM",
to include hour/minute/second. Anyone can advise me on how to change
the format?
|
by: stainless |
last post by:
I know this is probably simple but I cannot find a method of
converting a date string into a format that matches the DatePicker
format in C#
eg string "20080131" converted to "31 January 2008"
I tried datetime.parseexact but could not find the definition for the
appropriate format string.
This would be a very useful tool fo me. Any ideas,please?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |