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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,547

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 36 Guest(s)
Applebot, Bing, AOL, Google, Mojeek

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 4
» Views: 109
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 491
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,030
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,590
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 490
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 954
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 972
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,243
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,853
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,891

 
  Django- which database i should use? with best speed and performance!!
Posted by: ma_norouzifar - Dec-10-2018, 06:32 AM - Forum: Web Scraping & Web Development - Replies (4)

hello

which database i should use for python for create web application??
a database with best speed an performance !!

i use windows 10 .. and..... More

Print this item

  new versions
Posted by: starchief - Dec-10-2018, 05:08 AM - Forum: Bar - Replies (2)

I have version Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32
why dont newer versions let me turn autocomp..... More

Print this item

  Get Serial ports via Function
Posted by: shift838 - Dec-10-2018, 01:17 AM - Forum: General Coding Help - Replies (1)

I have the below code that works fine by itself but not in a function to retrieve the name of the serial ports.

[code]
import serial.tools.list_po..... More

Print this item

  Class sort not sorting corretly
Posted by: chrissowden14 - Dec-09-2018, 10:44 PM - Forum: Homework - Replies (7)

[python]class SortedList:
def __init__(self):
"""
Constructor: build an empty sorted list
"""
self.nums = lis..... More

Print this item

  [split] image VS drawing
Posted by: Windspar - Dec-09-2018, 10:44 PM - Forum: Game Development - Replies (14)

Simple improvement would to put images in a list or dict.
This would stop if block. When more image are added.
[python]DISPLAYSURF.blit(tileImage[ti..... More

Print this item

  Recursion
Posted by: koolinka - Dec-09-2018, 10:41 PM - Forum: Homework - Replies (1)

Hi, I'm working on a project for my class in which recursion MUST be use to display a corresponding amount of lines to a user's input. So far I have t..... More

Print this item

  Dictonary and list help
Posted by: Btoulouse - Dec-09-2018, 08:44 PM - Forum: Homework - Replies (3)

Hey guys, I'm having tons of trouble getting this to work right. So for whatever reason, not all of the years are matching correctly and I cant figure..... More

Print this item

  moving objects
Posted by: Francisco - Dec-09-2018, 07:14 PM - Forum: General Coding Help - Replies (4)

hey i need help in my code to make an object move where i click with the mouse, please

Print this item

  Seam Carving or Bilateral image filtering
Posted by: scott14 - Dec-09-2018, 06:55 PM - Forum: General Coding Help - Replies (1)

I need help to develop a program that can handle one of the topic: Image filtering or seam carving

Print this item

  Scapy, creating response for GET request.
Posted by: SyRex1013 - Dec-09-2018, 06:12 PM - Forum: Networking - Replies (4)

Hello,
I built code to sniff GET requests. When I detect GET request I drop it (using other tool I stop it from reaching the router) and then I want ..... More

Print this item

  [Software suggestion] Video player written in Python?
Posted by: ThePhi - Dec-09-2018, 04:24 PM - Forum: News and Discussions - Replies (2)

Hi to all the pythoners! Smile

I'm looking for suggestions of video player softwares (with a GUI, not to be launched from a python command), ..... More

Print this item

Thumbs Up Simple code for isometric 2D games
Posted by: ThePhi - Dec-09-2018, 02:34 PM - Forum: Game Development - Replies (1)

Hi all!
I haven't found any posts about this so I'm posting a simple code to create your own 2D isometric surface.

Hope you´ find it useful! ;)
..... More


Attached Files
Image(s)
       
Print this item

  Decorator vs. evaluate function in function
Posted by: MaxPowers - Dec-09-2018, 01:33 PM - Forum: General Coding Help - Replies (1)

Hi there,

in my project I use assertation functions similar to the one below to perform, for example, bounds checking:

[python]
def assert_gre..... More

Print this item

  for loop
Posted by: nesrine - Dec-09-2018, 01:20 PM - Forum: Data Science - Replies (2)

Hello,

I have this code and I want obtained all the possible values of the matrix X:

[python]import numpy as np

for i in range (10):

..... More

Print this item

  SQL statements
Posted by: jane_0001 - Dec-09-2018, 12:59 PM - Forum: Homework - Replies (2)

I couldn't write 4 SQL SELECT statements satisfying the following conditions:

At least one of the queries should incorporate a single or multip..... More

Print this item

  Python please help
Posted by: jane_0001 - Dec-09-2018, 11:55 AM - Forum: Homework - Replies (1)

1. Binary Search Tree
There is a binary search tree and a number N. The task is to find the greatest number in the binary search tree that is less th..... More

Print this item

  Python Idea Assist.: BerryIMU & Raspberry Pi 3 Audio Mapping
Posted by: StephLeber - Dec-09-2018, 10:43 AM - Forum: General Coding Help - No Replies

Greetings!

I am a Multimedia Student who is working on a audio/motion sensor project. I managed to make the project work in Processing 3, but now I..... More

Print this item

  How do I make my plot show up?
Posted by: ThomasM4 - Dec-09-2018, 05:28 AM - Forum: Homework - No Replies

For this assignment, we are tasked with making a gui program that allows the user to enter many different values such as, x0, dx(0)/dt, t-final, dt, c..... More

Print this item

  anyone know of terminal emulators ... in Python3
Posted by: Skaperen - Dec-09-2018, 05:02 AM - Forum: News and Discussions - No Replies

anyone know of terminal emulators that work at least on X Windows (if not also on others) and at least on Linux on amd64 (if not also on others) that ..... More

Print this item

  still can't get pip to run
Posted by: Skaperen - Dec-09-2018, 03:53 AM - Forum: News and Discussions - Replies (4)

i am still having troubles getting pip to run:
[output]lt2a/forums /home/forums 1> pip list
Traceback (most recent call last):
File "/usr/local/b..... More

Print this item

  Finding files
Posted by: knollfinder - Dec-09-2018, 03:11 AM - Forum: General Coding Help - Replies (2)

I am using an iMac with OS 10.12.6. I downloaded 3.7.1, and, using IDLE in the shell, I tried to read an existing text file with
[python]f = open(..... More

Print this item

  Getting 'hello word' to work in Web server?
Posted by: RedLeonard - Dec-09-2018, 02:37 AM - Forum: Web Scraping & Web Development - Replies (5)

I have a Windows 2016 Server and can't get 'hello world' with Python up and running

The way I've added the code works fine on other servers, yet on t..... More

Print this item

  How can classes access each other Functions and Variables at the same time
Posted by: PythonOK - Dec-09-2018, 01:52 AM - Forum: General Coding Help - Replies (4)

How can classes access each other Functions and Variables at the same time? I know you have to use object and self with _init__
I was able to access ..... More

Print this item

  pyqt5 combobox add item with loop
Posted by: shift838 - Dec-09-2018, 01:21 AM - Forum: GUI - Replies (5)

Is there a way to use a for loop to add items to comboboxes. All items would be the same in each combobox.

I thought the below might work but nada..... More

Print this item

  Transistor C.E. amp Basic design concepts calculator
Posted by: hobbyprogrammer - Dec-08-2018, 11:13 PM - Forum: Code sharing - Replies (2)

This is an earlier program I wrote when I first began learning python,
since then I have upgraded the coding style and features about 8 times,
this ..... More

Print this item

  how to assign a command to a button
Posted by: ChickenWithRice - Dec-08-2018, 09:28 PM - Forum: GUI - Replies (2)

Hello!
I'm having some trouble with my code. I can't find how to assign a command to a button. It keeps coming up with an error saying " line 5, in g..... More

Print this item

  Index Out Of Range problem
Posted by: yelyah - Dec-08-2018, 08:41 PM - Forum: General Coding Help - Replies (5)

Hello guys! I am working on a code that takes lines from ASC log file that logs CAN messages from vehicle. I get this error even tho my programs runs ..... More

Print this item

  create three digit numbers
Posted by: Krszt - Dec-08-2018, 08:30 PM - Forum: Homework - Replies (4)

Hello!

I would like to get all the 3 digit numbers where, the digit on the right side is equal or bigger than the previos one (on its left). Like: ..... More

Print this item

  pip can't install pygame
Posted by: SheeppOSU - Dec-08-2018, 07:53 PM - Forum: Game Development - Replies (1)

I went to the command prompt and typed py -m pip install -U pygame --user. It looked like it was working fine and then this pop..... More

Print this item

Question Need help analyzing data inside a list
Posted by: HDinis09 - Dec-08-2018, 02:15 PM - Forum: General Coding Help - Replies (3)

I have a list that contains a large amount of characters(only letters), and i am trying to analyze the amount of each letters that list contains.
[py..... More

Print this item

  error while executing pip install mysqlclient
Posted by: kaykay - Dec-08-2018, 11:31 AM - Forum: Web Scraping & Web Development - Replies (7)

C:\Users\smitp\Projects\distancelearning>pip install mysqlclient
Collecting mysqlclient
Using cached https://files.pythonhosted.org/packages/f7/a2..... More

Print this item

  Dataload() crash when filename is not found
Posted by: Mark3232 - Dec-08-2018, 10:09 AM - Forum: Homework - Replies (1)

Hi Python-forum,

My problem is that whenever an incorrect name "file.txt" is entered into my dataload function, it crashes instead of printing the..... More

Print this item

  appending list items to other lists
Posted by: clarablanes - Dec-08-2018, 09:02 AM - Forum: General Coding Help - Replies (4)

Good morning friends,
the whole week trying to do the following:

I have to obtain 16 descriptors of thousands of compounds.
The idea is to creat..... More

Print this item

  Why am I getting this error?? Help me out!!!
Posted by: ghustcat590 - Dec-08-2018, 07:38 AM - Forum: General Coding Help - Replies (2)

[python]
from sys import argv
script, number1, number2 = argv


print("Here is your 1st number: ", number1)
print("Here is your 2nd number: ", n..... More

Print this item

  What are Palindromes in Python?
Posted by: HarshaliPatel - Dec-08-2018, 06:33 AM - Forum: General Coding Help - Replies (5)

Can a Palindrome be implemented in Python?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 2 hours ago tester_V noisefloor General Codin...
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577203
  Tutorial Requ... 500223
  Web Scraping ... 440902
  Newbie with P... 384918
  New Users Int... 369204
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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