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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,888

Full Statistics

Online Users
There are currently 52 online users.
» 2 Member(s) | 48 Guest(s)
Google, Bing, Bummibaer, perfringo

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: bowlofred
3 hours ago
» Replies: 2
» Views: 95
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
3 hours ago
» Replies: 6
» Views: 3,175
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 67
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 240
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 126
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,522
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 173
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,146

 
  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

  weird result trying to remove numbers from a list
Posted by: Exsul - Aug-21-2019, 01:53 AM - Forum: General Coding Help - Replies (6)

I'm trying to remove all the numbers from a list, but when I run the code, I get a strange result:

[python]nums = [1, 2, 3, 4, 5]
words = ["I", "s..... More

Print this item

  macron on top of uppercase letters
Posted by: newbieAuggie2019 - Aug-20-2019, 11:24 PM - Forum: General Coding Help - Replies (3)

I'm having problems displaying a macron on top of uppercase (or if you prefer, capital or mayuscule) letters (for Roman numerals) in Python 3.7.4

H..... More

Print this item

  features for asynchronous command execution class
Posted by: Skaperen - Aug-20-2019, 09:59 PM - Forum: News and Discussions - No Replies

i'm writing a class to execute commands in a pool that limits the number of processes that can be started concurrently. single commands and command p..... More

Print this item

  [PyQt5] FileManager
Posted by: Axel_Erfurt - Aug-20-2019, 09:58 PM - Forum: Code sharing - Replies (2)

QFilemanager

made in Linux

Features:

  • drag and drop Files to copy (SHIFT to move)
  • open Files with default app
  • create zip from..... More

Print this item

  Help on drawing a shape and slider
Posted by: mnh001 - Aug-20-2019, 09:19 PM - Forum: GUI - Replies (12)

I'm running Python 3.7.4 on a Windows 7 32-bit laptop.

What I'd like to do is write a program where, after taking a numerical input from
the user,..... More

Print this item

  TypeError: 'Series' object cannot be interpreted as an integer
Posted by: evelynow - Aug-20-2019, 08:38 PM - Forum: Data Science - Replies (2)

TypeError: 'Series' object cannot be interpreted as an integer

how do i solve this issue?
i am trying to apply my user defined function to a panda..... More

Print this item

  how to apply user defined function to Pandas DataFrame
Posted by: evelynow - Aug-20-2019, 02:54 PM - Forum: Data Science - Replies (3)

i made a user defined function with 4 arguements. these 4 arguements are the 4 columns of the panda dataframe. how do i apply it? i wish to make a new..... More

Print this item

  Python code to copy data from multiple workbooks into master sheet
Posted by: Fatman003 - Aug-20-2019, 02:26 PM - Forum: General Coding Help - Replies (2)

I have to copy data from 6 workbooks and paste it into a master workbook. All the workbooks are located in a folder on my desktop: C:\Users\f6565\Desk..... More

Print this item

  How to play against the computer
Posted by: Help_me_Please - Aug-20-2019, 01:48 PM - Forum: General Coding Help - Replies (4)

I have a fully functioning 4 in a row game, but the code I have written only allows for human player vs human player game, how would I go about progra..... More

Print this item

  paramiko exit code
Posted by: Nabi - Aug-20-2019, 12:42 PM - Forum: Networking - No Replies

Hello,

I would like to ask please what is the correct way to check for exit code in paramiko. For some devices when the "show version" works fine i..... More

Print this item

  Convert a mongo db scrip to python equivalent
Posted by: Herath - Aug-20-2019, 11:59 AM - Forum: General Coding Help - Replies (1)

Hi ,

I'm using below script in Robot mongo to update key value to and ObjectId type.
This is working perfectly

db.getCollection('tags').find({o..... More

Print this item

  Help appreciated
Posted by: elperex - Aug-20-2019, 11:52 AM - Forum: Homework - Replies (8)

Hello! If anyone can help me with this please, I'm new to python and I know this is probably super easy for you guys but I just c..... More
			

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 3 hours ago Moltar1997 bowlofred General Codin...
  best way to learn python 3 hours ago dutch ichsanputr News and Disc...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579356
  Tutorial Requ... 512303
  Web Scraping ... 442275
  Newbie with P... 386330
  New Users Int... 380146
Most reputation
buran 581
snippsat 511
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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