@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.
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
-
RE: Binary files read and write
@webmaster is there an Android or desktop version of Phytonista?
-
RE: Binary files read and write
@ccc I noticed now that iTunes File Sharing is not supported even when you connect your iOS device with a cable to a desktop computer
-
RE: Binary files read and write
Hi. It depends on frequecy during the whole sleep time, the apnea periodos and the background medical context for each person. Right now I don't know what are the critical values for both parameters. I'll make a peer view on the topic in Internet and I'll.send to you the best links. Key words would be: sleep apnea etiology clinics ,diagnostic and treatment. I record noise with the iPad version of SPLnWATC I, think it's universal, but you need to adjust the settings in the mother App, SPLnFFT. I use the watch version because can record in the background, which supposes a battery and screen saver. You haw to buy the 24 hours record option and have a Dropbox account. that's all. Hope it helps
-
RE: Binary files read and write
I made a screenshot and sent the image to the Twitter account @olemoritz to send it to you. Do you have a Twitter account?. It's simpler for me
-
RE: Binary files read and write
CCC, this is going to make you happy. This is the processing time of a 15 hours continuos recording with SPLnWATCH, a child App of SPLnFFT. It records in the background with a minimal battery usage (about 13%)
Elapsed time (3 Starting scatter...): 0:00:01.277414
Elapsed time (2 Scatter): 0:00:19.745673
Elapsed time (1 Adornments): 0:00:19.818221
Elapsed time (0 plt.show() Done.): 0:02:09.151619The graph output is nice an fit well to the recording tines. I wish I new how to send it to you because I'll try to make it with your latest option by hours chunks.
CONGRATULATIONS FOR YOUR GREAT SCRIPT. -
RE: Create stand alone app
Not exactly. Te simulation is done in the Mac with the Xcode loaded and the specific template adn source code in a folder. The iPad has to be conected to the Mac through iTunes and USB . When you enter in simulation mode you can try all buttons of the GUI and the output, as if you were using the App. Yo may chose an specific device or an universal one and the device orientation as well. If you are happy with the results then you chose the compilation option, where the source code is compiled into a stand alone App an transfered to the device you registered trough the developer's group Administrator. If you have a one year license you can use any supported device and send the App by email or even sell it through the Apple Store
-
RE: Create stand alone app
Sorry, I forgot to say that I use Xcode with a Mac mini OSX Yosemite in simulation mode and after debuging I compile the native soudrce code in an iOS device whose UDID is registered, in order to be able to transfer the compiled stand alone App,.acording to the Academic License terms
-
RE: Create stand alone app
I know that. I read in a post that simulation mode only worked with 32 bits iPad in the bets template.and not with 64 bits devices
-
RE: Binary files read and write
JonB, If you're talking about a new beta update of phytonista the answer is no. If is about the template to compile the scripts into a stand alone app with Xcode, the answer is yes; I downloaded yesterday the Zip file that will be installed in a Mac mini with Yosemite when I solve the problem of repeated phishing attempts that my antivirus blocks. It seems it's related to the Apple Store ID . I also have read the code for resampling the SPLnFFT data to plot graphics with pinch gestures. Since I'm a beginner in Phytonista, It's complicated for me to understand how you link the SPLnFFT data file to this script.
-
RE: Create stand alone app
I've an Apple iOS Developer Academic License from my University (Salamanca,Spain) and I've registered my iPad 3 and iPad Air 2. I downloaded the template which will be installed in my Mac mini with OSX Yosemite.