How to share py2app file via email or anything - python

I have recently made a simple Hangman game and converted it into a .app file using Py2App. However, when I tried to send the folder(after zipping) to my friend via email, there is no actual application in the receiver's file.
Can you guys please help me how can I share .app file from py2app via email or is there anything or any platform through which I can share my file?
Thanks,

if you use gmail, try to upload the .app file or the zip file on your google drive cloud and share the link to your friend. go to the shared link and download your file! if you don't know how to do this check this video https://www.youtube.com/watch?v=77CmlRucp-Q

Related

How to download a file from google drive without showing this action in the change history

If I have access to a folder with some files in google drive, it's possible to download this folder without showing any changes in history? The owner of the folder should not see that the file was downloaded. If it's possible in python please tell me how to do it.
I used to think about some script (with using Google API) or some service/site to resolve this problem.

Is there a way to update just one file in microsoft azure without having to redeploy everything?

I am making a web app with python and running it on azure. It the program creates jsons and stores them. If I want to update the program is there a way to just redeploy the main python file so that it doesnt overwrite all of the josn files stored on the server?
You could update the file using FileZilla or some other FTP client. The publish profile contains the info you need. Download the publish profile from the app service overview blade, open it in Notepad, pull out the FTP address, username, and password, and import those into FileZilla. Then just drag the file across.

Can I edit an excel file on onedrive using python?

I have been searching for hours trying to find out how I could edit an Excel file saved to OneDrive using python and have had no luck. Help if you know how/if it is possible.
#JeremiahTrest Welcome to Stackoverflow. I don't think that's how OneDrive works. What I mean is, I don't think it's possible to directly edit a file that is saved to your OneDrive in the cloud with any language. What you would have to do is to get a copy of the file on the machine that is running the Python script, update the file on that machine and save it with the changes, then push the changed file to your OneDrive. I looked and found this SDK for Python that is meant to be able to help you interface with the OneDrive API. So, you would use this SDK to get the file from OneDrive, update the file locally, then use the SDK to push the changed file back out to OneDrive.
I came across this post as I have the same task. Here's what I'm going to try:
Use the request library on python to call the OneDrive API.
Here's the page on excel APIs:
enter link description here
I'll update when I have my code.

exe file generated by pyinstaller does not work when downloading from google drive

I made some program by Python 3.7 and generated an exe file using pyinstaller.
The exe file worked fine, but the problem occurred when I uploaded it on google drive to distribute to other users.
When I download the program from google drive, the exe file does not work.
To be exact, it actually runs only on background. Since I made GUI for this program, it must show window GUI but it doesn't.
Even I have same problem when I run the program which is downloaded from google drive.
What is the problem? and what should I do?
You said the file downloaded from Google Drive doesn't work as the one you directly generated. I have a little trouble believing that Google drive modifies your file, you can nevertheless do the test by comparing the checksum. Does the checksum of your file change when you upload it to google drive? If this is the case try to go through another platform.
I solved the problem myself.
The problem is that uploading exe file itself.
When I made a zip file for exe and uploaded it, the exe file worked fine.

How to upload a file from windows explorer pop up using squish automation tool

I am automating a web application using squish tool in python scripting. In a feature there is a file upload test scenario where I have to upload a file from the windows hard drive.
I have recorded the scenario but didn't get how to upload the file.
Can someone help me to resolve the problem
You can try using nativeType() function to send file path and to hit enter key on the focused window (i.e. file open dialog)
Here is an example by Squish

Categories