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,397
» Latest member: MaxTranslate
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, Apple, Mojeek

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: jogl
1 hour ago
» Replies: 0
» Views: 22
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Today, 09:12 AM
» Replies: 1
» Views: 4,586
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Today, 08:37 AM
» Replies: 4
» Views: 174
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Today, 07:27 AM
» Replies: 7
» Views: 3,593
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 141
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 288
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,105
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,953
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 174
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 109

 
  Redirect uri mismatch github in django
Posted by: SubratP - Oct-04-2021, 05:04 PM - Forum: Web Scraping & Web Development - No Replies

Hello,

I am working in django framework and having an issue with login to github from application using oauth.
When i login into the github accou..... More

Print this item

  A question about 'Event loop is closed'
Posted by: fc5igm - Oct-04-2021, 02:24 PM - Forum: General Coding Help - Replies (3)

I will appreciate it if anyone could give me some help!
My code:
[python]
import asyncio
import aiohttp
from lxml import etree
import requests
..... More

Print this item

  is it pythonic to add a name 'attribute' to an existing variable?
Posted by: amjass12 - Oct-04-2021, 08:26 AM - Forum: General Coding Help - Replies (6)

I have several variables in a list: - they are the result of ana analysis run using another library in python

[python]vars = [run1, run2, run3, run..... More

Print this item

  Showing and saving the output of a python file run through bash
Posted by: Rim - Oct-04-2021, 07:55 AM - Forum: General Coding Help - Replies (3)

Hi all,

I'm new to the world of Python, linux and programming in general so my question may be very basic but I can't find an answer anywhere.

I..... More


Attached Files

.py   mycode.py (Size: 5.69 KB / Downloads: 412)
Print this item

  Why doesn't drop_duplicates() modify my Dataframe?
Posted by: shantanu97 - Oct-04-2021, 04:14 AM - Forum: General Coding Help - Replies (1)

I have two files with exactly same data in it. My python reads that input file and fetch out all the necessary information and then save it in a CSV f..... More


Attached Files

Thumbnail(s)
   

.csv   RDPlod.csv (Size: 1.56 KB / Downloads: 410)
.py   rdplod.py (Size: 3.06 KB / Downloads: 393)
Print this item

  Why built in functions are defined as class?
Posted by: quazirfan - Oct-04-2021, 03:46 AM - Forum: General Coding Help - Replies (5)

In python official documentation there is a list of built in functions. But if I click on ..... More

Print this item

Big Grin question about simple algorithm to my problem
Posted by: jamie_01 - Oct-04-2021, 01:15 AM - Forum: General Coding Help - Replies (1)

question about this line

[code]
#!/usr/bin/python3

names = [] # list
outF = open("myOutFile.txt", "w")

total = 0
p = '\n'
char_count = "C..... More

Print this item

  How can I assign "multiple variables" to a single "value"?
Posted by: Psycpus - Oct-04-2021, 12:16 AM - Forum: General Coding Help - Replies (2)

I'm sorry if the title confused you. This is the first time I'm posting here, forgive me if I have mistakes.

Here's what I'm trying to do:
I'm trying..... More

Print this item

  Need help with my Python code (Multiplication)
Posted by: NeedHelpPython - Oct-03-2021, 07:55 PM - Forum: General Coding Help - Replies (2)

[python]print("\n----Task 4---- Multiple numbers")

numbers = input("Input numbers to multiply: ")
num_1 = int()
num_2 = int()
print("Extracted n..... More

Print this item

  Class-Aggregation and creating a list/dictionary
Posted by: IoannisDem - Oct-03-2021, 05:08 PM - Forum: General Coding Help - Replies (1)

Hello

I am creating three classes and I try to use aggregation/association between them for inheritance.
The first class has the info of the stude..... More

Print this item

  a function common to methods of a class
Posted by: Skaperen - Oct-03-2021, 04:56 PM - Forum: General Coding Help - Replies (7)

when coding a class with multiple methods, how to code a function to be common to all these methods?

Print this item

  List comprehension used differently
Posted by: coder_sw99 - Oct-03-2021, 03:39 PM - Forum: General Coding Help - Replies (3)

Hello,

I saw on GitHub this line of code:

word_list = [letter if letter in used_letters else '-' for letter in word]
But I ..... More

Print this item

  Simple code question about lambda and tuples
Posted by: JasPyt - Oct-03-2021, 01:51 PM - Forum: General Coding Help - Replies (7)

I have a simple code:

my_tuple = (0,1,2,3,4,5,6)
foo = list(filter(lambda x: x-0, my_tuple))

print(foo)
I know what the out..... More

Print this item

  Last caracter of a string truncated issue when working from the end of the string
Posted by: Teknohead23 - Oct-03-2021, 12:15 PM - Forum: General Coding Help - Replies (3)

Hello, can someone please explain why when I select a range starting from the end of a string it truncates the last character?
I can work from the fr..... More

Print this item

Exclamation Python Homework (Urgent help needed!!)
Posted by: chickenseizuresalad - Oct-03-2021, 09:54 AM - Forum: Homework - Replies (6)

Hi, I am quite new to python as I just started doing the GCSE so please don't leave any rude comments- I have probably made many mistakes.
One of my ..... More

Print this item

  ModuleNotFoundError: No module named 'Seal'
Posted by: Anldra12 - Oct-03-2021, 04:24 AM - Forum: General Coding Help - Replies (10)

I run project for Homographic Encryption Where Microsoft Seal library is needed as i run it from git and install successfully. But i am using Python3...... More

Print this item

  code running after tracebacks
Posted by: Skaperen - Oct-03-2021, 12:09 AM - Forum: News and Discussions - No Replies

i had mentioned elsewhere that i had seen code run after tracebacks. i found why. this was happening. when developing classes where instantiated a ..... More

Print this item

  functions/methods
Posted by: menator01 - Oct-02-2021, 07:22 PM - Forum: General Coding Help - Replies (2)

In some of the code I have seen def somefunc() -> list: or varient. What does that do?

Print this item

  Real-Time output of server script on a client script.
Posted by: throwaway34 - Oct-02-2021, 05:56 PM - Forum: General Coding Help - Replies (2)

So i want to get a real-time readout of commands executed on the server side of the two scripts, How would I do that without only limited output?
Ser..... More

Print this item

  Minecraft Python install error
Posted by: SomeAcandKid - Oct-02-2021, 04:29 PM - Forum: General Coding Help - Replies (1)

I get this error:
https://drive.google.com/file/d/1_8yJrvm...sp=sharing
Python 3.9.7

Print this item

  How to use GPU in Python or Pycharm?
Posted by: plumberpy - Oct-02-2021, 03:09 PM - Forum: General Coding Help - Replies (2)

I want to use the GPU to speed up running a program.

How can I enable GPU CUDA in Python or Pycharm?

Thanks.

Print this item

  Saving data into xlxs colomwise
Posted by: erdemath - Oct-02-2021, 09:01 AM - Forum: Data Science - No Replies

I generate different data-sets, and I want to save them into excel file in the form of columns. But, excel file always returns the data-sets row-wise...... More

Print this item

  Need to install an old version of matplotlib
Posted by: Pedroski55 - Oct-01-2021, 11:29 PM - Forum: General Coding Help - Replies (3)

A friend gave me something called a kittenbot.

Apparently, this thing can be programmed using Py..... More

Print this item

  how to get a traceback and keep on running?
Posted by: Skaperen - Oct-01-2021, 09:45 PM - Forum: General Coding Help - Replies (1)

how to get a traceback and keep on running? i'd like to know because it can sometimes be useful. plus, it happened on its own with code i was workin..... More

Print this item

  How to do next line output from CSV column?
Posted by: atomxkai - Oct-01-2021, 07:09 PM - Forum: General Coding Help - Replies (2)

Hello, I have 4 columns in CSV and I want to make the output for COL4 as next line.
CSV Columns
COL1 COL2 COL3 COL4

output:
<line1> Col2
<line2> Col3..... More

Print this item

  Tutorials on sockets, threading and multi-threading?
Posted by: muzikman - Oct-01-2021, 06:47 PM - Forum: General Coding Help - Replies (2)

Greetings,

Does anyone know of any books or online tutorials that talks in depth about the networking aspects of Python: sockets, threading, multi-..... More

Print this item

  popping an iterator
Posted by: Skaperen - Oct-01-2021, 06:14 PM - Forum: General Coding Help - Replies (11)

i can easily extract the last item from a list with mylist.pop(). is there an easy way to do that with an iterator?

Print this item

Lightbulb trace library
Posted by: xxxlabradorxxx - Oct-01-2021, 06:12 PM - Forum: General Coding Help - Replies (1)

Hi, I'm hoping someone could explain how the trace library in Python works. In this class, I am taking a significant portion of it, is tracing ..... More

Print this item

  Where's the endless loop?
Posted by: Mark17 - Oct-01-2021, 02:08 PM - Forum: General Coding Help - Replies (14)

Hi all,

Here's some code:

[Python]
#goal here is to sum number of rows by DTE

df = pd.read_csv("C:/Users/Mark/Desktop/SPX_2021_copy.csv")
..... More

Print this item

  Random data generation sum to 1 by rounding
Posted by: juniorcoder - Oct-01-2021, 01:44 PM - Forum: General Coding Help - Replies (9)

Hello everyone,
I need a small help. I need to generate random values between 0 and 1. They must be successively ordered. Let me give you an exampl..... More

Print this item

  how can I correct the Bad Request error on my curl request
Posted by: tomtom - Oct-01-2021, 08:04 AM - Forum: General Coding Help - Replies (8)

I have this request example :

curl –X POST https://api.apifonica.com/v2/accounts/{a...}/messages \
-H 'Content-Type: application/json' \
-d..... More

Print this item

  Using regex to count specific character in file
Posted by: shamishd - Oct-01-2021, 06:30 AM - Forum: Homework - Replies (1)

Using regex to count specific character in file

i have a hard time getting the right output using regex to count "$" on the file

#content in sam..... More

Print this item

  Have tkinter button toggle on and off a continuously running function
Posted by: AnotherSam - Oct-01-2021, 02:55 AM - Forum: GUI - Replies (5)

Hello all,

I am trying to write a function for a tkinter button that when toggled begins running a continuously looping function until the same but..... More

Print this item

  limiting number of digits as words in a function
Posted by: Skaperen - Oct-01-2021, 12:08 AM - Forum: News and Discussions - No Replies

i am revising my code that converts numbers to works (1609 -> "sixteen hundred nine"). it's a command, now, and i am making it into a function that i..... More

Print this item

  Inventory System
Posted by: mcmxl22 - Sep-30-2021, 09:10 PM - Forum: Code sharing - Replies (3)

A command-line inventory system I wrote.
The dependencies are here[/ur[url=https://python-forum.io/thread-35121.html]..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 1 hour ago jogl jogl General Codin...
  Struggles I Faced While E... Today, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Today, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Today, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580410
  Tutorial Requ... 519499
  Web Scraping ... 442781
  Newbie with P... 386983
  New Users Int... 386498
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
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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