| | |
What are the .apy files in Python
![]() |
•
•
Join Date: Sep 2004
Posts: 1
Reputation:
Solved Threads: 0
I am using a tool to connect to mobile phone to fire AT commends .
This tool has some ready adaptable .apy files which the user can modify and adapt to his needs.
The scripts in the tool are written in Python.
I am new to Python.
Questions:
-------------
1. What is the difference between .py and .apy files , also the .pyd file?
2. I can see only the .apy files in this tool [there is no .pyfile] but the
ready script still works; How?
3. In the script, I see come functions like s.xxxx(), eut.t but I do not know
from where they come from.
Can someone help me.
--Vyagee
This tool has some ready adaptable .apy files which the user can modify and adapt to his needs.
The scripts in the tool are written in Python.
I am new to Python.
Questions:
-------------
1. What is the difference between .py and .apy files , also the .pyd file?
2. I can see only the .apy files in this tool [there is no .pyfile] but the
ready script still works; How?
3. In the script, I see come functions like s.xxxx(), eut.t but I do not know
from where they come from.
Can someone help me.
--Vyagee
I couldn't find anything about .apy, but I did find the .pyd. Apparently, the .pyd is the same thing as a .dll file. If you know about programming, you could almost compare them to using an include statement in a program. When you compile a Python script (ie, to make a distributable binary), those .pyd files are created, most likely including functions you've imported from other .py files in one of your own programs, or the standard library.
If the functions you've seen aren't defined in the script itself, then it was probably imported from another Python file. All you'll have to do is read the [b] import statements, and find which imported file had that function. I'm not incredibly good at Python yet, so there may be some way to use the Python interpreter itself to determine where that function came from. You might want to check www.python.org documentation, or ask one of their mailing lists, for more information about that.
If the functions you've seen aren't defined in the script itself, then it was probably imported from another Python file. All you'll have to do is read the [b] import statements, and find which imported file had that function. I'm not incredibly good at Python yet, so there may be some way to use the Python interpreter itself to determine where that function came from. You might want to check www.python.org documentation, or ask one of their mailing lists, for more information about that.
Alex Cavnar, aka alc6379
•
•
Join Date: Feb 2009
Posts: 1
Reputation:
Solved Threads: 0
It looks liek customised version of python. You can add extra classes to it and have ur extension.
functions like s.xxxx(), eut.t means:
Your tool cud have been desinged such that an object is created when mobile is created to it. The obj is named 's'. Then by using this you can access ur mobile. eut is Equipment under test.
functions like s.xxxx(), eut.t means:
Your tool cud have been desinged such that an object is created when mobile is created to it. The obj is named 's'. Then by using this you can access ur mobile. eut is Equipment under test.
![]() |
Similar Threads
- Opening 100+ files at once in python (Python)
- Rename files in Python (Python)
- Export multiple csv files with Python (Python)
- Executing DOS batch files in Python (Python)
- How to set default directory for saving files in Python IDLE (Python)
Other Threads in the Python Forum
- Previous Thread: Advanced Mash: I'm stuck
- Next Thread: Decimal to Roman Numeral
| Thread Tools | Search this Thread |
accessdenied advanced apache application argv array beginner book builtin calculator change command converter countpasswordentry csv curved dan08 def dictionary dynamic edit enter event file float format function google homework import inches input jaunty java keyboard lapse library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric obexftp output parameters parsing path phonebook plugin prime programming py2exe pygame pyopengl python random recursion redirect remote return reverse scrolledtext session simple skinning software sprite statictext string strings syntax table terminal text textarea threading time tlapse trick tuple tutorial twoup ubuntu unicode unit urllib urllib2 variable voip wordgame wxpython






