I'm using PyCharm, I've imported gspread successfully into Python (3.10). Am able to update a Google sheet on Google drive.. Works well. Want to email spreadsheet using .share. According to documentation:
sh.share('blah#blah.co.nz', perm_type='user', role='writer')
should work but .share not available in drop down list. The drop down list displays a whole bunch of items but no .share option. I've download and imported the lastest version of gspread. I'm thinking that the .share functionality may not be running in this version or am I doing something wrong? looking at other help messages, .share is being used by others. Any comments? Thanks
Hi if you have imported the latest version of gspread then (as of today) it should be version 5.4.0 and the documentation for that version for that method is: here
If you look at the code in the same version it is: here too and the method is called share. But it is in the spreadsheet object.
So it should be used like this:
...
sph = client.open("my_spreadsheet")
sph.share('blah#blah.co.nz', perm_type='user', role='writer')
Related
Like the documentation of python or django, how do I have multiple versions of my doc with sphinx ?
I saved my doc on git, and I want my user to be able to see documentation for different version like v2.7,v3.4, etc
Thank you for the help
You could just use Read The Docs to host your documentation for you. They automatically handle multiple versions with a dropdown:
https://docs.readthedocs.io/en/latest/index.html
If you'd like to host your own documentation on GitHub Pages or some other web server, I made a Sphinx extension that does what you're looking for:
https://github.com/sphinx-contrib/sphinxcontrib-versioning
There's the sphinx-multiversion extension.
It's similar to sphinxcontrib-versioning, but sphinxcontrib-versioning doesn't seem to be actively maintained. The last release was in 2016, and it doesn't work with more recent versions of Sphinx (issue #77). sphinx-multiversion is a new implementation (see comment by the author).
Note on healthiness of the project: as of December 2020, it seems that SMV is a one-person project and there are a number of open issues and pull requests that haven't been responded to (though see this comment by the author).
Like the documentation of python or django, how do I have multiple versions of my doc with sphinx ?
I saved my doc on git, and I want my user to be able to see documentation for different version like v2.7,v3.4, etc
Thank you for the help
You could just use Read The Docs to host your documentation for you. They automatically handle multiple versions with a dropdown:
https://docs.readthedocs.io/en/latest/index.html
If you'd like to host your own documentation on GitHub Pages or some other web server, I made a Sphinx extension that does what you're looking for:
https://github.com/sphinx-contrib/sphinxcontrib-versioning
There's the sphinx-multiversion extension.
It's similar to sphinxcontrib-versioning, but sphinxcontrib-versioning doesn't seem to be actively maintained. The last release was in 2016, and it doesn't work with more recent versions of Sphinx (issue #77). sphinx-multiversion is a new implementation (see comment by the author).
Note on healthiness of the project: as of December 2020, it seems that SMV is a one-person project and there are a number of open issues and pull requests that haven't been responded to (though see this comment by the author).
I found the Quickstart guide to run a drive APP in PHP, https://developers.google.com/drive/web/quickstart/quickstart-php, but the example script is not working, because the new Github version has a different structure.
Where can I find the updated version of the example for the same purposes?
Or is there a similar one, for that exact github version (google-api-php-client-master)
I would love to create and edit google doc files.
Thanks a lot.
I have a problem with my phonegap-based project, and I'm suspecting I'm running a different version than I think. the config.xml file I'm using states it's 2.0.0, while I thought it's 2.9.
Is there a way to actually check the phonegap version in xcode, and not relay on a comment in a single file?
Thank you!
you can use device object's cordova(device.cordova) property to get the version of phonegap.
Below link provides more information for same.
http://docs.phonegap.com/en/3.0.0/cordova_device_device.md.html#Device
I thought I would add to #user1279357's answer, which demonstrates how to acquire the version of Cordova from the JavaScript side. However, on the Objective-C side, if you add #import <Cordova/CDVAvailability.h> you can call the constant: CORDOVA_VERSION_MIN_REQUIRED.
This constant is an int that will provide you with the version of Cordova you are using. The value is in the form of: 20000 = 2.0, 20800 = 2.8 e.t.c.
If you need to do checks against this value, there are other constants defined in this file for each of the versions, e.g. __CORDOVA_2_0_0 = 2.0.
Look here to see the source file for CDVAvailability.h.
Look in your cordova.js file at the top in the comments.
If you're using a really old version of cordova, it will be in the listed in the filename like "Cordova2.7.js"
I've succesfully generated a docset with AppleDoc by following the installation instructions. If i got into XCode Documentation Organiser, everything is there, including the categories:
But when I ⌥-click on one of my category methods I see nothing but this:
I've tried a lot of things but none of these work:
Adding --no-merge-categories
Adding --merge-categories
Changing filename extensions
Restart XCode
Restart macbook
Search google (AppleDoc quickhelp categories)
Search stackoverflow
Search gitHub repository issue list (https://github.com/tomaz/appledoc)
Please help, because I want to generate documentation, and most of my library consists of categories. I'm using the latest AppleDoc (appledoc 2.1 (build 858)), and Xcode 4.6.3.
Edit: are there users actually using AppleDoc? Does the quick help actually work for you? I also note a lack of documentation even though the repository is updated regularly.
It seems nobody else is using appledoc but me. Anyway, it looks like it is a bug in XCode, i have pushed a workaround in github. Comment if you want details.
Update: my pull request has been accepted, check here for details:
Pull request https://github.com/tomaz/appledoc/pull/375
related issue: https://github.com/tomaz/appledoc/issues/374