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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,582

Full Statistics

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

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
4 hours ago
» Replies: 4
» Views: 130
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 1
» Views: 78
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,543
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 104
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 230
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,054
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 468
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,100
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,177
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 857

 
  Decimal (Global precision setting)
Posted by: Valentina - Aug-22-2019, 12:06 PM - Forum: General Coding Help - Replies (3)

Hello!
I am doing my first steps in programming. I am using Python 3.7.2
I opened interesting numbers for me - Decimal fixed point.
But I have pro..... More

Print this item

  Extrakt a Variable from a closed tkinter window
Posted by: hWp - Aug-22-2019, 11:48 AM - Forum: GUI - Replies (5)

Hello together,

in the following code I want to start to create a tkinter window and open an Excel file, choose the sheet from a tkinter Dropdown and..... More

Print this item

  Why is there no __init_class__ method
Posted by: Drecker - Aug-22-2019, 11:37 AM - Forum: News and Discussions - Replies (1)

Hi, I am for quite a long time now wondering why there is no standard __init_class__ method (that would be called after successful definition of a m..... More

Print this item

  WindowManager TinyWM in Python
Posted by: ubuntu_gnome - Aug-22-2019, 10:49 AM - Forum: GUI - No Replies

Hi Guys,

I am new here and have start with python, hope my english is not to bad ^^. I do not know, who knows the WindowManager TinyWM, but I have ..... More

Print this item

  Generate a report in Python
Posted by: qureshi - Aug-22-2019, 10:06 AM - Forum: General Coding Help - Replies (2)

I an trying to generate using an APi in python. I am using the following code but getting this error:

{"code":400,"message":"Invalid input paramete..... More

Print this item

  Number format
Posted by: william888 - Aug-22-2019, 08:31 AM - Forum: General Coding Help - Replies (3)

Hi,

I have 2 columns (colA & colB) which is float type.

When I apply the following python code, the 2 columns shows exactly the same value.
Exa..... More

Print this item

  pygame.error: /etc/timidity.cfg: No such file or directory
Posted by: lsepolis123 - Aug-22-2019, 08:17 AM - Forum: General Coding Help - Replies (3)

run a script game in pygame in Zorin OS Linux system 32-bit

THIS Tetris game tetromino.py works with background sound midi files, splash screen sta..... More

Print this item

  Generalize the topic from a feature
Posted by: william888 - Aug-22-2019, 07:43 AM - Forum: Data Science - Replies (1)

Hi,

I have 2 columns (Description and Type), for each type I want to know what the general topic the type is indicating about.
For example, typeA ..... More

Print this item

  HTML to Python to Windows .bat and back to HTML
Posted by: perfectservice33 - Aug-22-2019, 06:26 AM - Forum: General Coding Help - No Replies

I have already created a program to run windows .bat file using Python and my requirements are

(1) Let user enter data in Tinymce editor embedded i..... More

Print this item

  Phone Number
Posted by: metro17 - Aug-22-2019, 06:21 AM - Forum: General Coding Help - Replies (3)

def check_phone():
while True:
phone = input("Please provide your phone number: ")
if len(phone)!=10 or ' ' in phone or phone.i..... More

Print this item

  list comprehension : print column as row
Posted by: pyseeker - Aug-22-2019, 06:09 AM - Forum: General Coding Help - Replies (4)

I have a 9 x 6 matrix (each value is a string) and need to print columns as rows, which is 6 x 9 matrix.

So, when I execute the following code it j..... More

Print this item

  Two variables in for loop
Posted by: vipinv23 - Aug-22-2019, 05:29 AM - Forum: General Coding Help - Replies (9)

Hello

I want to iterate two variables independently and simultaneously in a single for loop.
Is it possible? There is no relationship between the ..... More

Print this item

  what means in Python the "->"?
Posted by: lsepolis123 - Aug-22-2019, 05:22 AM - Forum: General Coding Help - Replies (2)

Here the code section in Python :

https://refactoring.guru/design-patterns...on/example

uses "->" like in a function declaration........ More

Print this item

  How to Kill Dead Loop of "while"
Posted by: cheers100 - Aug-22-2019, 04:31 AM - Forum: Homework - Replies (4)

Hello,

I'm a very beginner of Python. I teach myself Python with videos.

My question is I write an dead loop of while. How should I stop the pro..... More

Print this item

  *args and Tuples
Posted by: millpond - Aug-22-2019, 04:22 AM - Forum: Homework - Replies (4)

[Python]
def func(*items):
print(type(items))
a=list(items)
print(type(a))
a[3]= 1026
for i in a:
print i
..... More

Print this item

  question about list comprehension
Posted by: Exsul - Aug-22-2019, 03:19 AM - Forum: General Coding Help - Replies (3)

I understand most of this:

>>> [(x, y) for x in [1,2,3] for y in [3,1,4] if x != y]
[output][(1, 3), (1, 4), (2, 3), (2, 1), (2, ..... More

Print this item

  def function default parameter expressions
Posted by: Skaperen - Aug-22-2019, 12:32 AM - Forum: General Coding Help - Replies (2)

when there is an assignment of a default to an expression in a function def prototype at function definition time, can the expression use previously d..... More

Print this item

  More Efficent Way of Generating Permutations/ w Rep
Posted by: ClassicalSoul - Aug-21-2019, 10:12 PM - Forum: General Coding Help - Replies (2)

Hi,

My current method of generating permutations with repetition is to first generate all combinations with repetition, then find the permutations ..... More

Print this item

  length constraint on phrase hash to password
Posted by: javaben - Aug-21-2019, 05:34 PM - Forum: General Coding Help - No Replies

Background
I have a general question regarding creating hashes from a passphrase, where the hash output will have to be constrained to a certa..... More

Print this item

  Next zero of a function on sympy
Posted by: VicenteM - Aug-21-2019, 04:58 PM - Forum: Data Science - No Replies

On Sympy I need to find a sequence of roots (zeros) of a Bessel functions combination. So I need a function that returns the next zero of a function. ..... More

Print this item

  show and storage real temperature data Arduino in Python3
Posted by: linkxxx - Aug-21-2019, 04:07 PM - Forum: General Coding Help - No Replies

I'm using 2 thermocouples type T connected to Arduino with Mux, Arduino is connected to Raspberry using the usb connection, with Python I'm trying to ..... More

Print this item

  ER-Diagram: How To Publish Examples Here On This Forum
Posted by: apollo - Aug-21-2019, 03:43 PM - Forum: Board - Replies (2)

hello dear all ,


topic: questions with some eplanations - for db-related areas and topics - export er-diagram


i want to post questions wit..... More

Print this item

  Help with drawing integers.
Posted by: ghost0fkarma - Aug-21-2019, 03:24 PM - Forum: Game Development - Replies (4)

[python]import pygame, sys


class Scene:
def __init__(self):
self.team1 = 0
self.team2 = 0
self.font = pygame.font..... More

Print this item

  python decimal scale precision
Posted by: massimo_m - Aug-21-2019, 02:53 PM - Forum: General Coding Help - Replies (5)

Good morning, i'm starting a project in python, for a documents-of-transport, invoice, etc.
In this project i need to use the DECIMAL type, but i need..... More

Print this item

  Help solving a task - beginner stuff.
Posted by: Kristen - Aug-21-2019, 02:50 PM - Forum: Homework - Replies (4)

Hi there,
I am learning python from scratch, trying to solve a 'task', having some issues.
The task is:

Letter Guess¶
create letter_guess() f..... More

Print this item

  RuntimeError: can't open file
Posted by: Hadad - Aug-21-2019, 02:39 PM - Forum: General Coding Help - Replies (2)

In the below code I am trying to import a .dat file that has the IQ data to run in my Python Flask webserver. When I run the program, it crashes and g..... More

Print this item

  getopt with tuple not working proper
Posted by: Frank123456 - Aug-21-2019, 12:46 PM - Forum: General Coding Help - No Replies

Hi, i have a piece of code where i try to pass some "ConsoleArguments" to pythons getopt function. The problem is, that i want to fake some user input..... More

Print this item

  MSVCRT Help
Posted by: TomJS - Aug-21-2019, 12:29 PM - Forum: General Coding Help - Replies (6)

I want my distance variable to increase by 1 every time i click a / d.

[python]import msvcrt
import time
import random

def Start():
input..... More

Print this item

  Create table with psycopg2 on postgreSQL DB
Posted by: yhecohen - Aug-21-2019, 11:49 AM - Forum: General Coding Help - Replies (2)

Hello everyone, that's my first time on this forum, but maybe not the last:

I have a problem, i want to create a table in a postgreSQL DB that i cr..... More

Print this item

  How to count and order numbers in a list
Posted by: rachyioli - Aug-21-2019, 10:22 AM - Forum: General Coding Help - Replies (2)

Hi guys, I have a list of random numbers and I want to know how many times each number occurs on the list ; I want them ordered by the ones that occu..... More

Print this item

  Copying a file
Posted by: Kundan - Aug-21-2019, 08:28 AM - Forum: General Coding Help - Replies (1)

import shutil
shutil.copy(“\\Om-pc\e\Office File\Access Original 14-16\Cash MAR.2017 TO APR.2019.accdb”, "C:\Users\KUNDAN\Desktop\Cash MAR.2017 TO AP..... More

Print this item

  get value if it's exist [python]
Posted by: senait - Aug-21-2019, 06:44 AM - Forum: General Coding Help - Replies (1)

hi
i'm trying to get value "y" if a specific folder name is exist in directory.
Thx

Print this item

  How do i append into dict?
Posted by: Gateux - Aug-21-2019, 04:22 AM - Forum: General Coding Help - Replies (12)

[python]
for x in range(3):
patientlist = {}
patientname =input('Enter new name: ')
patientlist["Patient Name:"] = patientname
print..... More

Print this item

  getting file type information
Posted by: Skaperen - Aug-21-2019, 03:39 AM - Forum: News and Discussions - Replies (5)

there are a number of different functions and methods in a variety of different modules to return a status of whether a named file is of a particular ..... More

Print this item

  Writing my first Django app
Posted by: sunny_awesome - Aug-21-2019, 03:13 AM - Forum: Web Scraping & Web Development - Replies (4)

Hey Guys,

I am following along Django official documentation for learning Django. I am now in Part 2 (Writing your first Django app)

I have made..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 4 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium 11 hours ago glestwid Larz60+ General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577490
  Tutorial Requ... 501410
  Web Scraping ... 441110
  Newbie with P... 385164
  New Users Int... 369948
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today

User Panel Messages

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