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,297
» Latest member: ichsanputr
» Forum threads: 38,795
» Forum posts: 175,888

Full Statistics

Online Users
There are currently 55 online users.
» 0 Member(s) | 48 Guest(s)
Bing, Google, Facebook Dev, AOL

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: bowlofred
49 minutes ago
» Replies: 2
» Views: 75
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
1 hour ago
» Replies: 6
» Views: 3,170
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 62
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 236
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 124
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,521
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 171
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,143

 
  Flask - Turn console program into a flask program
Posted by: MintyScot - Sep-08-2019, 02:21 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi Everyone!

I've been learning to code in my spare time, so still a bit of a noob.

I want to make a flask GUI for this console program I've wri..... More

Print this item

  side effects in f-strings
Posted by: Skaperen - Sep-08-2019, 01:26 AM - Forum: News and Discussions - No Replies

if you def a function that has an intentional side effect is it valid to call that function in an f-string when using the official CPython?

Print this item

  Looking for someone to make bot-engines for various games - 25$/h
Posted by: Fenix88 - Sep-07-2019, 11:00 PM - Forum: Jobs - Replies (1)

Hi there,

I'm looking for someone to make bot-engines for various games.
I need someone professional and fast-paced.

The pay is 25$ per hour...... More

Print this item

  Simple newb string question
Posted by: Involute - Sep-07-2019, 10:17 PM - Forum: General Coding Help - Replies (2)

In the following code I open two files (one to read from and the other to write to). I want to read through f until I get to a left brace ("{") befor..... More

Print this item

  Use ~a.isin on an integer or float ?
Posted by: Johnse - Sep-07-2019, 09:25 PM - Forum: Data Science - Replies (2)

Hello,

isin seems to only work on strings and not
integer or float. How do I work around that,
where it works integer and floats too ?

Pleas..... More

Print this item

  Easy Guide For GUI + Database Work
Posted by: adnanahsan - Sep-07-2019, 09:20 PM - Forum: Tutorial Requests and Submissions - Replies (1)

Hello guyz, i dont know if this thread or forum allows or not, i have made a very very helpful video on creating GUI easily and also Connected with My..... More

Print this item

  Im using python crash course version 2
Posted by: james_newbie - Sep-07-2019, 08:30 PM - Forum: General Coding Help - Replies (3)

i want to use \n \t in a variable and print


[python]
name = " JOHN "
print(name.lstrip())
print(name.rstrip())
print(name.strip())
print("\..... More

Print this item

  printing sideways
Posted by: mnh001 - Sep-07-2019, 08:30 PM - Forum: General Coding Help - Replies (2)

I'm trying to print things out in a line but obviously missing something.
For the code

[python]
a = 5
print(f'{a} [');
for x in range(1, 11) :..... More

Print this item

  Serial toggles serial, but no data
Posted by: Saltwater - Sep-07-2019, 07:34 PM - Forum: Networking - Replies (2)

Hi,


I can't figure out the problem here? I got a toggle on my serial bus Teensy 3.2. But no data?


[python]

import time
import serial
..... More

Print this item

  Can't install turtle
Posted by: Josh_Python890 - Sep-07-2019, 07:26 PM - Forum: General Coding Help - No Replies

Hi folks I'm having issues installing turtle

This is the verbose output from pip run in powershell with admin rights:

[output]PS C:\WINDOWS\syst..... More

Print this item

  PYTHON CPU
Posted by: Doffer - Sep-07-2019, 06:27 PM - Forum: General Coding Help - Replies (2)

the simple program uses the processor at a high rate like %19-%25.
How can I solve this problem?

Print this item

  Python and Postgresql syntax select statement
Posted by: Nesreenmhd - Sep-07-2019, 05:43 PM - Forum: General Coding Help - Replies (1)

I have got a problem with the bold line with attached error :

[b]File "list.py", line 16, in <module>
flight= cur.execute("select origin, des..... More

Print this item

  I've always wanted to write this but having problems
Posted by: 357mag - Sep-07-2019, 05:00 PM - Forum: General Coding Help - Replies (2)

I've wanted to write a program that converts an integer to it's binary equivalent. I'm getting an error saying Unbound Local Error. Local variable bin..... More

Print this item

  Finding a specific line in a file
Posted by: Vqlk - Sep-07-2019, 03:36 PM - Forum: General Coding Help - Replies (3)

I have created a login app and have started work on a forgotten password module. I want to change the password in a txt file. The passwords will diffe..... More

Print this item

  Instagram Stories
Posted by: Evil_Patrick - Sep-07-2019, 03:04 PM - Forum: Web Scraping & Web Development - Replies (3)

Can Anyone Help me in Scraping Instagram Highlights Stories?
I really have no Idea how to do it

Print this item

  Can't upgrade pip
Posted by: Josh_Python890 - Sep-07-2019, 02:24 PM - Forum: General Coding Help - Replies (3)

Hi folks,

I'm having problems upgrading my pip.

This is the traceback I get:

[output]
PS C:\Users\Joshu\AppData\Roaming\Python\Python36\Scri..... More

Print this item

  Double 'for' loop and writing in a new columns dataframe
Posted by: marco_ita - Sep-07-2019, 12:44 PM - Forum: Data Science - No Replies

Hi there,
the below code work as long as i remove the lines number 8 and 26.
But i need to create another loop using j as I need the multiplier in r..... More

Print this item

  Signals and slots, transcending classes
Posted by: Saltwater - Sep-07-2019, 12:40 PM - Forum: GUI - Replies (1)

Hi,

I'm new to Python, and using QT to create a UI and am consequently using PyCharm to connect slots and signals.

In PyCharm I have the control..... More

Print this item

  NameError: name 'processing' is not defined
Posted by: soli004 - Sep-07-2019, 11:27 AM - Forum: General Coding Help - Replies (2)

Hello python experts
I use to run this piece of code in QGIS, but it has been awhile (6 months)
It has been working perfect before but now I get thi..... More

Print this item

  FOR loop not working properly
Posted by: marco_ita - Sep-07-2019, 08:40 AM - Forum: Data Science - No Replies

I have the below code.
I am trying to populate a new dataframe withan iterative for loop, but while i can add the "Year" for each iteration, i am not ..... More

Print this item

  Python Shell As Preferred Mode For Integrated Terminal In Visual Studio Code
Posted by: adt - Sep-07-2019, 07:15 AM - Forum: News and Discussions - Replies (4)

[font=Times New Roman, Times, serif]It is seen that Power Shell is the normal mode for Integrated Terminal in VS-Code.

Although one can transition..... More

Print this item

  a program i want to create, some day
Posted by: Skaperen - Sep-07-2019, 05:43 AM - Forum: News and Discussions - No Replies

a program i want to create, some day, is one that carries out an "expanding recursion" in DNS. normally, each time a recursion step gets some new ref..... More

Print this item

  a "consuming-generator"
Posted by: Skaperen - Sep-07-2019, 03:00 AM - Forum: News and Discussions - Replies (2)

a concept and coding scheme i once created in C (as well as C could do this) i would (now days) call a "consuming-generator". but it was really more ..... More

Print this item

  Using Pyperclip in Python 3 Does Not Paste Data in Desired Format
Posted by: aspire27 - Sep-06-2019, 11:35 PM - Forum: General Coding Help - No Replies

I'm using python 3.7 and I want to:

  • Copy IPs from a column in excel
  • Add a comma between each IP separated by a space
  • Return as o..... More

Print this item

  Blank spaces in right side
Posted by: fernando_santiago18 - Sep-06-2019, 08:41 PM - Forum: Homework - Replies (1)

Hello, I'm new to Python and i had a class assignment that was to draw figures as contours of a regular hexagon and of rectangles and isosceles triang..... More

Print this item

  Everything works except for one line of code
Posted by: 357mag - Sep-06-2019, 05:44 PM - Forum: General Coding Help - Replies (3)

I'm learning classes in Python and I've written a program that outputs the value of two integer variables. And I want to include a method that sums th..... More

Print this item

  Pandas DF filter base on another DF
Posted by: Johnse - Sep-06-2019, 02:35 PM - Forum: Data Science - Replies (1)

Can pandas data frame filter base on another data frame ?

Print this item

  Quotes and variables in print statement
Posted by: Mark17 - Sep-06-2019, 01:58 PM - Forum: General Coding Help - Replies (4)

This is a basic issue that has given me fits and I think Atom has been making it more complicated by wanting to place additional [single] quotation ma..... More

Print this item

  Morning Removing last character
Posted by: sumncguy - Sep-06-2019, 01:53 PM - Forum: General Coding Help - Replies (8)

I have the need to change a list of ips into a regular expression, then copy / paste the results else where

The starting list
[quote]
10.10.10...... More

Print this item

  Drop rows if a set of columns has a value
Posted by: dervast - Sep-06-2019, 01:45 PM - Forum: Data Science - Replies (1)

Hi,
I am looking for a way in pandas to do the following:

First lets assume a data frame with the following columns

[python]small_df=df[['1','2..... More

Print this item

  Why lineEdit is showing text like this ??
Posted by: scorp08 - Sep-06-2019, 01:10 PM - Forum: GUI - Replies (13)

The below code is showing lineEdit such that when a text is written, it showed the text not throughout of the width of the lineEdit. Kind of seemed li..... More

Print this item

  A replacement library to python chardet
Posted by: Ousret - Sep-06-2019, 12:20 PM - Forum: Code sharing - Replies (1)

Hi,

There is a very old issue regarding "encoding detection" in a text file that has been partially resolved by a program like Chardet. I did not l..... More

Print this item

  changing background color of a button
Posted by: ieee488 - Sep-06-2019, 11:52 AM - Forum: GUI - Replies (2)

I am a beginner to Python but not to programming in general.

I have the following code for creating 3 buttons:
[python]
for i in range(1, 3):
..... More

Print this item

  What is the significance of end=' ' and print()
Posted by: Subash_P - Sep-06-2019, 10:19 AM - Forum: General Coding Help - Replies (4)

Hi All,
I am new to Python programming.
I am trying to display nested list like a matrix. I am trying with below code.

x=[[1,2,3],[4,5,6],[7,8,9..... More

Print this item

  Complete Python 3 Tutorial Series
Posted by: KodeBlog - Sep-06-2019, 10:00 AM - Forum: Tutorial Requests and Submissions - No Replies

Hi everyone,

Here is a link to free tutorial series on Python 3 for beginners

Python 3 Tutorials for B[url=https://python-forum.io/thread-20916.html]..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 49 minutes ago Moltar1997 bowlofred General Codin...
  best way to learn python 1 hour ago dutch ichsanputr News and Disc...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579354
  Tutorial Requ... 512299
  Web Scraping ... 442268
  Newbie with P... 386329
  New Users Int... 380140
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday
LewisByday Yesterday

User Panel Messages

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