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,403
» Latest member: asonpitt1039
» Forum threads: 38,827
» Forum posts: 176,040

Full Statistics

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

Latest Threads
German Relative Clauses P...
Forum: General Coding Help
Last Post: asonpitt1039
2 hours ago
» Replies: 0
» Views: 17
LhanePulse
Forum: General Coding Help
Last Post: Stephenchers
5 hours ago
» Replies: 0
» Views: 25
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 12:38 PM
» Replies: 2
» Views: 190
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 12:32 PM
» Replies: 29
» Views: 15,755
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Yesterday, 12:31 PM
» Replies: 8
» Views: 3,669
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 183
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 150
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,197
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 229
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,640

 
  Graphs
Posted by: Tink - Dec-03-2020, 04:03 PM - Forum: Homework - Replies (3)

I've been trying to make a graph but failing. Anyone know which method is best for this?

Using the code cell below, plot an appropriate graph to sh..... More

Print this item

  Problem to parse a json
Posted by: enigma619 - Dec-03-2020, 03:45 PM - Forum: General Coding Help - Replies (3)

Hi

I've some problem to parse my json
which is like:

[python]
{
"Results": {
"check1": {
"LastResultTime": 16070027..... More

Print this item

  Reading from a file.
Posted by: krhoades - Dec-03-2020, 03:13 PM - Forum: General Coding Help - Replies (3)

Hello everyone. I am a newbie to the forum and Python.
I am trying to read a single word from a text file in the same directory
as my python code. T..... More

Print this item

  Subscribed Doesn't Notify via Email
Posted by: muzikman - Dec-03-2020, 02:57 PM - Forum: Board - Replies (3)

I have subscribed to some threads and they have not sent me any emails when someone has replied. Is there something wrong with the board or is it a se..... More

Print this item

  Regex text file to store data in list
Posted by: TheSithSiggi - Dec-03-2020, 01:04 PM - Forum: General Coding Help - Replies (1)

Hi all!

I have the following sample text which are Finite Element Analysis results:

The first column are X,Y and z normal stress, XY, YZ and ZX ..... More

Print this item

  Error when Excelwriter saving a dataframe with datetime datatype with timezone
Posted by: klllmmm - Dec-03-2020, 01:01 PM - Forum: General Coding Help - Replies (3)

I'm trying to save pandas data-frame with timezone data into an excel workbook. However i get this error.


[python]
import pandas as pd
from pan..... More

Print this item

  How i can add elements to table index of element
Posted by: blazej2533 - Dec-03-2020, 12:40 PM - Forum: General Coding Help - Replies (3)

Hello
I want to add an element to the list. I want this element to be on the list under the index as high as this element. If an item is already occup..... More

Print this item

  Plotting “simple” diagram with gridlines at specified intervals
Posted by: schniefen - Dec-03-2020, 11:46 AM - Forum: General Coding Help - Replies (1)

I’d like to plot a diagram according to the sketch in the link. The lines emanating from the y-axis should be dotted, and the boxes above the x-axis a..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  German Relative Clauses P... 2 hours ago asonpitt1039 asonpitt1039 General Codin...
  LhanePulse 5 hours ago Stephenchers Stephenchers General Codin...
  a function to watch files Yesterday, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... Yesterday, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... Yesterday, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
Most views
  The best Prog... 580502
  Tutorial Requ... 520339
  Web Scraping ... 442811
  Newbie with P... 387033
  New Users Int... 386916
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
asonpitt1039 Today
Stephenchers Yesterday
JassicaElla60 Yesterday
bryanptrovz7447 Yesterday
oliviajuior7959 01-01

User Panel Messages

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