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,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 33 Guest(s)
Bing, AOL, Google, Apple, Internet Archive, Mojeek, buran

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
3 hours ago
» Replies: 4
» Views: 124
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 4
» Views: 152
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 04:44 AM
» Replies: 8
» Views: 668
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,811
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 147
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 130
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 210
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,217
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 325
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 211

 
  Help with regular expresions-SOLVED
Posted by: dragan979 - Jan-10-2019, 12:01 PM - Forum: General Coding Help - Replies (3)

I already posted this on Stack Overflow

I have emails which have following in email body:

1 email:

Event demon log entry:

***

2.email:..... More

Print this item

  Cryptography in Python
Posted by: NLittle17 - Jan-10-2019, 10:59 AM - Forum: General Coding Help - Replies (6)

[python]
print("CryptoPrac-1a.")

for x in range(97, 123): # 97 starts the lowercase alphabet and 122 is z (ending)
print(chr(x), end = ' ')
pr..... More

Print this item

  Correct number wrong position func.
Posted by: albry - Jan-10-2019, 10:01 AM - Forum: General Coding Help - Replies (5)

[python]import random
question = random.randint(1,1001)

def get_user_input():
try:
guess = int(input("Please enter a guess: "))
..... More

Print this item

  Modern looking GUI
Posted by: Cuz - Jan-10-2019, 09:21 AM - Forum: GUI - Replies (14)

Hi guys,

I have an easy question but an important one for me nonetheless. I was recently diving into PyQt5 designing really simple desktop apps a..... More

Print this item

  Any software outsourcing company related info?
Posted by: Spenlowren - Jan-10-2019, 09:17 AM - Forum: Bar - Replies (4)

Hello everybody. I'm currently having some issues to be troubleshooted (creating a mobile app), please give any tip if you have any related experience..... More

Print this item

  Numpy and matplotlib in incorporated Python.
Posted by: CSKir - Jan-10-2019, 08:31 AM - Forum: Data Science - Replies (7)

Hi!

I am trying to incorporate Python in my Lazarus (IDE using Free Pascal) application using python4delphi (PythonForDelphi) components. They supp..... More

Print this item

  About the output format.
Posted by: shang2019 - Jan-10-2019, 05:35 AM - Forum: General Coding Help - Replies (4)

I'm a newer to python, just have some simple format questions. Here is my code of creating a new function.

[python] >>> def make_complex(x,y):
..... More

Print this item

  Finding Row Number for Items in 2D array
Posted by: fafzal - Jan-10-2019, 05:33 AM - Forum: Homework - Replies (2)

Hi everyone. First post here because I'm completely stuck on my homework assignment. I don't have a strong coding background so any help is greatly ap..... More

Print this item

  Converting List of 3 Element Tuple to Dictionary
Posted by: fooikonomou - Jan-10-2019, 03:38 AM - Forum: General Coding Help - Replies (11)

I have one 3d list of tuple

list=[(0, 1, 6), (5,1,4), (1, 6, 0), (3, 2,1),(4,5,1)]
I want to add in a dictionary like this:

[p..... More

Print this item

  Variable Range
Posted by: Trinx - Jan-10-2019, 03:11 AM - Forum: General Coding Help - Replies (4)

I am trying to code a variable with a range from 4-10. The user inputs a number that will be determined if it's one of the numbers in the variable (4 ..... More

Print this item

  ' | ' Operator and 'OR'
Posted by: blackknite - Jan-10-2019, 01:10 AM - Forum: General Coding Help - Replies (10)

Hey folks. Im doing some online challanges, and I got some things that gets me confused a bit, could use some explanation!

The first one is this, I d..... More

Print this item

  when to make attributes private?
Posted by: sneakyimp - Jan-10-2019, 01:08 AM - Forum: General Coding Help - Replies (10)

I've been working through an introductory python book. I've got quite a bit of experience coding in other languages, but am new to Python. My book see..... More

Print this item

  New df from existing when condition occurs
Posted by: Devilish - Jan-10-2019, 12:03 AM - Forum: General Coding Help - No Replies

I have my DataFrame imported and converted. I have a column name 'Output' that contains 1s, zeros, and -1s as values...

I am wanting to crate a ne..... More

Print this item

  Telnet to switch from jump start server(linux)
Posted by: searching1 - Jan-09-2019, 10:03 PM - Forum: Networking - No Replies

Hi,

I just want to ask if anyone here has script or idea what method, library etc should. My target is to SHH first from my workstation to Linux j..... More

Print this item

  banner with python
Posted by: josh1 - Jan-09-2019, 09:08 PM - Forum: General Coding Help - Replies (1)

I have a video file, I get a jpg file and I need to turn it into a banner that runs on the video file. In other words I have a video file that transmi..... More

Print this item

  Graphics and standard deviation
Posted by: rocioaraneda - Jan-09-2019, 08:33 PM - Forum: General Coding Help - Replies (3)

I need help please. I´m currently programming for my work and my boss asked me to plot a graphic similar to the one on the link below. I already calcu..... More

Print this item

  TypeError: __init__()
Posted by: IMuriel - Jan-09-2019, 08:22 PM - Forum: Web Scraping & Web Development - Replies (7)

Hello, im new at python,and im learning how to develop a web app, with flask, and useing sql alchemy, so i have a form to register members to my autho..... More

Print this item

  Complete NEWB and openpyxl project
Posted by: Netopia - Jan-09-2019, 08:06 PM - Forum: General Coding Help - Replies (44)

Greetings!

I've butchered various programming languages in the past, learning to hack my way through simple problems, but have never really become ..... More

Print this item

  Basic Help Needed
Posted by: JohnV - Jan-09-2019, 07:52 PM - Forum: General Coding Help - Replies (2)

Where are programs developed? In the shell? That doesn't seem to work. Where else? How do I get instant commands to calculate? Thanks.

Print this item

  Oauth2.0 authorization (Flask, SQLAlchemy)
Posted by: oinga - Jan-09-2019, 07:05 PM - Forum: Homework - Replies (2)

Hello!

I have a repo on git hub, and I'm having issues with the authorization for the edit and ..... More

Print this item

  Login screen code with SQL Server database
Posted by: nairsanthu1977 - Jan-09-2019, 05:57 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I am new to Python.
I want to create a simple login page where it takes login name and password.
Database used is SQL Server and the credenti..... More

Print this item

  Merge isosurfaces
Posted by: mPirs - Jan-09-2019, 02:04 PM - Forum: General Coding Help - No Replies

I want to define two surfaces (S_1, S_2) out of 6 previous ones (S1, S2 ,S3, S4, S5, S6) "merging" them such as:
S_1=S1+S3+S5
S_2=S2+S4+S6

All su..... More

Print this item

  Importing a .csv file to dataframe
Posted by: crispyduck - Jan-09-2019, 02:03 PM - Forum: General Coding Help - Replies (5)

Hello all,

I'm wondering if you may be able to help...
I'm trying to import this .csv file, so I can view the data in columns under each heading, how..... More

Print this item

  percentage change mean by group
Posted by: SriRajesh - Jan-09-2019, 01:18 PM - Forum: Data Science - Replies (1)

Hi,
I want to calculate percentage change mean (and sum) by group.
[python]
import pandas as pd
d = {'col1': ['B','A','B','C','H','C','A','B','H..... More

Print this item

  Kevin Bacon game with breath-first search
Posted by: gamingingrs - Jan-09-2019, 10:00 AM - Forum: Homework - Replies (2)

I am more-less new at Python and I am working on Kevin Bacon game.

I have "movies.txt" text file that looks like:

[quote]Apollo 13 (1995)..... More

Print this item

  I see is that sys.argv contains character strings
Posted by: helenharry - Jan-09-2019, 09:37 AM - Forum: General Coding Help - Replies (2)

[python]from sys import argv
script, number1, number2 = argv


print("Here is your 1st number: ", number1)
print("Here is your 2nd number: ", n..... More

Print this item

  Integer vs Floats
Posted by: Tazbo - Jan-09-2019, 12:46 AM - Forum: General Coding Help - Replies (2)

Hi,

I am currently learning Python from an online course and today is my first day. I am a little confused on Integers when dividing instead of add..... More

Print this item

  a script i need: column alignment
Posted by: Skaperen - Jan-09-2019, 12:16 AM - Forum: News and Discussions - Replies (8)

i often need a command/program/script that can read in a text file with many columns that are not lined up and line them up to make all the lines be c..... More

Print this item

  Help creating a pattern using the re module
Posted by: zulu_likuum - Jan-08-2019, 11:55 PM - Forum: General Coding Help - Replies (6)

I have written a python3 script to rename files based on a pattern input by the user. It has worked well, but I now am trying to create a pattern, and..... More

Print this item

  cups printing
Posted by: Barrowman - Jan-08-2019, 11:12 PM - Forum: Networking - Replies (2)

I have a raspberrypi I am using as a print server and it has my HP Officejet on a USB port.
I can print to it from libreoffice, gedit and all other p..... More

Print this item

  I can't write my data to the data file , Why?
Posted by: canatilaa - Jan-08-2019, 09:40 PM - Forum: General Coding Help - Replies (4)

I want to write the data into the text file I want to use data for the next code, but I entered the data file does not write anything.How can I solve ..... More

Print this item

  t_games, Take Two
Posted by: ichabod801 - Jan-08-2019, 09:29 PM - Forum: Game Development - Replies (16)

I redid the code. It should run solo now (that is, outside the Python path). At least that's what it's doing on my machine.

Print this item

  Python only outputting "101"
Posted by: Spuffle - Jan-08-2019, 07:44 PM - Forum: General Coding Help - Replies (4)

It first happened when following a tutorial for a basic calculator

[python]num1 = float(input("Enter first number: "))
op = input("Enter operator: "..... More

Print this item

  2 buttons to run 2 different functions?
Posted by: JP_ROMANO - Jan-08-2019, 07:33 PM - Forum: GUI - Replies (2)

Good day all,

It seems like the cleanest, easiest way for me to build a GUI is with PySimpleGui, and it's well underway, but I'm having some troubl..... More

Print this item

  reading in csv row by row
Posted by: SchroedingersLion - Jan-08-2019, 07:01 PM - Forum: Homework - Replies (9)

Good evening,

can someone help me with the syntax in saving the rows of a csv files with M rows and N columns into a list?
I do not want the last ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 3 hours ago Lou snippsat General Codin...
  Python is not working on ... 10 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 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
Most views
  The best Prog... 579461
  Tutorial Requ... 512628
  Web Scraping ... 442322
  Newbie with P... 386377
  New Users Int... 380664
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+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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