On 27/11/2018 21:04, Kamina Kamtarin wrote:
> A De/Coder. Think back to 3rd grade when you passed notes to friends in
> class. We can't let the teacher see what we're writing so we used a code.
> A=1, B=2, C=3, etc. Your job is to create a program which does the
> following:
>
>1. Presents the
From: Tutor on behalf of
Peter Otten <__pete...@web.de>
Sent: Monday, August 27, 2018 6:43 PM
To: tutor@python.org
Subject: Re: [Tutor] need help generating table of contents
Albert-Jan Roskam wrote:
>
> From: Tutor on behalf
> of Peter Otten <__pete...@web.de> Se
Albert-Jan Roskam wrote:
>
> From: Tutor on behalf
> of Peter Otten <__pete...@web.de> Sent: Friday, August 24, 2018 3:55 PM
> To: tutor@python.org
>
>> The following reshuffle of your code seems to work:
>>
>> print('\r\n** Table of contents\r\n')
>> pattern = '/Title \((.+?)\).+?/Page ([0-9]
From: Tutor on behalf of
Peter Otten <__pete...@web.de>
Sent: Friday, August 24, 2018 3:55 PM
To: tutor@python.org
> The following reshuffle of your code seems to work:
>
> print('\r\n** Table of contents\r\n')
> pattern = '/Title \((.+?)\).+?/Page ([0-9]+)(?:\s+/Count ([0-9]+))?'
>
> def pr
On 24Aug2018 17:55, Peter Otten <__pete...@web.de> wrote:
Albert-Jan Roskam wrote:
I have Ghostscript files with a table of contents (toc) and I would like
to use this info to generate a human-readable toc. The problem is: I can't
get the (nested) hierarchy right.
import re
toc = """\
[ /Pag
Albert-Jan Roskam wrote:
> Hello,
>
> I have Ghostscript files with a table of contents (toc) and I would like
to use this info to generate a human-readable toc. The problem is: I can't
get the (nested) hierarchy right.
>
> import re
>
> toc = """\
> [ /PageMode /UseOutlines
> /Page 1
> /
I am also from a Linux background and I second exactly what James and David
said.
To learn Ubuntu, I would recommend installing Windows Subsystem for Linux
onto your existing Windows 10 setup and then get the Ubuntu (or SUSE and
Debian) from the Microsoft store and install. It does have a few
lim
Thank you all. I will start in small steps. First Pygame and Ubuntu. I will
add any errors I get.
On Sun, Aug 12, 2018 at 11:51 AM, Mats Wichmann wrote:
>
> > Start with checking that pip is there (or installing it if not)
> > Then do PyGae
> > Then do Matplotlib
>
> For this, please note that t
> Start with checking that pip is there (or installing it if not)
> Then do PyGae
> Then do Matplotlib
For this, please note that the pip "command" is not in the same
directory on Windows as the python it is associated with. If you went
through the steps to have Python in your PATH, and that wo
> On Aug 11, 2018, at 20:34, James Gledhill via Tutor wrote:
>
> I know this is a python focused mail group, but you asked about Linux so I'll
> answer. :-)
> I would strongly recommend that you skip Kali Linux for the next little
> while. Every tool available on Kali can be obtained on Ubuntu
I know this is a python focused mail group, but you asked about Linux so I'll
answer. :-)
I would strongly recommend that you skip Kali Linux for the next little while.
Every tool available on Kali can be obtained on Ubuntu. Kali is not beginner
friendly, and while the community is great, honest
On 11/08/18 18:48, Carlos Monge wrote:
> have learned To do those sections I need to install Pygame and make sure I
> have 'pip' as well as Matplotlib.
If you are using a recent Python (v3.4+) then pip should
already be installed. PyGame comes with a Windows installer
that should set everything
On 07/10/2018 11:03 PM, Mats Wichmann wrote:
On 07/10/2018 09:09 PM, Steven D'Aprano wrote:
On Tue, Jul 10, 2018 at 09:46:57PM -0500, Jim wrote:
Say I have a list like ltrs and I want to print out all the possible 3
letter combinations. I want to combine letters from each inner list but
not co
On 07/10/2018 10:09 PM, David Rock wrote:
On Jul 10, 2018, at 22:04, David Rock wrote:
On Jul 10, 2018, at 21:46, Jim wrote:
ltrs = [['A', 'B'], ['C', 'D', 'E'], ['F', 'G', 'H', 'I']]
A fairly straightforward way is to use nested loops:
for l in ltrs[0]:
... for j in ltrs[1]:
...
On 07/10/2018 09:09 PM, Steven D'Aprano wrote:
> On Tue, Jul 10, 2018 at 09:46:57PM -0500, Jim wrote:
>
>> Say I have a list like ltrs and I want to print out all the possible 3
>> letter combinations. I want to combine letters from each inner list but
>> not combine any letters within the inner
> On Jul 10, 2018, at 22:04, David Rock wrote:
>
>> On Jul 10, 2018, at 21:46, Jim wrote:
>>
>> ltrs = [['A', 'B'], ['C', 'D', 'E'], ['F', 'G', 'H', 'I']]
>
> A fairly straightforward way is to use nested loops:
>
for l in ltrs[0]:
> ... for j in ltrs[1]:
> ... for k in ltrs[2]:
>
On Tue, Jul 10, 2018 at 09:46:57PM -0500, Jim wrote:
> Say I have a list like ltrs and I want to print out all the possible 3
> letter combinations. I want to combine letters from each inner list but
> not combine any letters within the inner list itself. So ACF and ADF
> would be ok but ABC wo
> On Jul 10, 2018, at 21:46, Jim wrote:
>
> ltrs = [['A', 'B'], ['C', 'D', 'E'], ['F', 'G', 'H', 'I']]
A fairly straightforward way is to use nested loops:
>>> for l in ltrs[0]:
... for j in ltrs[1]:
... for k in ltrs[2]:
... print l,j,k
A C F
A C G
A C H
A C I
A D F
A D G
A D H
A
On Sat, Jun 09, 2018 at 02:39:48PM +0200, Casper Rasmussen wrote:
> So I am trying to make a simple login system just for fun and found this
> video that has helped me a lot but there is a line I am not really sure how
> works.
> Screenshot at the bottom
Unless you edit your code with Photoshop, d
On 05/07/2018 12:02 PM, Mats Wichmann wrote:
On 05/07/2018 10:16 AM, Jim wrote:
My understanding of VE's, based on some feedback from here, is you
install install the python you want on the system then use it to install
your VE. Then you install what ever you need to the VE. In my case I had
a
On 05/07/2018 10:16 AM, Jim wrote:
> My understanding of VE's, based on some feedback from here, is you
> install install the python you want on the system then use it to install
> your VE. Then you install what ever you need to the VE. In my case I had
> a working VE based on python 3.5 then I re
On 05/06/2018 05:16 PM, boB Stepp wrote:
On Sun, May 6, 2018 at 11:05 AM, Jim wrote:
In a prior thread you guys helped me fix a problem with pip after I upgraded
an installed version of python 3.6 on my Mint 18 system. Pip would not run
in my python 3.6 virtual environment. The fix was to use s
On Sun, May 6, 2018 at 11:05 AM, Jim wrote:
> In a prior thread you guys helped me fix a problem with pip after I upgraded
> an installed version of python 3.6 on my Mint 18 system. Pip would not run
> in my python 3.6 virtual environment. The fix was to use synaptic to install
> python3-distutils
On 04/26/2018 03:27 PM, Danny Yoo wrote:
copy('~/Documents/Courses/ModernBootcamp/story.txt',
'~/Documents/Courses/ModernBootcamp/story_copy.txt')
Hi Jim,
You may need to use os.path.expanduser, as "tilde expansion" isn't
something that's done automatically.
This is referenced in the docs wh
> copy('~/Documents/Courses/ModernBootcamp/story.txt',
> '~/Documents/Courses/ModernBootcamp/story_copy.txt')
Hi Jim,
You may need to use os.path.expanduser, as "tilde expansion" isn't
something that's done automatically.
This is referenced in the docs when they say: "Unlike a unix shell, Pytho
On 16/04/18 03:30, Sandra Sherif via Tutor wrote:
> Dear Python Tutor,
>
> I am in desperate need for help with programming on python. I am new to using
> python and I’m trying to write a program called “turtle tag”. I’m trying to
> do these things in the program:
> a. Asks how many turtles are
On 27/11/17 01:57, John Cocks wrote:
> The task is broken down into three sections.
What exactly do you want help with?
Do you not understand part of the problem?
Do you not know how to code some part?
Are you getting an error? If so show us the full error text.
WE are not mind readers, you need
2017-09-20 2:18 GMT+02:00 Alan Gauld via Tutor :
> On 19/09/17 21:13, Larry Staley wrote:
> > Hello I am very new to Python just having installed Python Version 2.7
> onto
> > my windows 8.1 laptop. I thought the install was successful and was
> > entering information for my first assignment when
On 19/09/17 21:13, Larry Staley wrote:
> Hello I am very new to Python just having installed Python Version 2.7 onto
> my windows 8.1 laptop. I thought the install was successful and was
> entering information for my first assignment when I received an unexpected
> error.
Where did you get your v
You most likely have no file named words.txt in the directory from
which you are running your code.
On Mon, Apr 17, 2017 at 10:12 PM, Tyler Seacrist wrote:
> Hello,
>
>
> How do I avoid this error message everytime I utilize wordlist =
> open("words.text") ?
>
wordlist = open("words.txt")
>
On 18/04/17 03:12, Tyler Seacrist wrote:
> How do I avoid this error message everytime I utilize wordlist =
> open("words.text") ?
>
wordlist = open("words.txt")
> Traceback (most recent call last):
> File "", line 1, in
> wordlist = open("words.txt")
> FileNotFoundError: [Errno 2] N
On Mon, Apr 17, 2017 at 12:00 AM, Alan Gauld via Tutor wrote:
> On 16/04/17 18:26, Tyler Seacrist wrote:
>
>> I need to draw a stack diagram for print_n
>> called with s = 'Hello' and n=2 and am unsure of how to do so.
Are you referring to this?
http://www.greenteapress.com/thinkpython/html/thi
On 16/04/17 18:26, Tyler Seacrist wrote:
> I need to draw a stack diagram for print_n
> called with s = 'Hello' and n=2 and am unsure of how to do so.
Me too.
What is print_n?
Which stack?
One in your program or the interpreters internal stack?
We need a lot more detail.
--
Alan G
Author of
On Wed, Feb 15, 2017 at 01:00:30PM -0500, Adam Howlett wrote:
> Write an if-else statement that assigns 20 to the variable y if the
> variable x is greater than 100. Otherwise, it should assign 0 to the
> variable y.
>
> Is there an easy way to solve this problem?
Yes. What have you tried?
H
On 15/02/17 18:00, Adam Howlett wrote:
> Write an if-else statement that
> assigns 20 to the variable y if the variable x is greater than 100.
> Otherwise, it should assign 0 to the variable y.
>
> Is there an easy way to solve this problem?
Yes, just do what it says.
Maybe if I reword the pro
On Wednesday, October 12, 2016, Alan Gauld via Tutor
wrote:
> On 12/10/16 09:03, niraj pandey wrote:
>
> > Can you pls guide how to print this screen (Attached here) content in
> > printer ?
>
> As we already pointed out this is a text list so attachments
> are usually stripped off...
>
> However
On 12/10/16 09:03, niraj pandey wrote:
> Can you pls guide how to print this screen (Attached here) content in
> printer ?
As we already pointed out this is a text list so attachments
are usually stripped off...
However, printing from Tkinter is not easy. The simplest way is usually
to create an
Hi ,
I need one more help related to printer.
Can you pls guide how to print this screen (Attached here) content in
printer ?
Thanks
Niraj
On Tue, Oct 4, 2016 at 12:21 PM, niraj pandey
wrote:
> Ok I got it from the solution you provided on your previous mail.
>
> Thanks again
>
> Thanks
> Nir
Ok I got it from the solution you provided on your previous mail.
Thanks again
Thanks
Niraj
On Tue, Oct 4, 2016 at 12:05 PM, niraj pandey
wrote:
> Attaching two snapshots here.
>
> In first snapshot (1.png) I have the label windows without the values and
> in second window (2.png) every label
Attaching two snapshots here.
In first snapshot (1.png) I have the label windows without the values and
in second window (2.png) every label have some value.
I want to put these values in front of every label. I have already stored
these values in a variable.
Thanks
Niraj
On Mon, Oct 3, 2016 at
Hello Alan ,
I am using python 2.7.10 and using RHEL6
Thanks
On Mon, Oct 3, 2016 at 8:53 PM, Alan Gauld via Tutor
wrote:
> On 03/10/16 10:54, niraj pandey wrote:
>
> > I want to add every lebels value here (ie fetch from DB and display in
> > front of every lebel or I had store every lable va
On 03/10/16 10:54, niraj pandey wrote:
> I want to add every lebels value here (ie fetch from DB and display in
> front of every lebel or I had store every lable value in variable and
> display here).
You need to tell us which OS, Python version and GUI
toolkit you are using.
> [image: Inline im
Ignore this I have done it.
Thanks
Niraj
On Wed, Sep 28, 2016 at 12:30 PM, niraj pandey
wrote:
> Found the solution for this .
>
> entry_option = ['Flat_No','Mains Unit','DG Unit','Month']
>
> r = 0
> entry = {}
> label = {}
> for item in entry_option:
> lb = La
Thanks Peter for the help.
Best Regards
Niraj
On Wed, Sep 28, 2016 at 2:47 PM, Peter Otten <__pete...@web.de> wrote:
> niraj pandey wrote:
>
> > Found the solution for this.
>
> You can further simplifiy it with enumerate()
> > entry_option = ['Flat_No','Mains Unit','DG Unit','Month']
>
> > en
niraj pandey wrote:
> Found the solution for this.
You can further simplifiy it with enumerate()
> entry_option = ['Flat_No','Mains Unit','DG Unit','Month']
> entry = {}
> label = {}
for r, item in enumerate(entry_option):
> lb = Label(bg = 'orange', text=item, relief=RIDGE,width=30)
>
Found the solution for this .
entry_option = ['Flat_No','Mains Unit','DG Unit','Month']
r = 0
entry = {}
label = {}
for item in entry_option:
lb = Label(bg = 'orange', text=item, relief=RIDGE,width=30)
lb.grid(row=r,column=0)
label[item
On Thu, Aug 11, 2016 at 1:15 PM Pallab Amway wrote:
> expected an indented block
>
if-statements must have an indented block of code. For example:
```
if age < 12:
print('You are a child')
```
___
Tutor maillist - Tutor@python.org
To unsubscribe
On Aug 11, 2016 12:15 PM, "Pallab Amway" wrote:
>
> Respected sir
>
> Myself pallab kumar seal from India I am using
python2.7
> in my window 7 but while I am using python to compile my program I am
> getting following error
>
> Programe1
>
> age = 21
>
> if age < 12:
>
> pr
On 21/07/16 12:50, la Y wrote:
> need help with socket / fuzzer
UI've no idea what fuzzer means but...
> not sure the while loop condition is wrong
> def fuzzer():
> #fuzzer
> #user attack coordinates and junk
> currentEta = datetime.datetime.now()
> targetIP = raw_input("hello
On 11/02/16 18:03, Swift, Robert wrote:
> I was wondering how to write a code that would take a recorded audio and
> place these values into a numpy array? I have written various codes that
> can record and playback sound and work properly. I need the recorded audio
> to be accessed from a numpy ar
> > Be careful. Now you have a test that always succeeds.
>
> No, I'm wrong. Sorry about that: I misread the numerical range.
>
This is the first time I am ever writing unit tests, and I am glad I am
doing it.
Thanks a lot for all your help!.
___
Tuto
On Feb 7, 2016 8:38 AM, "Danny Yoo" wrote:
>
> :
> >
> > def test_red_temperature_simulation(self):
> > """
> > Method to test the red_temperature_simulation method
> > """
> > for i in range(100):
> > test_value = red_temperature_simulation()
>
:
>
> def test_red_temperature_simulation(self):
> """
> Method to test the red_temperature_simulation method
> """
> for i in range(100):
> test_value = red_temperature_simulation()
> self.assertTrue((test_value < 100.0) or (test_valu
> > when my program is in the yellow state, it should generate the numbers
> > from 100.0-100.5
> > and 102.5-103.0
>
> The "and" is a bit misleading as you want to allow values that are in the
> first *or* the second intrval. When you spell that in Python it becomes
>
> temperature = yellow_temper
Anubhav Yadav wrote:
>> Hi Anubhav,
>>
>> Ah! The assert functions are meant to be used as statements, not as
>> composable expressions. If you're familiar with the idea of side
>> effects, then you need to understand that you should be calling the
>> assert functions just for their side effects
> Hi Anubhav,
>
> Ah! The assert functions are meant to be used as statements, not as
> composable expressions. If you're familiar with the idea of side effects,
> then you need to understand that you should be calling the assert functions
> just for their side effects, not for their return value
On Sat, Feb 6, 2016 at 3:54 PM, boB Stepp wrote:
> On Sat, Feb 6, 2016 at 10:07 AM, Anubhav Yadav wrote:
Just read Danny's reply after sending mine, which means that the
answer to my question:
> If my understanding is indeed correct, then I will leave it to you to
> figure out which logic opera
On Sat, Feb 6, 2016 at 10:07 AM, Anubhav Yadav wrote:
> class TestCase(unittest.TestCase):
> def test_red_temperature_simulation(self):
> """
> Method to test the red_temperature_simulation method
> """
> for i in range(10):
> self.assertLess(r
On Feb 6, 2016 12:31 PM, "Anubhav Yadav" wrote:
>
> Hello Everyone,
>
> I am trying to write a simple program that generated random numbers based
> on some rules.
> when my program is in the yellow state, it should generate the numbers
> from 100.0-100.5
> and 102.5-103.0. When my program is in th
On 25/01/2016 16:09, Parinay Mahakur wrote:
Hello Tutors,
I need a program that should enable me to read values from a large number
of ASCII files and then I have to plot desired values - In this file
headings for all columns are also given. The link for the file is -
http://jsoc.stanford.edu/S
On 25/01/16 16:09, Parinay Mahakur wrote:
> I need a program that should enable me to read values from a large number
> of ASCII files and then I have to plot desired values
Have you considered a spreadsheet like Excel?
You could write a couple of macros to read the files
and to generate the plot
On 15/09/15 00:25, Laura Creighton wrote:
The gmane.org reference is here:
gmane.comp.python.testing.general
I am not getting anything sensible out of this.
Works for me, but admittedly I only see one post in September.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.u
In a message of Mon, 14 Sep 2015 19:48:01 +0100, Alan Gauld writes:
>On 14/09/15 18:02, vijayram wrote:
>> Hi,
>>
>> I need help with python nose tests and test-suite… can I request help
>> with a tutor..
>
>You can try asking basic questions here, but as nose is not
>part of the standard libra
On 14/09/15 18:02, vijayram wrote:
Hi,
I need help with python nose tests and test-suite… can I request help with a
tutor..
You can try asking basic questions here, but as nose is not
part of the standard library you might get more help on the
python testing list:
The gmane.org reference
On Mon, Sep 14, 2015 at 10:02:35AM -0700, vijayram wrote:
> Hi,
>
> I need help with python nose tests and test-suite… can I request help with
> a tutor..
Sure. Ask your questions on the mailing list, and somebody will answer.
This is a group for *public* tutoring, so that everyone can learn
Alan Gauld writes:
> Third,
> The attachment didn't get here. So I've no idea what your assignment
> was. Its usually better to copy the text into the mail body.
Given that the attachment was described as “my project”, I would advise
not sending it here in any form.
Copy text here if it's *smal
On 02/07/2015 05:36 PM, Conner Wood wrote:
I fell behind 2 weeks in my class due to surgery and have a coding project
due tonight (Saturday, Feb. 7). I've attached my project to this email.
Please help! Also, I'm using a Mac laptop if that helps in anyway. Please
get back to me as soon as you
On 07/02/15 22:36, Conner Wood wrote:
I fell behind 2 weeks in my class due to surgery and have a coding project
due tonight (Saturday, Feb. 7). I've attached my project to this email.
Please help! Also, I'm using a Mac laptop if that helps in anyway. Please
get back to me as soon as you can.
Conner Wood writes:
> I fell behind 2 weeks in my class due to surgery and have a coding
> project due tonight (Saturday, Feb. 7). I've attached my project to
> this email.
My sympathies with your situation, I hope your surgery was successful
and you are in good health.
This is not a forum for
As a revision of my initial question, when we look at next_block(),
it's documented as follows:
def next_block(the_file):
"""Return the next block of data from the trivia file."""
What if there
On Wed, Feb 4, 2015 at 1:01 AM, Андрей Пугачев
wrote:
> Hi
> I'm learning python a few weeks and have problems with code that read text
> from txt-file
> Code doing all right, but in the end I have error
>
> Traceback (most recent call last):
> File "trivia_challenge.py", line 81, in
> main
Андрей Пугачев wrote:
> Hi
> I'm learning python a few weeks and have problems with code that read text
> from txt-file
> Code doing all right, but in the end I have error
>
> Traceback (most recent call last):
> File "trivia_challenge.py", line 81, in
> main()
> File "trivia_challenge.p
On 04/02/15 09:01, Андрей Пугачев wrote:
Code doing all right, but in the end I have error
Traceback (most recent call last):
File "trivia_challenge.py", line 81, in
main()
File "trivia_challenge.py", line 74, in main
category, question, answers, correct, explanation, points =
On Fri, 12 Dec 2014 07:46:05 -0500
Jagannath Ramanan wrote:
> My name is jag. I need little bit of help understanding something. I have a
> vncserver running at the background in redhat. My client is lubuntu where
> im using python.
>
> For some reason the communication is only possible between
On 12Dec2014 07:46, Jagannath Ramanan wrote:
My name is jag. I need little bit of help understanding something. I have a
vncserver running at the background in redhat. My client is lubuntu where
im using python.
For some reason the communication is only possible between them is to send
custom T
On 12/12/14 12:46, Jagannath Ramanan wrote:
vncserver running at the background in redhat. My client is lubuntu where
im using python.
For some reason the communication is only possible between them is to send
custom TCP/IP messages.
What makes you think so?
Is that something you have been to
On 12 December 2014 at 12:46, Jagannath Ramanan
wrote:
> Dear Sir / Madam,
>
> My name is jag.
Hi Jag,
> I need little bit of help understanding something. I have a
> vncserver running at the background in redhat. My client is lubuntu where
> im using python.
>
> For some reason the communicatio
On Dec 12, 2014 8:54 AM, "Jagannath Ramanan"
wrote:
>
> Dear Sir / Madam,
>
> My name is jag. I need little bit of help understanding something. I have
a
> vncserver running at the background in redhat. My client is lubuntu where
> im using python.
>
This question is out of scope for a beginner t
On Sun, Oct 19, 2014 at 7:27 AM, AMNA MOHAMMED ALRUHEILI
wrote:
> My name is Amna and I am totally new to python world with zero experience in
> programming. I am facing the challenge of converting data from pdf to excel.
> The data within pdf is numbers separated by space not within a table.
> I
On Mon, Aug 4, 2014 at 11:20 AM, P McCombs wrote:
> Sorry, I missed copying this to the list.
>
> On Aug 4, 2014 8:13 AM, "P McCombs" wrote:
>
>
>>
>>
>> On Jul 31, 2014 4:50 PM, "McKinley, Brett D." wrote:
>> >
>> > I would like to see if someone can help me with a python script. I’m
>> > tryi
Sorry, I missed copying this to the list.
On Aug 4, 2014 8:13 AM, "P McCombs" wrote:
>
>
> On Jul 31, 2014 4:50 PM, "McKinley, Brett D." wrote:
> >
> > I would like to see if someone can help me with a python script. I’m
trying to export a file geodatabase feature class to csv file. This is
wh
On 07/07/14 19:29, keith papa wrote:
# decimal (.) precision of 3 for float '0.333'
>>> print '{0:.3f}'.format(1.0/3)
The best way to see how this works is to try it
with different values:
>>> print('{0:.3f}'.format(1.0/3))
0.333
>>> print('{0:.5f}'.format(1.0/3))
0.3
>>> print('{0:.1f}'.fo
On 07/07/14 19:29, keith papa wrote:
Please post in plain text and avoid attachments if possible.
Just paste code directly into the email.
I've had to cut n paste everything to write this which is a pain...
>>> print '{0} was {1} years old when he wrote this book'.format(name, age)
>>> print '
On 15/02/14 13:35, Bunny Sehgal wrote:
I am doing "Building Skills in Python". In the Generator Function
example at
I assume you are talking about this one:
spins = [('red', '18'), ('black', '13'), ('red', '7'),
('red', '5'), ('black', '13'), ('red', '25'),
('red', '9'), ('black', '26'
Hi,
On 11 January 2014 14:52, S Tareq wrote:
> how can i do this on python using py game:
>
>
You need to tell us more about what you've tried and where you're stuck.
Needless to say we're not a solution provision service, but we'd be happy
to help you get unstuck if you've already done some pr
On 11/01/2014 14:52, S Tareq wrote:
how can i do this on python using py game:
No idea as what you've sent isn't readable when you try to reply. Also I
can't see any code so sorry but I'm not doing your homework for you :(
--
My fellow Pythonistas, ask not what our language can do for you,
On Wed, 8 Jan 2014 20:54:09 + (GMT), S Tareq
wrote:
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
This is a text newsgroup. Html messages and attachments of
On 08/01/2014 20:54, S Tareq wrote:
On Wednesday, 8 January 2014, 20:46, Danny Yoo
wrote:
Hi S Tareq,
You probably want to review the "What's new in Python 3" document,
with close attention to the "Common Stumbing Blocks" section:
http://docs.python.org/3.0/whatsnew/3.0.html#common-stumbling-
Hi S Tareq,
If you can, next time please just copy and paste the error message as
plain text. Please avoid screenshots unless they really are relevant
to the problem at hand.
There are good reasons why you should prefer plain text when asking
questions on a mailing list like this one. (1) Scree
You might want to check out the '2to3' program to convert Python 2.x
code to Python 3.x code.
The following command worked to change your code to runnable Python 3.x
code:
2to3 -w
--
Steve Mayer
smaye...@me.com
On 8 Jan 2014, at 10:19, S Tareq wrote:
need help how to run it on python
Hi S Tareq,
You probably want to review the "What's new in Python 3" document,
with close attention to the "Common Stumbing Blocks" section:
http://docs.python.org/3.0/whatsnew/3.0.html#common-stumbling-blocks
Have you read this document already?
On 08/01/2014 18:19, S Tareq wrote:
need help how to run it on python 3.3, or change it to python 3.3 when i
run it says syntax error if i run it on python 2.7 it works.
if(counter%2==0):
Please remove those unneeded brackets, this is a Python list, not C :)
print "Please Se
Hi Sourav,
Please use "Reply all" when you reply an email so that everyone else
also gets your messages and your chances of getting better help
increases.
On Sat, Nov 16, 2013 at 3:35 PM, Sourav Biswas wrote:
> Hi Amit,
>
> Yes I know, the question is not quite good. Currently I am trying to le
Hello Sourav,
On 16/11/2013 6:53 AM, "Sourav Biswas" wrote:
>
> Hi All,
>
> This is my first post. I want to learn API programming with Python. I
have basic knowledge of Python Programming. Could you please let me know
the starting points for this programming.
Since your question is fairly vague
On Sat, Sep 14, 2013 at 11:17:31PM -0400, Alex Palazzo wrote:
> Hi i need help with something with python.
And we're here to help. Would you like to tell us what you need help
with, or shall we guess?
--
Steven
___
Tutor maillist - Tutor@python.or
Hi i need help with something with python.
Alexander Palazzo
Rhode Island College '17
(401)474-1669
apalazzo_5...@email.ric.edu___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinf
On 30/06/13 16:42, Matt D wrote:
im sorry i don't understand how to pass the file name from the open
dialog into the update method? I'm sorry i just don't get it. so if
the user opened file is 'handle' like this?:
OK, technically you probably donb;t want to pasws it into the metjod but
to
On 30/06/13 15:04, Matt D wrote:
that sounds ideal, but i have not found a way to pass the user selected
file into the loop that writes the data without opening another file.
Don;t pass the file pass the fgile *name*
Then inside the update method open the file(in append mode)
and write the lat
On 30/06/13 04:41, Matt D wrote:
So i have a program that gets pickled data from a thread and displays
the data (9 strings) in TextCtrl fields in the UI.
The fact that it is a UI is largely irrelevant apart from the
fact that it forces an event driven architecture.
When the pickle is
receiv
On 06/29/2013 09:38 PM, Steven D'Aprano wrote:
I haven't read this entire thread, but the bits I have read lead me to
think that Matt has tangled himself up in a total confused mess. It's
*not this hard* to write status messages to a log file, the log module
does all the work. Can anyone w
1 - 100 of 424 matches
Mail list logo