Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 33 Guest(s)
Google, Bing, Applebot

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 2
» Views: 69
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 12:09 PM
» Replies: 4
» Views: 121
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 211
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 344
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Nov-11-2025, 05:07 AM
» Replies: 5
» Views: 301
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 130
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,631
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 224
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 215
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,593

 
  My program is very laggy
Posted by: GamePlanet - Aug-13-2017, 09:32 AM - Forum: Game Development - Replies (6)

I am making a program. But is verry laggy.

Here's my code:

import pygame
import os

x = 0
y = 0

os.environ['SDL_VIDEO_WINDOW_POS'] = "%d,..... More

Print this item

  print floating point number
Posted by: Regulus - Aug-12-2017, 10:29 PM - Forum: General Coding Help - Replies (19)

my question here
I use python 3 and trying to print a floating point number. But python is giving me the number to only one decimal place. What do I ..... More

Print this item

  Move the data up to the next row in a database
Posted by: chris0147 - Aug-12-2017, 07:37 PM - Forum: General Coding Help - Replies (1)

Hi all,
I need some help with my code, I am using the code to write data to input them in the database where I will move the data down from the same ..... More

Print this item

  pyinstaller not create single exe
Posted by: buran - Aug-12-2017, 03:24 PM - Forum: General Coding Help - Replies (3)

following this thread
https://python-forum.io/Thread-Have-you-used-pynsist
I decided to try pyinstaller. I want single exe + my config.ini file, but I..... More

Print this item

  Python Assistance Kodi Addon
Posted by: yuljk - Aug-12-2017, 03:02 PM - Forum: General Coding Help - No Replies

Hi guys - I need some help with a Kodi addon (UKTVNOW) - I'd like to modify the addon so that it no longer prompts everytime I select a channel to wat..... More

Print this item

  Bubblesort
Posted by: Augustin1340 - Aug-12-2017, 02:54 PM - Forum: Homework - Replies (2)

I would like to sort several points from smallest to biggest however. I will wish to get this result:
..... More

Print this item

  Using nested for loop with a single list
Posted by: mikeavison - Aug-12-2017, 01:30 PM - Forum: General Coding Help - Replies (3)

I am trying to examine every sum of three numbers from a single list

So for example if the list was 1,2 I want to examine 1=1+1+1 and 1+1+2 and 1+2..... More

Print this item

  csv data not written into avro file
Posted by: rajeshdatla2000 - Aug-12-2017, 12:50 PM - Forum: General Coding Help - Replies (2)

csv data not written into avro file
DataFileWriter is not appending the data in avro format

[python] reader = csv.DictReader(opened_in_file, diale..... More

Print this item

  python 3.x and selenium. Service unexpectedly exited
Posted by: volkoshkursk - Aug-12-2017, 12:17 PM - Forum: Web Scraping & Web Development - No Replies

Hallo. I'll get

Error:
ERROR - Message: Service /usr/bin/safaridriver unexpectedly exited. Status code was: 1
, if I try to run open_hyperlink_..... More

Print this item

  How to run a script within a pyqt window
Posted by: finswitch - Aug-12-2017, 01:25 AM - Forum: General Coding Help - Replies (1)

Hi,

I have written a pyQt script for a window with some button indicators in it. Within this window I have written a second section which monitors ..... More

Print this item

  Nested Generator Performance
Posted by: micseydel - Aug-12-2017, 01:15 AM - Forum: Board - Replies (1)

(Even though this is still Python, it's not really a question, or any other section, so here I am.)

I often give an interview question to flatten a..... More

Print this item

  icode adjustment
Posted by: metulburr - Aug-12-2017, 12:01 AM - Forum: Board - Replies (9)

I was wondering if we should adjust the icode height.

Mainly to see underscores. On chrome the underscores are basically invisible due to the icode..... More

Print this item

  Print text file problems
Posted by: Fran_3 - Aug-11-2017, 10:52 PM - Forum: General Coding Help - Replies (3)

I have a text file test.txt with contents separated by a comma like
Mary,Teacher
John,Admin
Joan,Boss

But when I run the code below the x[1] element ..... More

Print this item

  Write to db Table
Posted by: VodkaSodaWater - Aug-11-2017, 08:51 PM - Forum: General Coding Help - Replies (1)

Hi All,
I am getting an exit code 1 but I am not getting a reason why or an error. Im running version 2.7.13, and making an API call. I can make the ..... More

Print this item

  Insert data in a table after a user is created from djando admin
Posted by: prithvi - Aug-11-2017, 06:25 PM - Forum: Web Scraping & Web Development - No Replies

I am a fresher in django. I am using django 1.10 with allauth app which takes care of frontend registration, sending user confirmation email,validatio..... More

Print this item

  print within function
Posted by: zpetsch - Aug-11-2017, 02:44 PM - Forum: General Coding Help - Replies (2)

I am writing a simple converter to change a bearing to a polar coordinate. I'm not quite sure what I'm doing wrong, but the code below won't print the..... More

Print this item

  Can access class private variable?
Posted by: Michael - Aug-11-2017, 12:46 PM - Forum: General Coding Help - Replies (2)

Hi,

Am new to Python3 (previously Java)
Below I make a class, instantiate it, and then do 2 things I don't understand (see comments)

Appreciate..... More

Print this item

  NMEA read parse and write from/to serial port
Posted by: ESEAMarine - Aug-11-2017, 09:49 AM - Forum: General Coding Help - Replies (1)

Hi,
I am trying to write a code that can receive a stream of NMEA sentences from my GPS via serial port, parse the sentence and write it as a differe..... More

Print this item

  m_logicalFileSize
Posted by: shamivand - Aug-11-2017, 07:06 AM - Forum: General Coding Help - Replies (1)

I have a problem when open a .cae File . When I want to open file abaqus get me an error => location<=m_logicalFileSize.
How I can resolve this prob..... More

Print this item

  Have you used pynsist?
Posted by: buran - Aug-11-2017, 06:19 AM - Forum: Web Scraping & Web Development - Replies (9)

Anyone who has used pynsist?
As a more broad question - do you consider distributing an app to a clie..... More

Print this item

  Need help for list of list of tuple !
Posted by: webdef - Aug-11-2017, 05:10 AM - Forum: General Coding Help - Replies (4)

Quite newbie, I need help to search and modify some elements of a tuple (Python 2.7).
For example, how to replace "aaa" in first element into "bbb" ?..... More

Print this item

  Python 2 vs Python 3, developers should be more coherent!!!
Posted by: xuancong - Aug-11-2017, 04:30 AM - Forum: News and Discussions - Replies (4)

As an experienced developer in Python 2 & 3, I would like to give Python developer team some significant comments.
It is understood that we all want t..... More

Print this item

  Disable anti aliasing for text
Posted by: AnonymousNobody - Aug-11-2017, 04:12 AM - Forum: GUI - Replies (3)

I apologize for asking another question, but how can I disable text anti-aliasing in tkinter? I have tried padx= and pady= -1 and -2, but neither work..... More

Print this item

  Interpeter / Installer help
Posted by: AMSSINC5 - Aug-11-2017, 03:35 AM - Forum: General Coding Help - Replies (3)

New to the language. I have a Mac Book Pro 10.12.5. I went to the Python Website before checking my terminal to see if an older version or up to dat..... More

Print this item

  Simple List manipulation - bowled
Posted by: radioactive9 - Aug-11-2017, 01:54 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello

I have a simple list like below. Now I need to convert that list into unique technology list. For e.g in VMWare_Technology we have both yell..... More

Print this item

  IndentationError: unexpected indent (Python)
Posted by: segs - Aug-11-2017, 01:25 AM - Forum: General Coding Help - Replies (8)

Hi All,

I have this script that gives me a bunch of errors Please help. Am new to python

[python]>>>
... def create_zendesk_ticket(self,ev..... More

Print this item

  Invalid syntax, but not showing what it is!?!
Posted by: WillHampGuy - Aug-10-2017, 08:35 PM - Forum: General Coding Help - Replies (9)

Hi guys, I've got a problem ?

I've put some code into idle 3, and it's saying 'syntax error' when I run it, but it isn't showing me where the error..... More

Print this item

  How to keep paramiko ssh session open after loggin in using python?
Posted by: MikeHill - Aug-10-2017, 07:22 PM - Forum: Networking - Replies (3)

I am trying to ssh to a test cisco router in a test environment using python paramiko, and run cisco commands in that test router.

Everything works..... More

Print this item

  Saving username as first name while adding user in django admin
Posted by: prithvi - Aug-10-2017, 06:50 PM - Forum: Web Scraping & Web Development - No Replies

I am trying to save username as firstname while adding a user from django admin. Currently it saves None in the username field as I have excluded user..... More

Print this item

  Python Tkinter GUI
Posted by: EvilTeliportist - Aug-10-2017, 05:38 PM - Forum: Code sharing - No Replies

Hi. Im trying to make a quick game that should be very simple, but I'm currently struggling. The goal is to have 3 Spinbox's that can't go lower than ..... More

Print this item

  Surprising behavior of SQLite3 "with" query
Posted by: dbman007 - Aug-10-2017, 05:27 PM - Forum: General Coding Help - Replies (3)

My question concerns the behavior of SQLite3 with query.
When a select query has been executed, cursor attribute description pro..... More

Print this item

  How to access each line in for loop and split string
Posted by: SriRajesh - Aug-10-2017, 03:04 PM - Forum: Homework - Replies (2)

I want to read text file and write csv: 
I use the following code,
[python]import glob
import os
import re
list_of_files = glob.glob('D:\Mekala_B..... More

Print this item

  MIDI Inputs
Posted by: NightPython42 - Aug-10-2017, 01:48 PM - Forum: General Coding Help - Replies (3)

I want to work on piano writing, which is pretty much turning a live input into a letter, and I can't figure out how to get a midi input into Python t..... More

Print this item

  Adding libraries to Python 3.6.2 embedded
Posted by: hynek_compelson - Aug-10-2017, 08:30 AM - Forum: General Coding Help - Replies (1)

Hello, I am trying to add pycryptodomex library into Python 3.6.2 embedded but without no success.
Has anyone else encountered such problem?..... More

Print this item

  Image conversion form cartesian to polar and back to cartesian
Posted by: Ashwinraj - Aug-10-2017, 07:41 AM - Forum: Data Science - Replies (2)

I am trying to convert Image from form Cartesian to polar and back to Cartesian but there is loss in the image, please help me to optimize my code

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 9 hours ago sarbogast deanhystad General Codin...
  New to python and coding Yesterday, 12:09 lary_p jefsummers Homework
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... 11-11, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578891
  Tutorial Requ... 510049
  Web Scraping ... 441931
  Newbie with P... 385942
  New Users Int... 376593
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday
Kacper 11-11

User Panel Messages

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