[Tutor] py2app utility
Hi I need to create an executable file from py2app utility with the help of documentation on python.org i am able to create executable file on MAC OS X my question is the sample.app created with the help of py2app utility and i go inside the sample.app/resources i can still fine the python source file ( sample.py) if we are creating the executable why there is inclusion of .py file in final bundle as we are not suppose to share the source code can you help me how can i remove sample.py in the final bundle creation from py2app utility Regards Jayant ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] py2app utility
On Fri, Mar 09, 2018 at 12:46:22PM +0530, Jayant Wadhwani wrote: > Hi > > I need to create an executable file from py2app utility > > with the help of documentation on python.org i am able to create executable > file on MAC OS X > > my question is the sample.app created with the help of py2app utility and i > go inside the sample.app/resources i can still fine the python source file > ( sample.py) > > if we are creating the executable why there is inclusion of .py file in > final bundle as we are not suppose to share the source code You wll have to ask the py2app developers why they include the source code. Usually, the answer to that question is so that they can show debugging information in the tracebacks if an exception occurs. Perhaps there is an option to py2app that removes the .py files and only includes .pyc files. What does the documentation say? -- Steve ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
[Tutor] Does the secrets module in Python 3.6 use a hardware RNG like that provided in Intel CPUs?
Hi, I was reading through the secrets documentation in Python 3.6 and noticed that it uses /dev/urandomĀ but I'm unsure if that means it'll use a hardware RNG or just one provided by the operating system (Linux / Windows / etc) in software. The question is is it possible to determine the source of the randomness from os.urandomĀ if there was ever a flaw found in a particular hardware RNG? Plus systems could have a third party hardware RNG that was an external addon card or similar which might be better than the one found in Intel CPUs. I'm just a bit curious about the whole "will always use the strongest source for pseudo-random numbers" when research could change that assumption overnight based on discovered flaws. This is probably a really stupid question and if it is I apologise but I'm somewhat confused. Thanks for any help. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor