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,977
» Latest member: stephaniehendrix
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 54 online users.
» 1 Member(s) | 44 Guest(s)
Apple, Bing, Google, Facebook, Mojeek, Gribouillis

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
7 hours ago
» Replies: 2
» Views: 218
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 847
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 893
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 588
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,940
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,354
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,931
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,358
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,275
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,598

 
  [Beginner] Code is not producing desired result
Posted by: fakej171 - Mar-20-2020, 02:20 PM - Forum: General Coding Help - Replies (2)

1. How to define range 1 to infinity in function range()?
2. Am I using for-else loop correctly?
3. Also even if I enter everything correctly follow..... More

Print this item

  Anyone experienced with webkit2png?
Posted by: KipCarter - Mar-20-2020, 01:29 PM - Forum: General Coding Help - Replies (3)

This is the confusing thing about some python packages...

The wealth of packages to assist you in reaching your goals are amazing but now and then ..... More

Print this item

  ReportLab
Posted by: Polypop77 - Mar-20-2020, 01:17 PM - Forum: General Coding Help - No Replies

Hello everyone,

I'm new ReportLAB's user and I have a question: how is the table of contents formed ? it's automatic?

Thanks everyone **smile..... More

Print this item

  Python tool based on website?
Posted by: zarize - Mar-20-2020, 12:15 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi guys,

Is there any website/platform where i can write and run my script written in python via this website?

I would like to create python too..... More

Print this item

  isnull() in pandas not able to identify blank value (Python coding)
Posted by: darpInd - Mar-20-2020, 10:53 AM - Forum: Data Science - Replies (1)

[python]import pandas as pd
t1=pd.DataFrame()
t1 ['name'] = ["dp","ag","wp"]
t1['status'] = ['a','b','c']
t1['age'] = [10,"",15]
t1
##
print(t1..... More

Print this item

  Start Putty into Python Form
Posted by: Schlazen - Mar-20-2020, 10:23 AM - Forum: General Coding Help - Replies (5)

Hello everyone,

I'm new in this forum and i need help.

I'm a beginner in python programming and i would like to create a Window Form to open SS..... More

Print this item

  How would I go about repeating/looping this code?
Posted by: azulu - Mar-20-2020, 08:01 AM - Forum: Homework - Replies (5)

So basically what I have to do, is in a 6x7 grid, from a randomly generated list of instructions such as ['a',1] or ['b',4] draw an object in the grid..... More

Print this item

  Unknown characters in output using to_html
Posted by: Kishore01 - Mar-20-2020, 06:53 AM - Forum: General Coding Help - Replies (2)

I am using python "to_html" function to convert csv data into html format to be sent in email:
[python]
df= pd.read_csv(filename,names=columns,index..... More

Print this item

  Prime number code
Posted by: ryfoa6 - Mar-20-2020, 06:49 AM - Forum: Homework - Replies (3)

The assignment is to write a function that returns the number of prime numbers that exist up to and including
a given number. The solution is below ..... More

Print this item

  Trouble interpreting prime number code
Posted by: ryfoa6 - Mar-20-2020, 05:21 AM - Forum: Homework - Replies (1)

The assignment is to write a function that returns the number of prime numbers that exist up to and including a given number. The solution is below bu..... More

Print this item

  Dynamic axis
Posted by: swisha - Mar-20-2020, 05:05 AM - Forum: General Coding Help - No Replies

Hello,

I am new with python and matplotlib. I was wondering when plotting graphs or charts, are the x and y axis dynamic after inputting different ..... More

Print this item

  Embed Python console in GUI application
Posted by: deanhystad - Mar-20-2020, 04:50 AM - Forum: GUI - Replies (5)

I am trying to figure out how best to provide access to a python interpreter from inside a GUI based program. The GUI is the interface for a process ..... More

Print this item

  Miniature theater
Posted by: vieira_diniz - Mar-20-2020, 04:34 AM - Forum: General Coding Help - Replies (1)

Hello World! Big Grin Dear community;

I'm creating a miniature theater to show a story in a cemetery. I intent to manipulate the puppet perso..... More

Print this item

  How to use BERT for Q&A system?
Posted by: constantin01 - Mar-20-2020, 04:06 AM - Forum: Data Science - No Replies

I would like to build a system that responses to close-domain questions (linear algebra). Knowledge base is Wikipedia. How I can use BERT for this pur..... More

Print this item

  Pygame - Images As Buttons
Posted by: vman44 - Mar-20-2020, 02:16 AM - Forum: Game Development - Replies (3)

Hi,

I've been trying to develop a game w/ Pygame.

One of the items in my game is a "Goodbye" button.
This is a png file.

The Goodbye image w..... More

Print this item

  Dynamic method ?
Posted by: JohnnyCoffee - Mar-20-2020, 12:18 AM - Forum: General Coding Help - Replies (2)

I need to access a class method (moduleB) by returning a class A method. This I can do by importing the native module to receive the module name as a ..... More

Print this item

  How can I print the number of unique elements in a list?
Posted by: AnOddGirl - Mar-19-2020, 10:53 PM - Forum: Homework - Replies (5)

Using the dictionary below, I'm supposed to create a function that returns the number of unique items in the "items" list.

[python]shopping..... More

Print this item

  Trying to make boundries for the pygame
Posted by: bluewing101 - Mar-19-2020, 09:26 PM - Forum: Game Development - Replies (2)

Guys I have a problem is doing the boundaries of my pygame
I am trying to get the character not go above the pygame window

The code in the bottom ..... More

Print this item

  Using online python for course, How do I open a File that's a link?
Posted by: WhatsupSmiley - Mar-19-2020, 09:14 PM - Forum: General Coding Help - Replies (1)

Hi there!

I am doing a (beginner) python course online that allows us to use python in a jupyter notebook. I am trying to open a file that looks l..... More

Print this item

  Future of Jython now Python 2 support ended
Posted by: Wattletree - Mar-19-2020, 08:44 PM - Forum: News and Discussions - Replies (1)

Hi,
I am a relative newcomer to Python, by way of Robot Framework.

I have to write RF scripts to test a Java Swing application. I am therefore ..... More

Print this item

  Python PyQt5 - Change label text dynamically based on user Input
Posted by: ppel123 - Mar-19-2020, 08:32 PM - Forum: GUI - Replies (1)

Hi,
I am trying to create an app with 2 python files, the first reads the user input (either from python shell or from other source) and stores it in..... More

Print this item

  Creating function inside classes using type
Posted by: wolfmansbrother - Mar-19-2020, 06:50 PM - Forum: General Coding Help - Replies (3)

I am am stuck, i want to define a class with __init__ hsing the type format

[python]

Class A:
phish = 'Band'
a = A()

# above is the same as

a = ..... More

Print this item

  Conditional assignment ?
Posted by: Ilys - Mar-19-2020, 06:44 PM - Forum: General Coding Help - Replies (12)

Hello,

I'm trying to do a conditional assignment in psychopy (coding in python) but I don't really know how to do it.

[python]if d["StimuliType"] =..... More

Print this item

  Digitizing heatmap image
Posted by: deepa - Mar-19-2020, 05:45 PM - Forum: Data Science - Replies (2)

Hi,

I'd like to digitize a heatmap

Panel D in this source: https://www.ncbi.nlm.nih.gov/pmc/article...figure/F1/

I'm not sure what's the..... More

Print this item

  Help ANSI character and python...
Posted by: sid4g - Mar-19-2020, 05:21 PM - Forum: General Coding Help - Replies (2)

Hello, I have a text file that separates my data with "alt + 249" character (middle dot)
I figured out that python is a racist towards ANSI in a hard..... More

Print this item

  Creating barriers/boundaries help for Pygame
Posted by: bluewing101 - Mar-19-2020, 05:20 PM - Forum: Game Development - Replies (1)

In my code, I have been trying to create barriers so the character doesn't go outside the pygame window
Here is the code:
[python]
import pygame
f..... More

Print this item

  OSError: [Errno 26] Text file busy: '/var/tmp/tmp5qbeydbp
Posted by: batchenr - Mar-19-2020, 05:11 PM - Forum: General Coding Help - Replies (1)

Hey,

Im using python3 and i have this code :
[python]
import tempfile
temp_file = tempfile.mkstemp(dir="/var/tm..... More

Print this item

Question configparser.NoSectionError (Python 3.7)
Posted by: alpho - Mar-19-2020, 04:50 PM - Forum: General Coding Help - Replies (2)

Hello. When my script is restarting I often times will have these configuration errors.

Importing:

import configparser
Absolut..... More

Print this item

  TensorFlow install issues
Posted by: Pavel_47 - Mar-19-2020, 01:44 PM - Forum: Data Science - Replies (2)

Hello,

I had a lot of troubles while trying to make work TensorFlow with GPU support.
I plan to reinstall all the necessary tools.
If my vision i..... More

Print this item

  adding elements to a list that are more than a specific number
Posted by: Olavv - Mar-19-2020, 01:39 PM - Forum: General Coding Help - Replies (2)

How do I add elements from a list to another list that are more than a specific number?

I've tried this:
list1=[2, 5, 3]
list2=[]
if number in l..... More

Print this item

  Row Count
Posted by: phillyfa - Mar-19-2020, 01:23 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm trying to count the number of records returned by a SQL query. The program writes to a .csv file, but I would like to output to a logfi..... More

Print this item

  Senior Python Developer, 6h/day, remote
Posted by: agatagasiorowska - Mar-19-2020, 01:05 PM - Forum: Jobs - Replies (1)

?️‍♂️ Senior Python Developer, 6h/day, remote
? Salary in PLN (B2B): 155-195 PLN / h (so 18600-23400 PLN assuming 120h/Month (20 days ..... More

Print this item

  Python 2.7 passing variables from functions
Posted by: zetto33 - Mar-19-2020, 12:50 PM - Forum: General Coding Help - Replies (1)

Hi, this is my first thread. I am beginning with Python, and I did not fully understand how can I transfer variables in between classes, nor outside c..... More

Print this item

  Object not Subscriptable
Posted by: AgileAVS - Mar-19-2020, 11:06 AM - Forum: Web Scraping & Web Development - Replies (2)

Help post:
How do you select the second or third element with the same class name while using selenium?
For instance,
Trial=browser.find_element..... More

Print this item

  Code to create a hanging rope
Posted by: Jeibros - Mar-19-2020, 10:43 AM - Forum: Game Development - Replies (4)

I am trying to simulate the physics of a 2D hanging rope, consistent of a series of n-links. It could be a series of four pendulums. I just want some ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 7 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [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...
Most views
  The best Prog... 577364
  Tutorial Requ... 500725
  Web Scraping ... 441019
  Newbie with P... 385067
  New Users Int... 369574
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
stephaniehendrix Today
Williamcaurb Today
Schirag Today
Jacobjoift Today
sophielane Yesterday

User Panel Messages

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