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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

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

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 3
» Views: 53
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 116
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 73
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 70
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 327
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 49
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 85
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 299
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 166
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 265

 
  Can't get pygame to install
Posted by: djwilson0495 - Dec-03-2020, 11:11 AM - Forum: Game Development - Replies (13)

I'm using Visual Studio Code to write in Python. I'm trying to install pygame but I'm getting this error:

[error]
PS C:\Users\djwil\Documents\pyth..... More

Print this item

Information RPG Tutorial Series
Posted by: Knight18 - Dec-03-2020, 11:01 AM - Forum: Tutorial Requests and Submissions - No Replies

I've been developing a Python RPG Tutorial Series as a side project over the last..... More

Print this item

  Why does unpickling only work ouside of a function?
Posted by: pjfarley3 - Dec-03-2020, 07:22 AM - Forum: General Coding Help - Replies (5)

I wrote a little test program to understand pickling and unpickling a custom class.

Pickling a custom class by passing it as a parameter to a funct..... More

Print this item

  Mail issue
Posted by: Mihil - Dec-03-2020, 03:35 AM - Forum: General Coding Help - Replies (3)

am new to python , try to program to send a mail , showing error , please help

email = 'msk2004er@gmail.com'
password = '********'
send_t..... More

Print this item

  Time Limit Exceeded error
Posted by: loves - Dec-02-2020, 09:40 PM - Forum: General Coding Help - Replies (5)

I am going to solve leetcode problem.

It passed some test cases but failed one ..... More

Print this item

  Don't Understand Recursive Function
Posted by: muzikman - Dec-02-2020, 05:30 PM - Forum: General Coding Help - Replies (10)

Greetings,

I have a recursive function that I ran through the debugger in PyCharm and I am having a difficult time making sense of some of it. Here..... More

Print this item

  Slider GUI help
Posted by: thass23 - Dec-02-2020, 04:04 PM - Forum: Homework - Replies (4)

I have a HW assignment where I need to control volume in a tank. I need a slider scale to set the desired height of the tank. If the desired tank heig..... More

Print this item

  How to replace on char with another in a string?
Posted by: korenron - Dec-02-2020, 04:00 PM - Forum: General Coding Help - Replies (3)

I need to replace one char in another in string

I have try this :
[python]
name = "you\me"

result=name.replace('\','/')
print(name)
print("..... More

Print this item

  bython on full screen editor
Posted by: ErnestTBass - Dec-02-2020, 03:17 PM - Forum: General Coding Help - Replies (1)

Can be bpython be used with a full screen editor like gedit? I know this editor very well and
I think some python code would benefit from using it an..... More

Print this item

  Openpyxl tkinter search a value in Excel column
Posted by: Heathcliff_1 - Dec-02-2020, 02:35 PM - Forum: General Coding Help - No Replies

Hello,

I am a big beginner in Python, so I hope I will fine a help to resolve my current problem.
Firstly, I am working with Python 3, and I want..... More

Print this item

  Default values of arguments with the same id
Posted by: DrVictor - Dec-02-2020, 02:04 PM - Forum: General Coding Help - Replies (3)

class test:
    def __init__(self,val=[]):
        self.val=val

a=test()
b=test()
print(id(a.val)==id(b.val)) #True
I not..... More

Print this item

  frequency tables
Posted by: Tink - Dec-02-2020, 12:44 PM - Forum: Homework - No Replies

Hello I am trying to get a frequency table with 3 but I can only get it to print 1 at a time. Can Anyone help?

Using the code cell below, create an..... More

Print this item

  IPC on windows
Posted by: GrahamL - Dec-02-2020, 09:56 AM - Forum: Networking - No Replies

Hi
I have 2 Python programs that need 2 way communication on Windows 10
What is the recommended way of doing this - I can find some Unix based examp..... More

Print this item

  TypeError: to_capabilities() missing 1 required positional argument: 'self'
Posted by: OceansBlue - Dec-02-2020, 07:29 AM - Forum: Web Scraping & Web Development - Replies (2)

Wall
Error =
[error]Traceback (most recent call last):
File "main.py", line 19, in <module>
driver = webdriver.Chrome(CHROMEDRIVER, op..... More

Print this item

  Pressure monitor for keg fridge
Posted by: duckredbeard - Dec-02-2020, 05:03 AM - Forum: Code Review - Replies (1)

I just put this together and it seems to be working well. I don't have the LEDs connected yet, but the "print" function proves they will with correct..... More

Print this item

  Manage user names in TRAC
Posted by: susja - Dec-02-2020, 12:22 AM - Forum: General Coding Help - Replies (3)

I am completely new in TRAC. I was able to install it on my Windows server and the version is 1.4.2
I created a few users using 'session' command. N..... More

Print this item

  Load data from One oracle Table to Multiple tables
Posted by: amy83 - Dec-01-2020, 11:10 PM - Forum: General Coding Help - Replies (1)

Hi Experts,
I am in process of learning Python. I am Oracle Developer. I have one source table with Multiple columns. There are several Target tables..... More

Print this item

  Creating a RESTful web service and web service client
Posted by: dangermaus33 - Dec-01-2020, 09:56 PM - Forum: Web Scraping & Web Development - No Replies

I am learning Python and want to create a RESTful web service and web service client. For practice, I already create a simple python sales app that us..... More

Print this item

Question How to print multiple elements from multiple lists in a FOR loop?
Posted by: Gilush - Dec-01-2020, 09:48 PM - Forum: General Coding Help - Replies (6)

This is a followup post to my previous one - I decided to re-write the code and now i'm facing a new problem.

I'm working on a dynamic, text based ..... More

Print this item

  How to add an image to an existing facebook post using python graph API?
Posted by: Ascalon - Dec-01-2020, 08:31 PM - Forum: General Coding Help - No Replies

I'm using facebook graph API to update/edit the text of a specific post on my page

..... More

Print this item

  Endovia Alpha 1.200
Posted by: Uriel_Nicotine_Jeremy - Dec-01-2020, 08:05 PM - Forum: Code sharing - No Replies

Click here to view releases up to current release.
Click ..... More

Print this item

  Return not exiting function??
Posted by: rudihammad - Dec-01-2020, 06:32 PM - Forum: General Coding Help - Replies (3)

Hello,
I have this simple example where I simple want to exit a function when i == 5.
[python]def foo(i):
print i, "--"
if i < 5:
..... More

Print this item

  Help getting a string out of regex
Posted by: matt_the_hall - Dec-01-2020, 05:42 PM - Forum: General Coding Help - Replies (4)

Hello, I am trying to better understand the regular expression module, specifically, how to get it to return a string that I can use elsewhere.

Pre..... More

Print this item

  Need help scraping wikipedia table
Posted by: bborusz2 - Dec-01-2020, 04:08 PM - Forum: Web Scraping & Web Development - Replies (6)

Hey guys,

I am fairly new to python and how to use it. I have been attempting to use Beautiful soup to scrape a wikipedia table, https://en.wikipe..... More

Print this item

Brick Dpkt Help
Posted by: Kenny_B - Dec-01-2020, 04:08 PM - Forum: Homework - Replies (4)

Hi there I have a program that needs to perform a variety of tasks on a pcap file. I am using dpkt and python 3. What I have so far is simply opening,..... More

Print this item

  Replacing a words' letters in a string
Posted by: cananb - Dec-01-2020, 04:02 PM - Forum: General Coding Help - Replies (2)

Hi everyone, I am a beginner in Python. This is a challenge that I've found in a forum. This program is censoring the words' (which has given by the u..... More

Print this item

  Syntax Error: Outside a function?
Posted by: aplusfordao2702 - Dec-01-2020, 03:03 PM - Forum: General Coding Help - Replies (2)

ordered_list = [2, 4, 6, 8, 10]

guess = input('Guess a number: ')

for element in ordered_list:

if element == guess:
return ..... More

Print this item

  Spatial Optimization with a lot of variables
Posted by: Gerkamspiano - Dec-01-2020, 12:58 PM - Forum: General Coding Help - No Replies

Hello, I need to carry on a land-use spatial optimization where in each cell I need to assign only one type of land use. I optimize with respect two o..... More

Print this item

  Coding Mechanics
Posted by: 321brian - Dec-01-2020, 12:58 PM - Forum: Data Science - Replies (7)

I have the following code snippet below:
[python]
import pandas as pd
import statsmodels.formula.api as sms

fat = pd.read_csv('https://s3-us-wes..... More

Print this item

  URL check
Posted by: erdravi - Dec-01-2020, 10:08 AM - Forum: General Coding Help - Replies (4)

Hi

I want to find programmatically, whether a given URL is accessible via internet/intranet.

Thanks.

Print this item

  General linear model with repeated measures
Posted by: Ziv1279 - Dec-01-2020, 09:19 AM - Forum: Data Science - Replies (1)

Hi everyone,
I am trying to perform a general linear model with repeated measures.
I know how to do it on 'STATISTICA' but I am now starting to use Py..... More

Print this item

  Failing to Zip files
Posted by: tester_V - Dec-01-2020, 02:46 AM - Forum: General Coding Help - Replies (4)

Hi, I'm trying to find files that have digits in a file name.
then I'd like to zip files to another directory.
My code finds the files I want and mo..... More

Print this item

  Bar Chart axis
Posted by: Blyzz - Dec-01-2020, 02:36 AM - Forum: Data Science - No Replies

I am trying to create a bar chart for statistical parity difference where the value is 0.22222. I am using matplotlib and want to change the x axis to..... More

Print this item

  Generating a student's transcript [OOP concept]
Posted by: aongkeko - Dec-01-2020, 12:42 AM - Forum: Homework - Replies (2)

Hi,

This is part of my homework. We're trying to learn/apply some concepts of OOP in this exercise.

This is what I've got so far.
[python]
d..... More

Print this item

  JSON response from REST service get nested value
Posted by: nl2ttl - Nov-30-2020, 09:18 PM - Forum: General Coding Help - Replies (2)

When I try to do a priceticker on the Bitvavo API ik get a JSON list response. How do I get one or two values from this list.

[python]


from py..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 1 hour ago Winfried buran General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579032
  Tutorial Requ... 510934
  Web Scraping ... 442036
  Newbie with P... 386074
  New Users Int... 377520
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Today
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday

User Panel Messages

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