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,286
» Latest member: xdimbah
» Forum threads: 38,794
» Forum posts: 175,877

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Google, AOL, lovedeep

Latest Threads
LewisByday
Forum: General Coding Help
Last Post: IsmaelSlalk
40 minutes ago
» Replies: 0
» Views: 3
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
4 hours ago
» Replies: 0
» Views: 16
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 118
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 50
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,071
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,300
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 368

 
  Tkinter Checkbox
Posted by: niro_one - Jan-12-2020, 02:05 PM - Forum: GUI - Replies (1)

Hello ultimately this GUI will wrap arcs onto cylinders. Continuous linear+rotary. I have the math done (requires touch improvement). Cannot get check..... More

Print this item

  Update a combobox
Posted by: LagratteCchouette - Jan-12-2020, 01:44 PM - Forum: GUI - No Replies

Hello,

Please, how do I update a combobox so that after entering a data item I return it to the drop-down list without having to restart the..... More

Print this item

  homework - banking system
Posted by: Massimo16 - Jan-12-2020, 12:45 PM - Forum: Homework - Replies (1)

i need help with my python code as i am new to python...iam getting an error message when i run the file 'BankSystem' object has no attribute 'run_mai..... More

Print this item

  [split] question about list comprehension
Posted by: Armin - Jan-12-2020, 12:24 PM - Forum: General Coding Help - Replies (17)

Hello everyone I hope someone can explain this cod to me Confused there is the variable y [ ] – list how this code works. hope I'm not too boring..... More

Print this item

  Loop does not work in python
Posted by: Ola92 - Jan-12-2020, 10:12 AM - Forum: Homework - Replies (11)

It seems that my loop function does not work and I do not understand why..
I get a result 2 and I should get this list of number:2 2 2 2 1 2 1 1 2 1...... More

Print this item

  Why the this extend example is printing 2 two times?
Posted by: sbabu - Jan-12-2020, 04:39 AM - Forum: General Coding Help - Replies (1)

Why the this extend example is printing 2 two times?

[python]def my_fun(x):
for k in range (len(x)):
print('k is ',k)
x.exte..... More

Print this item

  smallest Cosine distance in Graph
Posted by: vino689 - Jan-12-2020, 03:58 AM - Forum: General Coding Help - Replies (3)

my problem is to list the smallest Cosine distance in Graph
S= [(1,2),(3,4),(-1,1),(6,-7),(0, 6),(-5,-8),(-1,-1),(6,0),(1,-1)] # these are the list o..... More

Print this item

  MRO About super()
Posted by: catlessness - Jan-11-2020, 11:53 PM - Forum: General Coding Help - Replies (1)

[python]class A():
def __init__(self):
print('enter A')
print('leave A')


class B(A):
def __init__(self):
pri..... More

Print this item

  Regex won't replace character with line break
Posted by: Tomf96 - Jan-11-2020, 07:40 PM - Forum: General Coding Help - Replies (2)

using python 3.8.1

I am trying to write a string to a csv file. Before I write the string, however, I want to add line breaks into the string.

mystr..... More

Print this item

  Problem with scrapy/python
Posted by: AndriannaTs - Jan-11-2020, 05:12 PM - Forum: Homework - Replies (2)

Hello. I am beginner with scrapy library. I am trying to run the following code:

[python]]import scrapy

class QuoteSpider(scrapy.Spider):
n..... More

Print this item

  Code problems
Posted by: nats - Jan-11-2020, 03:16 PM - Forum: Data Science - Replies (3)

Hi, I'm having problems so I hope someone can help. I have two matrices (2d numpy arrays) and I need to make third one by overlapping first two matric..... More

Print this item

  The python script is continuously running
Posted by: randeniyamohan - Jan-11-2020, 02:06 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi, I am trying to build a web crawler to extract all the links on a webpage. I have created 2 python files. (class: scanner.py and object: vulnerabil..... More

Print this item

  Help with making a formula using variables that I have declared within for loops.
Posted by: Tomf96 - Jan-11-2020, 01:59 PM - Forum: Data Science - Replies (2)

I am using python 3.8.1 and pandas.

I have two sets of data as csv files. orders.csv and vouchers.csv. Using vouchers.csv I have grouped the datafr..... More

Print this item

  Pyinstaller - I can't drag and drop into the CMD terminal anymore..
Posted by: aquerci - Jan-11-2020, 01:17 PM - Forum: General Coding Help - Replies (4)

Hi guys, I wrote a script in Python 3 and it works. When I start my script ".py" a cmd terminal appears and from there I'm able to drag and drop a fil..... More

Print this item

  Creating a List with many variables in a simple way
Posted by: donnertrud - Jan-11-2020, 12:25 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I am currently working on a regression task with python. My model contains 26 variables, 17 of them are dummy variables.
With that model I a..... More

Print this item

  Changing from blocks to pictures
Posted by: BanditEagle - Jan-11-2020, 11:25 AM - Forum: Game Development - Replies (3)

Dear fellow Python coders,

I have created a platformer where all of the graphics are blocky, but they are just pixels I coded. For example, for the..... More

Print this item

  Playing mp3 with pyglet
Posted by: constantin01 - Jan-11-2020, 10:41 AM - Forum: General Coding Help - Replies (3)

Hi

I use pyglet to play songs in wav and mp3 formats. According to docs of Pyglet, I should install ffmpeg, so I did it but problem is:


[python]
p ..... More

Print this item

  How to print the 2nd column of a searched string in a csv
Posted by: ptey07 - Jan-11-2020, 10:07 AM - Forum: General Coding Help - Replies (2)

Hi there can someone help

i am trying to search for a file name in a csv (in Column A) then when it finds it print just the 2nd column (Colum B) not ..... More

Print this item

  Panel Data Cleaning Drop Identity
Posted by: luxlambo - Jan-11-2020, 09:39 AM - Forum: Data Science - Replies (1)

Dear all,

I am struggling to drop the complete identity in a Panel data set when the identity has a missing time value in the given range.
In thi..... More

Print this item

  Explaining "translate" method
Posted by: lummers - Jan-11-2020, 07:35 AM - Forum: Homework - Replies (4)

Hello,

I am working through some textbook exercises and was given the task:

[i]Write a program that allows a user to type in a phrase and provides..... More

Print this item

  What is the bestway to learn Python?
Posted by: PythonRIMD - Jan-11-2020, 04:06 AM - Forum: General Coding Help - Replies (2)

What is the best way to learn Python?
=====================================

Thanks for looking into my thread.

I downloaded Eclipse & PyDev to ..... More

Print this item

  Clear button in calculator
Posted by: lucasbrino - Jan-10-2020, 09:30 PM - Forum: Homework - Replies (2)

Hey! I have just started a python course and Im having a hard time to put a clear button on my calculator! Thanks for helping!
This is my code:

[p..... More

Print this item

  Tkinter scaling windows conten to or with its size not working
Posted by: Detzi - Jan-10-2020, 07:00 PM - Forum: GUI - Replies (5)

Good Day,
i want tkinter to scale whatever is in its frame to the size of the window. Maybe pictures make more clear what i want:
This is the way th..... More

Print this item

  opening /dev/null
Posted by: Skaperen - Jan-10-2020, 06:40 PM - Forum: News and Discussions - Replies (2)

is it true that when opening /dev/null for read, write, or append, it doesn't really do any syscalls, but just changes some function reference around ..... More

Print this item

  Sorting Arrays in Ascending
Posted by: vino689 - Jan-10-2020, 05:40 PM - Forum: General Coding Help - Replies (8)

[1.4472136]
[1.28]
[1.98994949]
[0.00211989]
[1.8]
[0.63960072]
[0.85857864]
[0.4]
[0.01005051]

Hi , I just want to Sort the above in Ascen..... More

Print this item

  Call a class method from another (Tk GUI) class?
Posted by: Marbelous - Jan-10-2020, 04:56 PM - Forum: GUI - Replies (3)

I am trying to create a simple timed event class that I can use to trigger repeating events in other programs (e.g.: data logger). I know that since ..... More

Print this item

  cx_freeze frozen executive introduces WinError 10049
Posted by: KipCarter - Jan-10-2020, 03:44 PM - Forum: General Coding Help - Replies (3)

I am building a matching set of utilities to provide text transmission between two computers on the same network.

I started with sample code from a..... More

Print this item

  File name as part of output file name
Posted by: Jeeping_Coder - Jan-10-2020, 02:34 PM - Forum: General Coding Help - Replies (1)

I am very new to Python, and have run into an issue. I am trying to output several different formats of GPS into different KML files. I have my orig..... More

Print this item

  Looping exercise Bacteria growth
Posted by: Ola92 - Jan-10-2020, 11:28 AM - Forum: Homework - Replies (5)

Hi. I am taking a python course(I am a complete beginner) and I am unable to solve one of the assigned exercises. Can someone help me understand how c..... More

Print this item

  Convert XML into DB table
Posted by: Rohit - Jan-10-2020, 08:58 AM - Forum: General Coding Help - Replies (3)

Hi,

I am new to Python and also new to this forum. Please forgive and correct me if you see any posting rules are violated in this post.

I am us..... More

Print this item

  Using Ab Operator in Query Function
Posted by: Chandan - Jan-10-2020, 05:27 AM - Forum: General Coding Help - No Replies

Hi There,
I am practicing the query function using different conditions. However, when I use the below condition I am not getting the accurate output..... More

Print this item

  Rock, Paper, Scissors Game
Posted by: kramon19 - Jan-10-2020, 03:10 AM - Forum: Homework - Replies (2)

Hi everyone,
I am new to python and I am creating a rock, paper, scissors game. I do not get an error in my code, however, when I run it and input ro..... More

Print this item

  test interable if len == 2
Posted by: Skaperen - Jan-10-2020, 01:19 AM - Forum: General Coding Help - Replies (4)

a function gets a likely iterable. how can i test if it really has a len == 2 when it does not support len(), such as a generator? how does [..... More

Print this item

  Where could I get _ctypes module except libffi-dev?
Posted by: Snake - Jan-10-2020, 12:55 AM - Forum: General Coding Help - Replies (7)

I have an issue with Buildozer while trying to build Kivy program for Android, when I run buildozer android debug deploy run it says `no module name..... More

Print this item

  pass value to function with * and/or **
Posted by: Skaperen - Jan-10-2020, 12:45 AM - Forum: News and Discussions - Replies (6)

if i define a function like:

def foo(*boo,**hoo):
    ...
    return (boo,hoo)
then call it while passing a created type that..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LewisByday 40 minutes ago IsmaelSlalk IsmaelSlalk General Codin...
  LhanePulse 4 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  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...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
Most views
  The best Prog... 579259
  Tutorial Requ... 512109
  Web Scraping ... 442186
  Newbie with P... 386295
  New Users Int... 379624
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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