Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,963
» Latest member: chaoh1911
» Forum threads: 38,732
» Forum posts: 175,543

Full Statistics

Online Users
There are currently 57 online users.
» 0 Member(s) | 51 Guest(s)
AOL, Bing, Google, Applebot, AOL

Latest Threads
Bitcoin recovery from fra...
Forum: General Coding Help
Last Post: KaydenJonah098
25 minutes ago
» Replies: 0
» Views: 18
ChainX Hacker Solutions r...
Forum: General Coding Help
Last Post: KaydenJonah098
25 minutes ago
» Replies: 0
» Views: 5
Ethereum stolen by fraudu...
Forum: General Coding Help
Last Post: KaydenJonah098
25 minutes ago
» Replies: 0
» Views: 5
My First App
Forum: Code Review
Last Post: carlbidwell
1 hour ago
» Replies: 8
» Views: 8,371
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
2 hours ago
» Replies: 3
» Views: 1,751
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 3
» Views: 276
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 695
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 781
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,028
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,672

 
  Logs and terminal in Tkinter
Posted by: Prezess - Jul-26-2020, 09:20 PM - Forum: GUI - Replies (1)

I want to add an event log to my program or make redirect from gui to terminal.
How to do that???

Print this item

  Dropping rows with missing values
Posted by: NewBeie - Jul-26-2020, 07:46 PM - Forum: General Coding Help - Replies (2)

Hi,

I have this code below, I'm trying to drop rows with missing values, and I'm trying to use DataFrame.dropna(), But when I test below the rows w..... More

Print this item

  Get element (ID) from website to login
Posted by: Olimpiarob - Jul-26-2020, 06:40 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi there,

Can you help me to get the element name from the website that I want to log-in to? I tried everything...:( I tried username, email, login..... More

Print this item

  Creating many csv files from Pandas
Posted by: EMA - Jul-26-2020, 06:39 PM - Forum: Data Science - No Replies

I have one csv file with thousands of rows ,and 3 columns( Dept, staffName , role).
What I need to do is :

1.create separate CSV file for ..... More

Print this item

  George Pyman
Posted by: Gribouillis - Jul-26-2020, 05:16 PM - Forum: Bar - No Replies

I discovered George Pyman, who died one century before Python. His name looks like a forum handl..... More

Print this item

  Class variable / instance variable
Posted by: ifigazsi - Jul-26-2020, 02:32 PM - Forum: General Coding Help - Replies (9)

[python]
class Something:

saved_data = [2, 3, 4, 5]

def __init__(self):
self.data = Something.saved_data
self.data2 =..... More

Print this item

  Can urlopen be blocked by websites?
Posted by: peterjv26 - Jul-26-2020, 02:13 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi, I am trying to scrape a web site with following code. But it comes with a Timeout Error as below.

TimeoutError: [WinError 10060] A connection a..... More

Print this item

  Do I have to download and install Python if I want to compile my code online?
Posted by: bld - Jul-26-2020, 01:22 PM - Forum: News and Discussions - Replies (2)

Hello,
I want to compile my code with an online compiler, such as repl.it and I was wondering, if I have to download Python to be able to use an onli..... More

Print this item

  Scrollbar in tkinter
Posted by: PatrickNoir - Jul-26-2020, 09:49 AM - Forum: GUI - Replies (2)

I don't know why this scrollbar not working. Please help Sad

[python]
canvas = Canvas(frame, bd=0,
xscrollcommand=xscrollbar.se..... More

Print this item

  Jinja sort values from request.form
Posted by: SpongeB0B - Jul-26-2020, 07:19 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi everyone,

I'm following this tutorial -> https://www.tutorialspoint.com/flask/fla...mplate.htm

I tried to have the val..... More

Print this item

  Require Some Suggestions
Posted by: gouravlal - Jul-26-2020, 06:48 AM - Forum: General Coding Help - Replies (2)

Hello

I am looking for a Solution in python.
Problem Statement:
I wanted to get all the rows from all the files in all directory based on match..... More

Print this item

  OpenPyxl: How to iterate through each Column (in 1 row) to find a value?
Posted by: chatguy - Jul-26-2020, 05:19 AM - Forum: General Coding Help - Replies (2)

When using Python OpenPyxl, how would I iterate through each Column (in only one row) to find a value?

Here's my current (failing) attempt -- (Ther..... More

Print this item

  Paths
Posted by: millpond - Jul-26-2020, 12:53 AM - Forum: General Coding Help - Replies (12)

Lets start at the beginning.

Awhile back I started taking an interest in Python, and began to build a Python37 system in C:\Python37.

Then I had..... More

Print this item

  arithmetic on 2-tuple of 2 numbers
Posted by: Skaperen - Jul-26-2020, 12:20 AM - Forum: News and Discussions - No Replies

a function returns a 2-tuple of 2 numbers. i want to apply an arithmetic operation to both numbers. is there a nice neat way to do this in an expres..... More

Print this item

  display single elements in array
Posted by: davidm - Jul-26-2020, 12:02 AM - Forum: General Coding Help - Replies (3)

Hi, I have a 9 by 9 numpy array how do I display the 4 corner cell values:
Top left, top right, bottom left, bottom right.
Thanks

Print this item

  Stop a function if the list it needs is empty
Posted by: Pedroski55 - Jul-25-2020, 10:51 PM - Forum: General Coding Help - Replies (2)

I have a function to take theWords, a list of words or phrases, and make an html table with them. Works OK.

Sometimes, I forget to click the button..... More

Print this item

  Python web crawler and input command not having the correct results see below for mor
Posted by: samlee916 - Jul-25-2020, 08:24 PM - Forum: Web Scraping & Web Development - No Replies

Web crawler crawls a website and exports the results into either a txt, son, XML, or csv file format of your choosing. I am getting an error when I ru..... More

Print this item

  Fasta Files
Posted by: johnny_sav1992 - Jul-25-2020, 04:26 PM - Forum: General Coding Help - Replies (4)

Hello everybody,

i'm new in programming and its the first time i use python. I'm working on a code that should read a fasta file and delete the he..... More

Print this item

  Shutil.which return None after app bundled with fsb
Posted by: yok0 - Jul-25-2020, 04:09 PM - Forum: GUI - Replies (3)

Hi,

I'm working on a small gui project based on pyQT5. The dev wen't fine until I bundled my app with fbs. In my code I have a shutil.which(someApp..... More

Print this item

  ATT00001 instead of PDF attachment to an email
Posted by: dominiklucas - Jul-25-2020, 04:05 PM - Forum: General Coding Help - No Replies

Hello all,
I am new in python world. I have problem and please someone to help me.

I try to create pdf file from python and this pdf file sent wit..... More

Print this item

  Failure to open web pages
Posted by: RenanPereira10 - Jul-25-2020, 03:45 PM - Forum: Homework - Replies (3)

The code is supposed to open 5 links e new tabs but it's given a error.
The code was written bellow:

[python]#! python3
# lucky.py - Opens severa..... More

Print this item

  Returning data from a pyobjc object to python environment
Posted by: newpythonuser100 - Jul-25-2020, 03:38 PM - Forum: Homework - Replies (3)

Hi all

Sorry in advance if this is a basic question - new to python over the recent lockdown and have never ever used objective C...

To start wi..... More

Print this item

  Pressing non-latin characters?
Posted by: Murlog - Jul-25-2020, 03:10 PM - Forum: General Coding Help - No Replies

I'm trying to make a program that reads the buttons you press and then deleting it and instead pressing a ex. russian, arabic etc. letter but I notice..... More

Print this item

  Deleting data in SQlite3
Posted by: SmukasPlays - Jul-25-2020, 02:07 PM - Forum: General Coding Help - No Replies

I did a function to delete a row in sqlite3 and it worked. But the database only shows that the data was exclude when I close and run my program agai..... More

Print this item

  Execute SQL Server Stored Procedures
Posted by: eslamerman - Jul-25-2020, 01:32 PM - Forum: Data Science - Replies (4)

Hi,

I would like to execute the below statment using python on sql server. The statment is working on sql sqerver. But when i tried to execute as ..... More

Print this item

  Unable to Validate csv blanck data and write in csv
Posted by: prashant18 - Jul-25-2020, 12:08 PM - Forum: General Coding Help - No Replies

Hi Support,
I have one csv file and some field is blank. now i m writing code to read csv file and if filed is blank then take the input from the use..... More

Print this item

  Help with name error
Posted by: djwilson0495 - Jul-25-2020, 09:32 AM - Forum: General Coding Help - Replies (2)

[python]
import random

def add(): # defines sub program
num1 = random.randint(5,20) # creates random number between 5 and 20
num2 = rand..... More

Print this item

  [pandas] How to reshape the list
Posted by: Mekala - Jul-25-2020, 02:09 AM - Forum: Data Science - Replies (6)

Hi,
I have blow list, I can reshape it but I want to reshape based on other condition:

#%%
[python]import pandas as pd
import numpy as np
lst =..... More

Print this item

  function to store in caller's context
Posted by: Skaperen - Jul-24-2020, 09:52 PM - Forum: News and Discussions - Replies (7)

i have a big block of code that sets up a couple dozen variables for later code to use. now i need to run this block 2 or 3 times. each time may or ..... More

Print this item

  help with snake game
Posted by: blacklight - Jul-24-2020, 06:37 PM - Forum: Game Development - Replies (3)

question: I have a check if the snake.left(x coordinate) == fruit.left, the rand function should be called and the fruit spawns at a different locatio..... More

Print this item

  Select correct item from list for subprocess command
Posted by: pythonnewbie138 - Jul-24-2020, 06:15 PM - Forum: General Coding Help - Replies (6)

I'm having trouble getting my user input into a subprocess command. Everything seems to work fine until it takes the screenshot and it ends up choosin..... More

Print this item

  Enhanced properties with some Metaprogramming
Posted by: mnesarco - Jul-24-2020, 05:42 PM - Forum: Code sharing - No Replies

Hi Friends,
I want to share with you this small article and code on how I implemented enhanced properties using some metaprogramming in Python.

[..... More

Print this item

  I have an idea and don't know where to start...
Posted by: Bubba123 - Jul-24-2020, 04:35 PM - Forum: Game Development - Replies (1)

[font=Arial, Helvetica, sans-serif]So, my girlfriend is coming out of hospital soon and we both got into coding during lockdown. I want to suprise her..... More

Print this item

  sns point plot grouping
Posted by: Mekala - Jul-24-2020, 04:06 PM - Forum: Data Science - No Replies

Hi,
I have data contain two tools, three groups, my x-axis ID, y-axis is Time. I want to plot as follows:


data:

[python]ID Group ..... More

Print this item

  Exact Match
Posted by: Kristenl2784 - Jul-24-2020, 03:29 PM - Forum: General Coding Help - Replies (2)

Hello,

The first line of code is supposed to find string A180, and shift down 9 rows and grab that value. My problem is, is that I also have A180X..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Bitcoin recovery from fra... 25 minutes ago KaydenJonah098 KaydenJonah098 General Codin...
  ChainX Hacker Solutions r... 25 minutes ago KaydenJonah098 KaydenJonah098 General Codin...
  Ethereum stolen by fraudu... 25 minutes ago KaydenJonah098 KaydenJonah098 General Codin...
  My First App 1 hour ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 2 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... 8 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577097
  Tutorial Requ... 499945
  Web Scraping ... 440826
  Newbie with P... 384819
  New Users Int... 368987
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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