@noopykat with the current version of Pythonista you can only acces to the csv module. In my Mac mini desktop I installed Phyton Anakonda, which has installed the openxl module. I tried the code that comes in the Book AUTOMATE THE BORING STUFF WITH PYTHON and available in Kindkle format, where you can learn a lot about the Python language and how to work wit EXCEL spreadsheets, PDF docs , WORD docs an CSV files.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Latest posts made by ManuelU
-
RE: Advice for a person wanting to learn Python to create Workflows on iOS.
-
RE: Advice for a person wanting to learn Python to create Workflows on iOS.
@omz. In the future updates of Phytonista, have you plans to include the openpyxl module?
-
RE: Advice for a person wanting to learn Python to create Workflows on iOS.
@CCC excellent book indeed, for me the best I bought so far. I was lucky to find the Kindle version at Amazon.es. Regards
-
RE: Binary files read and write
@CCC, yes I transferred that way so far , but I learned from the forum that you can transfer all the files stored in the Phytonista sandbox with the FTP Transfer script running in your iOS device and the Connect to Server item from the Mac OS X Finder. The trick is that you have tu use the IP Address insted of the name of your iOS device.and connect by pressing the Guest button in the Mac. You don't need to put the username and password when you transfer between iOS devices
-
RE: Download script into Pythonista
@omz,@farf thanks. It worked at an incredible speed
-
RE: Download script into Pythonista
@farf Hi, do you refer to the IP Address In the iOS devices?. In your Mac what do you use as User and Password?. The Mac OS X you use is Yosemite. Thanks in advance for your Help
-
RE: Binary files read and write
@CCC the FTP SERVER script work well between iOS devices. I tried to connect from my Mac mini with the "Go -> Connect to Server..." menu item from the Finder using all the possible combinatios from the Connect Window, but there is no way to connect . What I'm doing wrong?. Both devices are in the same local Wifi network.
-
RE: Binary files read and write
@dgelessus I downloaded and installed Python Anaconda on my Mac mini OSX Yosemite with no problems, but I don't know where to place my SPLnFFT.bin files to acces them from the @ CCC scripts or where are stored the .py script files. It has a nice and colorful GUI, a good surprise for me, because I thought that it only run with console commands. Thanks in advance for your help and advices.
-
RE: Binary files read and write
@ccc it's one based arrays. If Python is zero based then is right and your script works fine and at an incredible speed for an interpreter.
I just call your attention on this line of code of your script that is not flagged : t_bad=t[(fast<=0) | (slow <= 0)]. As far as I know, negative SPL readings arise when infinites values are recorded and could happen if you have a telephone call in your iPhone while running the App. I only use iPad with no cellular. It seems that in the latest versions of both Apps this bug has been corrected, but I follow the general principle that no programm is bugless. Thank a lot for you nice attention and your work on this topic. -
RE: Binary files read and write
@CCC the rule of thumb I use to assess if SLOW and FAST SPL VALUES have not been swapped in the cleansing process is that the start time should always be an odd number and the end time should always be an even number. I noticed that it could happen when reviewing a file that started with a NAN and when eliminated the next register, a fast measurement , was taken as a slow measurement. This may happen if you read the values in a 1D vector and then you transform in a 2D matrix