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,281
» Latest member: drakhsin
» Forum threads: 38,792
» Forum posts: 175,870

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Google, Apple, Mojeek, drakhsin

Latest Threads
data fetching for indian ...
Forum: General Coding Help
Last Post: drakhsin
4 hours ago
» Replies: 0
» Views: 21
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Yesterday, 08:30 PM
» Replies: 0
» Views: 36
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,466
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 121
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 48
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,037
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,291
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 337
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 174
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 241

 
  smtplib: string formatting not carrying over to email
Posted by: ClassicalSoul - Apr-22-2020, 09:18 PM - Forum: General Coding Help - Replies (1)

The string formatting I specify in python doesn't carry over perfectly to email when I send it via smtplib.

[python]
def main():
pull() # pulls..... More


Attached Files

Thumbnail(s)
   
Print this item

  Sitemap.xml and pull URLs and get response code
Posted by: motunyabgu - Apr-22-2020, 09:13 PM - Forum: News and Discussions - No Replies

What I want to do is enter a site's robots.txt list. It then pulls out all the URLs and contains their response code. Save this to csv.

I can do th..... More

Print this item

  GUI
Posted by: dielnov - Apr-22-2020, 08:12 PM - Forum: GUI - Replies (2)

Which is the best GUI Framework to make modern UI with?

Print this item

  Decent GUI library?
Posted by: Dahliiin - Apr-22-2020, 08:12 PM - Forum: GUI - Replies (5)

I just started coding with python. Before I used Java and for my GUIs I used Swing, which includes the Window Builder which is nice and handy. So I st..... More

Print this item

  print only last matched line
Posted by: tester_V - Apr-22-2020, 08:07 PM - Forum: General Coding Help - Replies (24)

Greetings!
I'm having a hard time with this problem. Cry
I need to print only the last match of "second line" for each "first line".

The out..... More

Print this item

  [Python Learning]Verifying user name / password in website with simple python code
Posted by: DDE_Server - Apr-22-2020, 07:42 PM - Forum: Code Review - Replies (2)

hi Everybody Blush Blush ,
i am beginner in programming but while learning statement/loops/lists in python i coded simple code to check us..... More

Print this item

  error : value of a DataFrame is ambiguous
Posted by: Sonata - Apr-22-2020, 07:31 PM - Forum: Data Science - Replies (1)

Hi everyone,

Regarding the code below:

[python]
import pandas as pd
csv_path= links["file"]
df=pd.read_csv(csv_path)
if df.loc["0":"68","m..... More

Print this item

  Creating Conda env from requirments.txt file
Posted by: ErnestTBass - Apr-22-2020, 06:23 PM - Forum: General Coding Help - Replies (7)

I have created a conda environment using the command

conda create -n env-name

Now I can add the packages that I want by putting names and versio..... More

Print this item

  Help for Windows service recycling script
Posted by: Rajesh_K - Apr-22-2020, 05:33 PM - Forum: General Coding Help - Replies (1)

Hi team of awesome people,

I am just stepping into the world of Python and just started with few trainings.
I am trying to run a script to recycli..... More

Print this item

  Hey there, I'm new here.
Posted by: jeacom - Apr-22-2020, 04:09 PM - Forum: General Coding Help - Replies (5)

Hey there, I'm new here, I wonder if this forum is a good place to discuss more theoretical stuff like design patterns, like for example about code th..... More

Print this item

  Implementing spam detector code into a GUI
Posted by: nikolassj - Apr-22-2020, 03:49 PM - Forum: Homework - Replies (2)

Greetings people,

My name is nikolassj and I am an IT student.

First and foremost, I would like to thank you for having me as an member of your..... More

Print this item

  How to use value in dictionary as arguments in function
Posted by: gabejohnsonny21 - Apr-22-2020, 03:25 PM - Forum: Homework - Replies (6)

[python]
def test(data1, data2):
eef = data1 + data2
return(eef)

dict1 = {"a": (2, 2),
"b": (3, 2),
"c": (5, 6),
..... More

Print this item

  Find field name from all possible values
Posted by: kashcode - Apr-22-2020, 03:11 PM - Forum: General Coding Help - Replies (1)

Hi all!

Here I am new my first post :)

I have started learning python.

I have question is there better solution, than this:
[python]
ols = ..... More

Print this item

  VBA --> Openpyxl
Posted by: PTPeter - Apr-22-2020, 03:04 PM - Forum: General Coding Help - Replies (5)

Since I just got started with Openpyxl, I keep comparing it to VBA.
Unfortunately, some questions remain unanswered while searching Google:

  1. ..... More

Print this item

  Undo (Ctrl+z) doesn't work on highlighting
Posted by: CynthiaMoore - Apr-22-2020, 03:00 PM - Forum: Board - Replies (8)

The Undo function (Ctrl+z on my Windows machine) works most of the time, but doesn't seem to work to undo highlighting.

If I select a word, like "[..... More

Print this item

  Can I get rid of the twitchy emojis?
Posted by: CynthiaMoore - Apr-22-2020, 02:47 PM - Forum: Board - Replies (2)

Is there any way to get rid of the those infernal twitchy emojis just to the left of me? I keep seeing them out of the corner of my eye and it makes i..... More

Print this item

  Can I change the font in the post editor?
Posted by: CynthiaMoore - Apr-22-2020, 02:04 PM - Forum: Board - Replies (4)

When I am composing a post (like now, right here), the font is so small and so light (faint) that my tired old eyes really strain to read it.

Is th..... More

Print this item

  Expand last sub-node of treeview widget
Posted by: mart79 - Apr-22-2020, 01:57 PM - Forum: GUI - Replies (1)

I have the following code:

[python]import sys, os
from PySide2.QtWidgets import QApplication, QDialog, QTreeWidgetItem, QTreeWidget, QHBoxLayout, ..... More

Print this item

  Why don't my reps show up?
Posted by: CynthiaMoore - Apr-22-2020, 01:48 PM - Forum: Board - Replies (5)

On several threads, I see an indication as to who has given a post a Rep (thumb up) in the lower left corner of that post.

I got an excellent answe..... More

Print this item

  Cant define turtle color with function argument
Posted by: Wrightys99 - Apr-22-2020, 01:24 PM - Forum: General Coding Help - Replies (2)

Hi

I am struggling to work out why the colours arent changing in this program.

I have created a function called 'flowers' and i pass 3 colours i..... More

Print this item

  item from a line to list however when i print the line instead of words i get letters
Posted by: Sutsro - Apr-22-2020, 01:18 PM - Forum: General Coding Help - Replies (5)

Hey Everyone,

After some brainstorming and help from anbu23 i was able to make it work. However instead of words i get letters seperated like this ..... More

Print this item

  How did I get a subtitle?
Posted by: CynthiaMoore - Apr-22-2020, 12:56 PM - Forum: Board - Replies (2)

I just noticed that under my user name, it says "Programmer named Tim". Who the heck is Tim and how did that get there and what does it mean? I did no..... More

Print this item

  Pycharm sync
Posted by: PTPeter - Apr-22-2020, 11:37 AM - Forum: General Coding Help - Replies (1)

I have used VBA for years to build Excel macro's, but now I am learning how to use Python for this as it appears to be much better. I am working on an..... More

Print this item

  Cant Append a word in a line to a list err "str obj has no attribute append
Posted by: Sutsro - Apr-22-2020, 11:11 AM - Forum: General Coding Help - Replies (2)

Hey everyone,

I am trying to get every word in line to a list however i am getting error " AttributeError: 'str' object has no attribute 'append'"...... More

Print this item

  Sorting digits in a mixed string
Posted by: snorri - Apr-22-2020, 10:56 AM - Forum: Homework - Replies (1)

Hello.
In a mixed string(digits and English alphabet) sort only the digits.
Example:
"3b2c1" => "1b2c3"
"7Mkx1Intv2n5D" => "1Mkx2Intv5n7D"

I ca..... More

Print this item

  Openpyxl
Posted by: PTPeter - Apr-22-2020, 09:35 AM - Forum: General Coding Help - Replies (3)

Hello, this is my first post.

A tutorial I am following tells me to type this code:

[python]
import openpyxl

wb = openpyxl.load_workbook('marks..... More

Print this item

  string indices must be integers
Posted by: constantin01 - Apr-22-2020, 09:01 AM - Forum: General Coding Help - Replies (6)

So, I have:

[python]data = json.loads(requests.get(url).text)
print(type(data))
print(data[0])

<class 'list'>
{'sentence': ['what', 'is', 'a'..... More

Print this item

  Lists first item is a number however i cant compare it with an int getting syntax err
Posted by: Sutsro - Apr-22-2020, 08:45 AM - Forum: General Coding Help - Replies (4)

Hello everyone,

when i try to compare list first element i am getting a syntax error. "if satırsayısı2=isimsatırlistesi[0]" this list is made of "..... More

Print this item

  Help Needed
Posted by: Sinfulwinner - Apr-22-2020, 08:09 AM - Forum: General Coding Help - Replies (1)

Hey All, Trying to get the below script to allow a user to input a storeID number; which then looks up the coordinates and inputs them into the variab..... More

Print this item

  Progressbar value update issue
Posted by: Roshan - Apr-22-2020, 08:01 AM - Forum: GUI - Replies (7)

Hi

i have one list .

I want to update Progressbar from list elements.

# this code works
self.prograssBar1["value"] = 12
..... More

Print this item

  Python v MatLab for graphs and plots
Posted by: CynthiaMoore - Apr-22-2020, 07:54 AM - Forum: General Coding Help - Replies (4)

I need to generate some graphs of data from an Excel sheet. I installed a trial version of MatLab and played with it a bit. It can certainly do what I..... More

Print this item

  [Project] bot for web game
Posted by: zarize - Apr-22-2020, 07:51 AM - Forum: General Coding Help - No Replies

Hi guys,

I was thinking about project which could give me experience, on which i could learn a lot.
Beside this, project must be also interesting, so..... More

Print this item

  Python: Call function with variabele? Ending in error.
Posted by: efclem - Apr-22-2020, 07:44 AM - Forum: General Coding Help - Replies (5)

Hi all,
I am a beginner in Python and I am trying to create a script that is login to all kind of different devices (Storage, server, switches) and c..... More

Print this item

  how to update label text from list
Posted by: Roshan - Apr-22-2020, 07:26 AM - Forum: GUI - Replies (8)

Hi

I want to update 5 different label value from list items.

I am following below code.

[python]
self.dLabel1.configure(text = f"button clic..... More

Print this item

  How to attach images to a thread
Posted by: CynthiaMoore - Apr-22-2020, 07:22 AM - Forum: Board - Replies (6)

I wanted to ask a question about generating a graph. I have an example in a jpg file. But the only way I can see to attach it to the post is if I have..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 4 hours ago drakhsin drakhsin General Codin...
  Brazil Python Help to aut... Yesterday, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 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...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579230
  Tutorial Requ... 512031
  Web Scraping ... 442160
  Newbie with P... 386285
  New Users Int... 379367
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 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
drakhsin Today
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20

User Panel Messages

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