On Fri, Aug 10, 2012 at 6:10 PM, Martin A. Brown wrote:
>
> : values = {'a':'d', 'b':'e', 'c':'f', 'd':'g', 'e':'h', 'f':'i', 'g':'j',
> : 'h':'k', 'i':'l', 'j':'m', 'k':'n', 'l':'o', 'm':'p', 'n':'q', 'o':'r',
> : 'p':'s', 'q':'t', 'r':'u', 's':'v', 't':'w', 'u':'x', 'v':'y', 'w':'z',
> : 'x'
On Fri, 10 Aug 2012, Dave Angel wrote:
On 08/10/2012 03:53 PM, Joel Goldstick wrote:
The clue was actually in his code. See his shebang line -- he's using
Python 3. So the error is on the data that the user inputs.
The other clue, that I noticed, was that his innermost error was on line
1,
On 11/08/12 06:05, Stuart van Zee wrote:
I need to write a simple app that will convert a folder of multi-page tiff files
to PDFs. I was hoping to be able to write a simple, one button Tkinter app to do
this because the people who need to run this job a few times a day are basically
unskilled. M
Hello,
: #!/usr/bin/env python3
:
: import random
: values = {'a':'d', 'b':'e', 'c':'f', 'd':'g', 'e':'h', 'f':'i', 'g':'j',
: 'h':'k', 'i':'l', 'j':'m', 'k':'n', 'l':'o', 'm':'p', 'n':'q', 'o':'r',
: 'p':'s', 'q':'t', 'r':'u', 's':'v', 't':'w', 'u':'x', 'v':'y', 'w':'z',
: 'x':'a', 'y':'
>>
> OK, I have put it back into Python 2.7, and now I get:
>
> Traceback (most recent call last):
> File "crypto.py", line 27, in
> encrypt()
> File "crypto.py", line 7, in encrypt
> textInputE.list()
> AttributeError: 'str' object has no attribute 'list'
Would it be a strange conclu
On Fri, Aug 10, 2012 at 4:44 PM, Jaidev Deshpande
wrote:
> Hi,
>
> Supposed I have a string containing a python script and I exec that script.
>
> Is there a way to keep track of the variables that this exec() command
> creates?
Sure. You can provide the dictionaries that exec will use for glob
Hi,
Supposed I have a string containing a python script and I exec that script.
Is there a way to keep track of the variables that this exec() command creates?
Say,
>>> s = 'for i in range(10):\n\tprint i\n\n'
>>> exec(s)
0
1
2
3
4
5
6
7
8
9
Is there a way to ascertain that the variable 'i' wa
On 08/10/2012 04:02 PM, Selby Rowley Cannon wrote:
> OK, I have put it back into Python 2.7, and now I get:
> Traceback (most recent call last):
> File "crypto.py", line 27, in
> encrypt()
> File "crypto.py", line 7, in encrypt
> textInputE.list()
> AttributeError: 'str' object has n
On 08/10/2012 03:53 PM, Joel Goldstick wrote:
> On Fri, Aug 10, 2012 at 3:33 PM, Selby Rowley Cannon
> wrote:
>>>
>> #!/usr/bin/env python3
>>
>> import random
>> values = {'a':'d', 'b':'e', 'c':'f', 'd':'g', 'e':'h', 'f':'i', 'g':'j',
>> 'h':'k', 'i':'l', 'j':'m', 'k':'n', 'l':'o', 'm':'p', 'n':
I need to write a simple app that will convert a folder of multi-page tiff files to PDFs. I was hoping to be able to write a simple, one button Tkinter app to do this because the people who need to run this job a few times a day are basically unskilled. My initial idea was to use PIL, but as f
On 10/08/12 20:53, Joel Goldstick wrote:
On Fri, Aug 10, 2012 at 3:33 PM, Selby Rowley Cannon
wrote:
On 10/08/12 20:07, Joel Goldstick wrote:
On Fri, Aug 10, 2012 at 2:57 PM, Selby Rowley Cannon
wrote:
On 10/08/12 18:17, Joel Goldstick wrote:
On Fri, Aug 10, 2012 at 1:05 PM, Selby Rowley Ca
On Fri, Aug 10, 2012 at 3:33 PM, Selby Rowley Cannon
wrote:
> On 10/08/12 20:07, Joel Goldstick wrote:
>>
>> On Fri, Aug 10, 2012 at 2:57 PM, Selby Rowley Cannon
>> wrote:
>>>
>>> On 10/08/12 18:17, Joel Goldstick wrote:
On Fri, Aug 10, 2012 at 1:05 PM, Selby Rowley Cannon
wrote:
On 08/10/2012 03:33 PM, Selby Rowley Cannon wrote:
> On 10/08/12 20:07, Joel Goldstick wrote:
>> On Fri, Aug 10, 2012 at 2:57 PM, Selby Rowley Cannon
>> wrote:
>>> On 10/08/12 18:17, Joel Goldstick wrote:
On Fri, Aug 10, 2012 at 1:05 PM, Selby Rowley Cannon
wrote:
> I have written a
On 10/08/12 20:07, Joel Goldstick wrote:
On Fri, Aug 10, 2012 at 2:57 PM, Selby Rowley Cannon
wrote:
On 10/08/12 18:17, Joel Goldstick wrote:
On Fri, Aug 10, 2012 at 1:05 PM, Selby Rowley Cannon
wrote:
I have written a small application to encrypt some text. The script looks
fine to me, but
On Fri, Aug 10, 2012 at 2:57 PM, Selby Rowley Cannon
wrote:
> On 10/08/12 18:17, Joel Goldstick wrote:
>>
>> On Fri, Aug 10, 2012 at 1:05 PM, Selby Rowley Cannon
>> wrote:
>>>
>>> I have written a small application to encrypt some text. The script looks
>>> fine to me, but it won't run and I can'
On 10/08/12 21:44, Roman Vashkevich wrote:
Alright, this may sound like a dumb stupid question.
I am testing a recursive optimization function that builds a binary tree.
I started a hand simulation but the amount of manual work grows exponentially
with the amount of function frames.
Is there a g
On Fri, Aug 10, 2012 at 1:05 PM, Selby Rowley Cannon
wrote:
> I have written a small application to encrypt some text. The script looks
> fine to me, but it won't run and I can't figure out why. I have attached it,
> if anyone knows why it doesn't work please let me know!
>
What do you mean 'it wo
I have written a small application to encrypt some text. The script
looks fine to me, but it won't run and I can't figure out why. I have
attached it, if anyone knows why it doesn't work please let me know!
#!/usr/bin/env python3
import random
values = {'a':'d', 'b':'e', 'c':'f', 'd':'g', 'e':'h
On 10/08/12 11:02, leon zaat wrote:
I am trying to fill a file.
I assume you mean create a file? Or overwrite an existing one?
Or append to an existing one. There isn't really a concept of filling a
file, they just keep getting bigger until you ruin out of space.
(There are some filesystems th
On Aug 10, 2012, at 12:20 AM, Steven D'Aprano wrote:
>
[byte]
> That is not Python's doing. That is the shell, and so it depends
> entirely on your choice of operating system and shell. It works on Unix,
> Linux and probably Mac OS, but not on Windows.
>
Yes, it definitely does work on Mac O
On 8/10/2012 7:44 AM, Roman Vashkevich wrote:
Alright, this may sound like a dumb stupid question.
I am testing a recursive optimization function that builds a binary tree.
I started a hand simulation but the amount of manual work grows exponentially
with the amount of function frames.
Is there
Alright, this may sound like a dumb stupid question.
I am testing a recursive optimization function that builds a binary tree.
I started a hand simulation but the amount of manual work grows exponentially
with the amount of function frames.
Is there a graphical testing tool for such a task?
RV
_
On 08/10/2012 06:02 AM, leon zaat wrote:
> I am trying to fill a file.
> When i am start the leading fuction the file schould be overwriting the ,
> probarly, existing csv file.
> Accoording from keys from different keys in my sql files, information is
> collected and written in a other function
I am trying to fill a file.
When i am start the leading fuction the file schould be overwriting the ,
probarly, existing csv file.
Accoording from keys from different keys in my sql files, information is
collected and written in a other function.
I tried something like this
class BAGExtractP
On 10/08/12 15:35, Modulok wrote:
...
My Question:
Is it true that doing that is as same as doing #!/usr/bin/env python
on Unix? Because I think that the matter of shebang is limited to Bash
and Windows don't have a bash, it has a Command Prompt. And I don't
think such thing happens in Windows.
25 matches
Mail list logo