Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Not listen for multi clicks
Post: RE: Not listen for multi clicks

change Quote: def increase(self): self.nr += 1 sleep(1) # Do some heavy stuff self.ids.nr_label.text = str(self.nr) to if self.nr == 0: self.nr = 1 self.id...
Barrowman GUI 2 217 Nov-18-2021, 02:02 PM
    Thread: problem with python
Post: RE: problem with python

It has a GUI interface. Once installed go to the menu/programming/Thonny. Once it's running you will see it's icon in the panel at the bottom of the screen. Right click on the icon and select 'Pin to ...
Barrowman GUI 22 2,670 Apr-28-2021, 09:31 PM
    Thread: problem with python
Post: RE: problem with python

I had never heard of codium. Have you used it on Windows? Maybe it is intended for python 2.x so perhaps that's why it's complaining. If you haven't used it before and as you are new to python Thonny ...
Barrowman GUI 22 2,670 Apr-28-2021, 07:17 PM
    Thread: problem with python
Post: RE: problem with python

I can't read your screenshot result. I gather you ran pip3 but can't read the output. The easy way is to start a terminal, run the command, highlight all the text you want to copy ( hold down left mou...
Barrowman GUI 22 2,670 Apr-28-2021, 05:20 PM
    Thread: problem with python
Post: RE: problem with python

Looks like you have misunderstood this. Python3 comes already installed in Mint 20.1 so no need to install python. Was it telling you you needed to do pip install TkinterQuote: #-------------- #Imp...
Barrowman GUI 22 2,670 Apr-28-2021, 01:37 PM
    Thread: problem with python
Post: RE: problem with python

I did some further checks. In Mint 20.1 there is only python3 installed. So I suspect you had to install pip and so installed it as the information said. But pip is for python2 in which case when you ...
Barrowman GUI 22 2,670 Apr-28-2021, 08:22 AM
    Thread: problem with python
Post: RE: problem with python

(Apr-27-2021, 08:29 PM)raarkil Wrote: Hello all! I am new to linux but I like to program and I installed linux mint 20.1, but I got problem with pip, when I writing a code with some module it says t...
Barrowman GUI 22 2,670 Apr-27-2021, 08:50 PM
    Thread: How can I simplify this code?
Post: RE: How can I simplify this code?

As this cannot be tested on anything except a raspberry Pi you might be better off trying the forum there. Also instead of having different functions for each pin why not pass a variable to one functi...
Barrowman GUI 3 878 Feb-04-2020, 04:42 PM
    Thread: Working with 2 displays
Post: RE: Working with 2 displays

I am sure there are those who would be able to help you but not without seeing your current code. So please post it so it can be looked at
Barrowman GUI 2 1,035 Mar-17-2019, 02:03 PM
    Thread: cups printing
Post: cups printing

I have a raspberrypi I am using as a print server and it has my HP Officejet on a USB port. I can print to it from libreoffice, gedit and all other programs I use. I am trying to use python-cups and a...
Barrowman Networking 1 5,737 Jan-08-2019, 11:12 PM
    Thread: tkinter in RPi
Post: RE: tkinter in RPi

I have several Pi's but don't run Windows at all as I have Linux Mint on my laptop. What is different on Pi? Is it the colours, shape or something else? Perhaps a screenshot of both might help otherw...
Barrowman GUI 1 1,258 Oct-15-2018, 05:24 PM
    Thread: Access a remote server with ssh
Post: RE: Access a remote server with ssh

What are you trying to do to connect to the server? Are you substituting your values in this: ssh.connect('111.111.1.1', username='User', password='Password', allow_agent = False)If you are can you sh...
Barrowman GUI 6 3,682 Sep-21-2018, 04:53 PM
    Thread: Create a report using excel
Post: RE: Create a report using excel

I have not used xlsxwriter but looking at this https://xlsxwriter.readthedocs.io/tutorial01.html I see a note Quote:Note XlsxWriter can only create new files. It cannot read or modify existing files....
Barrowman GUI 3 1,449 Sep-20-2018, 07:49 AM
    Thread: Create a report using excel
Post: RE: Create a report using excel

How did you create the sheet? Show us your code. I'm guessing you didn't open the file correctly. If you do fo= open("sheet", 'w')it overwrites but if you do fo = open("sheet", 'a')it appends to th...
Barrowman GUI 3 1,449 Sep-19-2018, 12:01 PM
    Thread: wx.StaticBitmap change image
Post: RE: wx.StaticBitmap change image

Okay. So as I am learning I need some explanations as to how this works. I could not see how to fit these into a working program. I still can't figure out how to use it. Also the combobox part you pos...
Barrowman GUI 4 5,835 Jul-02-2018, 05:49 AM
    Thread: wx.StaticBitmap change image
Post: RE: wx.StaticBitmap change image

I am a beginner with wxPython but I think you need to post the whole of your code and most importantly what error did you get?
Barrowman GUI 4 5,835 Jul-01-2018, 09:57 PM
    Thread: Using 2 screens in wxpython
Post: RE: Using 2 screens in wxpython

I made a mistake with the above. In fact with my second way of placing the vbox using pos it does display correctly. This is true with python 3.5.3 and 3.64
Barrowman GUI 1 1,549 Jun-27-2018, 07:43 PM
    Thread: Using 2 screens in wxpython
Post: Using 2 screens in wxpython

I am trying to use a 19" T.V with my laptop connecting it via the hdmi port. I am running python 3.53 and wxpython 4.0.2 on my Linux Mint 18.2 HP laptop. I found a script which allowed me to set this ...
Barrowman GUI 1 1,549 Jun-27-2018, 04:52 PM
    Thread: Trying to use code from WxPython GUI Toolkit
Post: RE: Trying to use code from WxPython GUI Toolkit

(Jun-26-2018, 04:32 PM)nilamo Wrote: (Jun-26-2018, 03:59 PM)Barrowman Wrote: class Example(wx.Frame()): Are you sure it's wx.Frame(), and not just wx.Frame? I did think it was but I have had anoth...
Barrowman GUI 3 2,542 Jun-26-2018, 05:32 PM
    Thread: Trying to use code from WxPython GUI Toolkit
Post: Trying to use code from WxPython GUI Toolkit

I have copied the following code: import wx class Example(wx.Frame()): def __init__(self, parent, title): super(Example,self).__init__(parent, title = title, size = (300,250)) self.InitUI() se...
Barrowman GUI 3 2,542 Jun-26-2018, 03:59 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020