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,400
» Latest member: BioNanoTech
» Forum threads: 38,824
» Forum posts: 176,032

Full Statistics

Online Users
There are currently 28 online users.
» 1 Member(s) | 22 Guest(s)
Bing, Google, Applebot, Mojeek, BioNanoTech

Latest Threads
IP address for users
Forum: Networking
Last Post: DeaD_EyE
4 hours ago
» Replies: 6
» Views: 7,148
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
4 hours ago
» Replies: 1
» Views: 39
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,597
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 154
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 231
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,629
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 200
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 350
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 10,013

 
  Help with urllib.request
Posted by: Brian177 - Apr-19-2021, 01:53 AM - Forum: General Coding Help - Replies (2)

Help on this please; Is a second urlopen needed, in the scenario I describe?

[python]import urllib.request

# Given you open a url
resp = urllib..... More

Print this item

  Openpyxl Help
Posted by: SunWers - Apr-19-2021, 12:50 AM - Forum: General Coding Help - Replies (2)

Hello Everyone,

I've been working on getting some scripts together to help me automate some of the reports that I do daily and I think I'm about th..... More

Print this item

  Limit test for linear travel setup
Posted by: knoxvilles_joker - Apr-19-2021, 12:31 AM - Forum: Code sharing - Replies (2)

This is something I did for a blade gauntlet on a costume. The code works:

[python]
#!/usr/bin/python

import cwiid
import RPi.GPIO as GPIO
i..... More

Print this item

  wiimote on raspberry pi controller servos, lights, and sounds
Posted by: knoxvilles_joker - Apr-19-2021, 12:29 AM - Forum: Code sharing - Replies (2)

This works:

[python]#!/usr/bin/python
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#|R|a|s|p|b|e|r|r|y|P|i|-|S|p|y|.|c|o|.|u|k|
#+-+-+-+-+-+-+-+..... More

Print this item

  Return mean() of dict
Posted by: nman52 - Apr-18-2021, 10:44 PM - Forum: Homework - No Replies

Hi everyone, I've solved this problem #7 using pandas, but it specifically asks to do it by hand.

[output]
Problem 7: mean_attack_per_type

Writ..... More

Print this item

  FREE recruitment stream with Square Enix and more!
Posted by: WanderingOwl - Apr-18-2021, 10:37 PM - Forum: Jobs - No Replies

Finding the perfect job is always a challenge, but it's especially difficult to connect with the right people at the moment! To help out, Games Jobs L..... More

Print this item

  exec in a function
Posted by: paul18fr - Apr-18-2021, 07:33 PM - Forum: General Coding Help - Replies (6)

Hi

I'm modifying a code by moving an "exec" inside a function creating an error; I wrote a small code highlighting what I'm facing.

What I'm mis..... More

Print this item

  Position after given movements
Posted by: SantiagoPB - Apr-18-2021, 07:22 PM - Forum: Homework - Replies (3)

Hello everybody,

I have a task that I don't quite understand how to tackle.

At the moment I have written this code but I do not get the result t..... More

Print this item

  ModuleNotFoundError: No module named 'fpdf'
Posted by: KatMac - Apr-18-2021, 07:04 PM - Forum: General Coding Help - Replies (4)

I am running Windows 10, using the VSC editor and Python 3.9.4
My goal is to convert an existing csv file to a pdf.

I installed the required modul..... More

Print this item

  Python 3.4 in Windows XP
Posted by: MarcQuerol - Apr-18-2021, 04:45 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I'm new in this community and i hope you can help me. The point is that i have to work in coding python in a Windows XP system and..... More

Print this item

  Text widget inert mode on and off
Posted by: rfresh737 - Apr-18-2021, 02:53 PM - Forum: GUI - Replies (5)

I can't find anything that talks about how to set a text widget insert mode on and off? My text widget is always in insert mode. I assume I can set it..... More

Print this item

  understanding Google's OAuth 2.0
Posted by: aster - Apr-18-2021, 12:54 PM - Forum: General Coding Help - No Replies

Hello,

I am finishing a program where I use Google's OAuth 2.0, I will need to move this program between different computers.

To authenticateI u..... More

Print this item

  [split] NameError: name 'start_with_first_selected' is not defined
Posted by: knoxvilles_joker - Apr-18-2021, 10:45 AM - Forum: General Coding Help - Replies (4)

I started the process of redoing the code so I can place it into the splash screen script I have but I had to redo the initialization part of the scri..... More

Print this item

  Multiple Plotting in Same PLot
Posted by: quest - Apr-18-2021, 10:26 AM - Forum: General Coding Help - No Replies

Hello,

I want to plot multiple curve in sale plot line here:
[img]https://queirozf.com/entries/matplotlib-examples-displaying-and-configuring-legend..... More

Print this item

  Spyder stopped working in Windows 10
Posted by: gammaray - Apr-18-2021, 09:23 AM - Forum: General Coding Help - Replies (3)

It seems that Spyder got somehow blocked by Windows 10 after some update. I don't find a tick in Windows Defender that would be specific to Spyder, ho..... More

Print this item

  Updating button text based upon different variable values
Posted by: knoxvilles_joker - Apr-18-2021, 04:13 AM - Forum: GUI - No Replies

I am working through among one of the final issues on my script. I have the temp and rate bars updating like I want. I have the ammo and msec countd..... More

Print this item

  Code worked in shell but not when I tried in my project.
Posted by: yoohooos - Apr-18-2021, 03:30 AM - Forum: Web Scraping & Web Development - Replies (1)

First of all, I really don't know what the error is, so I can't come up with a better header.

I was learning scraping using Scrapy by following the [..... More

Print this item

  return
Posted by: Skaperen - Apr-17-2021, 11:04 PM - Forum: Bar - Replies (4)

the language i created long ago that was never finished did returns not as a statement, but as a function call. this was a unique function in each fu..... More

Print this item

  Import Error
Posted by: Christian - Apr-17-2021, 08:40 PM - Forum: General Coding Help - Replies (3)

Hello everyone

I downloaded a Github repo.
this is the main directory
[quote]
baselines common configs envs firl fuck logs README.md r..... More

Print this item

  update text variable on label with keypress
Posted by: knoxvilles_joker - Apr-17-2021, 07:03 PM - Forum: GUI - Replies (5)

I am trying to get a gui to update with four different possible letters to display in the left and right top corners of the window (a, b, c, d). I am..... More

Print this item

Star Split and organize my Pandas Dataframe
Posted by: brunolelli - Apr-17-2021, 03:31 PM - Forum: General Coding Help - Replies (4)

Hello guys,

I'm using the following code in order to collect the cancelled flights from some airlines:
[python]import pandas as pd

url_ini = 'h..... More

Print this item

Lightbulb Python Nested Dictionary
Posted by: michaelserra - Apr-17-2021, 12:44 PM - Forum: General Coding Help - Replies (2)

I'm trying to create a little program that stores user-entered information in a nested dictionary and then converts it to a Pandas dataframe.

The dic..... More

Print this item

  More non english characters
Posted by: johnboy1974 - Apr-17-2021, 11:32 AM - Forum: General Coding Help - Replies (8)

Hi,

When I read from JSON, it's recognising the special characters however when using the write funciton, it has started falling over. Not sure wh..... More

Print this item

  best practice for import libraries and using pyinstaller
Posted by: aster - Apr-17-2021, 10:16 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a python program splitted in multiple files, I convert it to an executable with pyinstaller.

I am not sure about witch is the best pra..... More

Print this item

  How to transfer a finished ML- project to the cloud?
Posted by: AlekseyPython - Apr-17-2021, 05:06 AM - Forum: Data Science - Replies (1)

Python 3.9.2, Fedora 33

I wrote a ML- project, that takes a long time to compute on a local machine. So I decided to use the computational power of..... More

Print this item

  shooting system in asteroid games
Posted by: syafiq14 - Apr-17-2021, 12:52 AM - Forum: Game Development - Replies (1)

I'm making a game like the classic asteroid game, I can make the movement and acceleration but I don't understand how to make the shooting system simi..... More

Print this item

  How to convert dates in odd format to months
Posted by: lokhtar - Apr-17-2021, 12:40 AM - Forum: General Coding Help - Replies (2)

So I have a column called 'age' in my sql column that is inconsistent in format. It lists ages of kids in days, weeks or months. For example:

[out..... More

Print this item

  Virtualenv with auto restart
Posted by: JohnnyCoffee - Apr-16-2021, 05:39 PM - Forum: News and Discussions - Replies (3)

Is there any way to leave virtualenv in autorestart mode so that you don't have to use the (deactivate) and (activate) command to restart it ?

Print this item

  Text.search() regexp not working
Posted by: rfresh737 - Apr-16-2021, 03:31 PM - Forum: GUI - Replies (11)

My code below uses text_widget.search() with regexp=True but it's not finding my target word. Can someone tell me what I am missing?

I also have a ..... More

Print this item

  get data (temperature and humidity) from DHT22 into CSV and sending them over the net
Posted by: apollo - Apr-16-2021, 02:00 PM - Forum: General Coding Help - No Replies

Dear Python-fellows Smile


hope youre all right and everything goes well at your hometown. Hopefully youre well.

Currently i work on a li..... More

Print this item

  Beautiful Soup - access a rating value in a class
Posted by: KatMac - Apr-16-2021, 01:08 PM - Forum: Web Scraping & Web Development - Replies (1)

On the web page I am am trying to scrape, I have come across the following html tag: <p class="star-rating One">

Currently, I am using the followin..... More

Print this item

Big Grin New to python, starting from scratch
Posted by: Pythnoobvent1971 - Apr-16-2021, 11:34 AM - Forum: General Coding Help - Replies (1)

[python]questions = ["What is your name?", "What is your favorite color?", "What is your quest?"]
n = 0
while True:
print("Type q to quit")
..... More

Print this item

  math,numpy
Posted by: pyStudent - Apr-16-2021, 11:14 AM - Forum: Homework - Replies (2)

I need write a function which generate a random matrix (bigger than 2x2). And calculate all the 2x2 part determinant of the generated matrix and gener..... More

Print this item

  If else
Posted by: africanism - Apr-16-2021, 07:31 AM - Forum: General Coding Help - Replies (6)

Hello everyone, I'm new to python and I'm blocking on a piece of code, basically I would like that in the if condition, if the condition is true it ex..... More

Print this item

  Error updating one to many relationship in Flask/ SQLAlchemy
Posted by: atindra - Apr-15-2021, 10:04 PM - Forum: Web Scraping & Web Development - No Replies

Hello,

I have two models Parent and Child in my database, there's a one to many relationship between these two models i.e. one parent can have mult..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 4 hours ago Robots DeaD_EyE Networking
  Check if running from she... 4 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  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...
  Create dataframe from the... 12-29, 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...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
Most views
  The best Prog... 580463
  Tutorial Requ... 519915
  Web Scraping ... 442795
  Newbie with P... 387007
  New Users Int... 386726
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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