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,402
» Latest member: ellacahvsz4706
» Forum threads: 38,826
» Forum posts: 176,037

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 24 Guest(s)
Bing, AOL

Latest Threads
Le Coeur A Rire Et A Pleu...
Forum: General Coding Help
Last Post: ellacahvsz4706
45 minutes ago
» Replies: 0
» Views: 10
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 155
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 125
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,182
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Dec-31-2025, 07:58 AM
» Replies: 28
» Views: 15,662
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 211
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,629
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 289
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,643
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 260

 
  Generate Random operator, take user input and validate the user
Posted by: mapypy - Feb-02-2021, 02:56 PM - Forum: General Coding Help - Replies (4)

Hi,

I have the following code:

[python]import random
number_one = random.randint(0, 100)
number_two = random.randint(0, 100)

rand_ops = ..... More

Print this item

  grouped data frame
Posted by: glitter - Feb-02-2021, 11:22 AM - Forum: Data Science - No Replies

Hi everyone,
I would like to group the dataframe using multiple keys. I used a data frame like (test_df) below:

dstIP srcIP at..... More

Print this item

  Advantages of Python
Posted by: zubairHassan - Feb-02-2021, 10:26 AM - Forum: News and Discussions - Replies (7)

Advantages of Python for]web app development companies.

  1. Easy to Read, Learn and Write. Python is a high-level programming language tha..... More

Print this item

  exec + subprocess = UnboundLocalError
Posted by: paul18fr - Feb-02-2021, 09:45 AM - Forum: General Coding Help - Replies (6)

Hi all

In the following code extract, "Launch.wait()" generates an error only if it is inserted in a function (it works in the program core); "Laun..... More

Print this item

  What reason have you quit a job?
Posted by: manas41 - Feb-02-2021, 09:21 AM - Forum: Bar - Replies (10)

I'm about to quit my job and second guessing whether my reason is "good enough" to leave this job which is good in some ways, not so good in other way..... More

Print this item

  Trouble getting data from an entry.
Posted by: Oshadha - Feb-02-2021, 06:09 AM - Forum: GUI - Replies (2)

Code:
[python]
from tkinter import *
from pytube import YouTube
from pytube import Playlist
from pytube.cli import on_progress

root = Tk()
ro..... More

Print this item

  ImportError: /home/pybind11_example.cpython-37m-x86_64-linux-gnu.so: undefined symbol
Posted by: chaitra - Feb-02-2021, 06:01 AM - Forum: General Coding Help - Replies (2)

hi im trying to execute python bindings for c/c++ uding pybind11 method
and im getting following error

ImportError: /home/pybind11_example.cpython..... More

Print this item

  "Silly Frenchman"? Really?
Posted by: CynthiaMoore - Feb-02-2021, 05:34 AM - Forum: Board - Replies (7)

Why do I have the label "Silly Frenchman". Weird.

PS: After waiting another 5 minutes.....

Print this item

  Why the 5 minute wait?
Posted by: CynthiaMoore - Feb-02-2021, 05:24 AM - Forum: Board - Replies (1)

Why was I required to wait 5 minutes from my last post before I could post this one? I don't see anything in the Help about it. Is it because I an a n..... More

Print this item

  Can't mark any threads solved
Posted by: CynthiaMoore - Feb-02-2021, 05:00 AM - Forum: Board - Replies (5)

I see in the help that it is recommended that the OP mark threads solved when (if) they are. It says there is button next to the New Reply button. I c..... More

Print this item

  Refresh data in python script while running in Terminal
Posted by: frankenchrist - Feb-02-2021, 04:56 AM - Forum: General Coding Help - Replies (4)

Hi,

I have gotten a script to pull in new helpdesk tickets from Zendesk and display then in a terminal window (Ubuntu). It pulls the information w..... More

Print this item

  Morse Assignment
Posted by: Cambridge - Feb-02-2021, 01:53 AM - Forum: Homework - Replies (3)

Step 2 (40 points):

In this step, you'll create a function to do the translation. This will make it easy to reuse the code for the if-elif logic wi..... More

Print this item

Thumbs Up Working with Threads
Posted by: Gilush - Feb-02-2021, 12:56 AM - Forum: General Coding Help - Replies (2)

Hi all,

So I have this small program that does multiple actions:

  • Mouse - Captures mouse location.
  • Capture system information to fi..... More

Print this item

  type change of dbshelve key between Python 2 and 3
Posted by: ccaudle - Feb-01-2021, 11:49 PM - Forum: General Coding Help - Replies (3)

I have an old database style program that I am attempting to port from python 2 to python 3. The program uses dbshelve to store about ten strings und..... More

Print this item

  goto
Posted by: jmabrito - Feb-01-2021, 09:49 PM - Forum: General Coding Help - Replies (34)

Smile if (str(k)) in numer:
print ('JÁ EXISTE')
goto to de line that begininig de boddy of program.
the number existe so, dont wrirte and m..... More

Print this item

  DisMal
Posted by: steve_shambles - Feb-01-2021, 08:29 PM - Forum: Code sharing - No Replies

I have just finished a new and weird GUI for DisMal,
disposable Email.

[Image: dismal-screenshot-2w.png]

GitHub..... More

Print this item

  install jupyter-nb within VSCode
Posted by: apollo - Feb-01-2021, 08:15 PM - Forum: General Coding Help - Replies (2)

hello dear all

pretty new to jupiter notebook - i run MX-Linux and Visual-Studio-Code - and now i want to integrate Jupyter Notebook within VSCode ..... More

Print this item

  A few newbie questions
Posted by: CynthiaMoore - Feb-01-2021, 07:59 PM - Forum: News and Discussions - Replies (4)

I am looking to get back into computer programming both for my personal use and to teach the grandkids (ages 5-14). I also want to learn a little abou..... More

Print this item

  At what point while building/testing Logistic Regression do I perform the PCA or MCA?
Posted by: deadendstreet2 - Feb-01-2021, 07:02 PM - Forum: Homework - No Replies

I'm really confused on this. My coursework doesn't go over PCA or MCA, which is not a huge deal because there are plenty of resources online, but it's..... More

Print this item

  Regression plotting + minor issue
Posted by: mohi_gh - Feb-01-2021, 04:19 PM - Forum: Data Science - No Replies

Hello guys! I'm trying to plot a regression like this from the attached file,
but I ran into these 2 problems;
1)It won't plot the size-price
2)I c..... More

Print this item

  i want to write symbole as varibales in python to make translator
Posted by: rachidel07 - Feb-01-2021, 03:22 PM - Forum: General Coding Help - Replies (9)

hey

i want to write symbole as varibales in python to make translator .
for example: i want this [-10;-30] became this (-10,-30).
i want my co..... More

Print this item

  Append excel sheet using openpyxl
Posted by: TammyP - Feb-01-2021, 02:24 PM - Forum: General Coding Help - Replies (1)

The code below does not append
Can anyone help please

[python]
from openpyxl import load_workbook
workbook_name = '/home/pi/Desktop/Data/Test.xl..... More

Print this item

  Flask request.form
Posted by: ifigazsi - Feb-01-2021, 01:49 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi!

I have three buttons on new_page.html
Only the first one is working . Add something button.
How to fix it?
I guess try-expect blocks are n..... More

Print this item

  Only show every nth tick in chart
Posted by: tgottsc1 - Feb-01-2021, 01:28 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I've plotted a chart using the following basic setup:

df.plot()
However, I only want to have a difference of 300 t..... More

Print this item

  gnome terminal playing with python
Posted by: jmex - Feb-01-2021, 12:40 PM - Forum: General Coding Help - Replies (12)

Hello everyone,

Hope you are fine and safe!
I have started learning and i want to play with gnome-terminal using python3 in ubuntu. I have googled..... More

Print this item

  Location of the objects that are moving
Posted by: rturus - Feb-01-2021, 12:05 PM - Forum: Game Development - Replies (1)

I have the following code. I would like to add scoring point whenever two rectangles collided with each other.
I am finding difficult to get the loc..... More

Print this item

  Removal of duplicates
Posted by: teebee891 - Feb-01-2021, 11:54 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

I have made an anagram below from a words.txt file.

[python]with open('words.txt', 'r') as read:
line = read.readlines()

de..... More

Print this item

  Pandas dataframe without index
Posted by: tgottsc1 - Feb-01-2021, 08:53 AM - Forum: General Coding Help - Replies (3)

Hi guys,

I have a basic question about dataframes. However, my Google search has not yielded the desired results so far. I have data stored in a p..... More

Print this item

  email timer/rss feed timer
Posted by: ndiniz - Feb-01-2021, 05:23 AM - Forum: General Coding Help - Replies (1)

I want to create 2 auto-executable timers using python that will run upon windows startup, and these timers are going to be used for checking my gmail..... More

Print this item

  Help with input from specific devices
Posted by: Noob_hobbyist - Feb-01-2021, 03:16 AM - Forum: GUI - Replies (3)

I'm working on making a GUI in tkinter and I have 5 entry boxes. I want each entry box to only accept input from certain devices, such as a scanner o..... More

Print this item

  Read/Write binary file
Posted by: deanhystad - Jan-31-2021, 10:39 PM - Forum: General Coding Help - Replies (3)

I have a binary file that contains 32 bit floats. I would like to read the file into a matrix, rotate the matrix, and then write the matrix to a file..... More

Print this item

  pandas.read_excel does not seem to work
Posted by: hobbyist - Jan-31-2021, 10:38 PM - Forum: General Coding Help - Replies (4)

I run this code:

dataframe = pandas.read_csv(filename, usecols=[2], engine = 'python', skipfooter = skipfooter) 
and runs perfectly..... More

Print this item

  Two Questions, *args and //=
Posted by: beginner721 - Jan-31-2021, 08:54 PM - Forum: General Coding Help - Replies (8)

Hello,

Question one:
I want to use *args function, for multiple argument in math operation.
For example:

[python]
def plus(a,b):
..... More

Print this item

  Can you help me to merge the cells with OpenPyXL?
Posted by: TurboC - Jan-31-2021, 07:54 PM - Forum: General Coding Help - Replies (1)

Hi guys,

from the documentation, I already know how to merge cell..... More

Print this item

  datetime / time
Posted by: ifigazsi - Jan-31-2021, 07:31 PM - Forum: General Coding Help - Replies (5)

Hi!

The code is below, i got the solution, i'm just curious why
datetime.time + datetime.timedelta is not working...


[python]
import datet..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Le Coeur A Rire Et A Pleu... 45 minutes ago ellacahvsz4706 ellacahvsz4706 General Codin...
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... 12-31, 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...
Most views
  The best Prog... 580482
  Tutorial Requ... 520125
  Web Scraping ... 442798
  Newbie with P... 387020
  New Users Int... 386819
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
ellacahvsz4706 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday
zanaalietexaxd4208 Yesterday
zasamueluniorz7349 Yesterday

User Panel Messages

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