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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 11
» Views: 322
Python compiler
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 1
» Views: 77
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 95
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 55
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,133
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 210
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 736
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,842
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 216
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 172

 
  [SOLVED] Print an int with a string
Posted by: Panda - Jun-09-2018, 12:16 PM - Forum: General Coding Help - Replies (2)

Is there a way to print an int (score) inside of a string without getting an error?
[python]score = 0
score = score + 1
print("Your score was ")
p..... More

Print this item

  RE output clarity
Posted by: bluefrog - Jun-09-2018, 11:36 AM - Forum: Homework - Replies (3)

Hi

I'd like to know why the output is only ['a'], instead of [font=Courier New, Courier, monospace]['..... More

Print this item

  GUI taking data from oracle tables
Posted by: dimvord - Jun-09-2018, 09:45 AM - Forum: GUI - No Replies

i have a python code that creates a gui.
The first textbox entry requires from the user to enter a number (which is related to a column table data in..... More

Print this item

  Batch processing and saving into new folder
Posted by: aeritano - Jun-09-2018, 09:36 AM - Forum: Data Science - Replies (3)

Hi everyone.

i am super super new to coding in python (total of 6 hours training), and i am running into a problem with my code. More precisely, i ..... More

Print this item

  Read keyboard until keypress
Posted by: ytav - Jun-09-2018, 07:51 AM - Forum: Homework - Replies (1)

How can I read from keyboard until the user press CTRL + D?

Print this item

  No output in shell?
Posted by: g_109 - Jun-09-2018, 07:26 AM - Forum: General Coding Help - Replies (8)

This is my first time posting in this forum so sorry in advance if i have done something wrong or not explained the problem clearly!

Hi,
so my py..... More

Print this item

  mysql connection issue
Posted by: aaditya2000 - Jun-09-2018, 02:49 AM - Forum: Data Science - No Replies

Hello:
Below is the connection code & i am getting following error, please me what wrong i am doing.

Any help is greatly appreciated.

[python]i..... More

Print this item

  About dicision tree analysis Help me! TT
Posted by: Shunta_U - Jun-08-2018, 09:56 PM - Forum: General Coding Help - No Replies

Hello thank you for read this.
I’m japanese so maybe mistake in grammer, excuse me. Confused

I study dicision tree analysis in scikit-learn...... More

Print this item

  Trying to clean the selected columns
Posted by: paulgureghian - Jun-08-2018, 07:12 PM - Forum: Data Science - Replies (5)

I have astype(int) yet the columns are coming up as object

Print this item

  Maya Python Noob Question
Posted by: Iurii_Ledin - Jun-08-2018, 06:42 PM - Forum: General Coding Help - Replies (2)

I am learning Python and stuck with the task of passing the Var from one Def to another one inside a Class.
This is a Maya script which duplicates se..... More

Print this item

  Sending a custom signal from a worker
Posted by: mhc - Jun-08-2018, 03:09 PM - Forum: General Coding Help - Replies (4)

Hi all, I'm working in a Python application, using PySide on a Raspberry Pi, with Raspbian Jessie OS.

I'm very new in Python, so I'm not an expert ..... More

Print this item

  MechanicalSoup - SSL: CERTIFICATE_VERIFY_FAILED behind proxy
Posted by: 5u88u - Jun-08-2018, 01:51 PM - Forum: General Coding Help - No Replies

I am trying to submit a form and process the response using mechanicalsoup.

I am able to do it successfully without a proxy. But when I try to run..... More

Print this item

  ConfigParser.NoSectionError: No section: 'Default'
Posted by: degenaro - Jun-08-2018, 12:42 PM - Forum: General Coding Help - Replies (1)

I'm stuck. If I try to add an option to section Default I get the below error. But I also get an error when I try to first add section Default. Ple..... More

Print this item

  Analyse audio files, not sure where to start
Posted by: floatingshed - Jun-08-2018, 11:59 AM - Forum: General Coding Help - Replies (1)

I have a tool at my on-line radio station that analyses audio files (wav, mp3, m4a) and returns information about the file such as: number of millisec..... More

Print this item

  Homework Assignment Help
Posted by: pinku018 - Jun-08-2018, 11:00 AM - Forum: Homework - Replies (3)

[python]

def main() :
xx = int(input("Person's Age?"))
if xx > 65:
print('Senior, Rate: 2.0')
elif xx <=65 && xx >18:
..... More

Print this item

  SOAP/XML input Help
Posted by: duguarun - Jun-08-2018, 10:20 AM - Forum: General Coding Help - No Replies

Hi,

I've server which will accept only SOAP/XML requests. I want my client to send a XML request to access the server. But im unable to send the S..... More

Print this item

  Troubles with numpy
Posted by: sylas - Jun-08-2018, 08:15 AM - Forum: Data Science - Replies (21)

Hi all ! I installed twice numpy. Last time with "pip install --upgrade numpy". It installed numpy-1.14.4. But when I use it, it says it cannot handle..... More

Print this item

  How to scrape only unique values and save it into database
Posted by: Prince_Bhatia - Jun-08-2018, 06:59 AM - Forum: Web Scraping & Web Development - No Replies

Hi,


I am scraping a website using beautifulsoup, requests and sqlite3. Right now i am scraping website and saving it's data into database. But no..... More

Print this item

  telnetlib timeout expections handling issue
Posted by: anna - Jun-08-2018, 06:28 AM - Forum: Networking - No Replies

Hi There,

[python]import threading
import telnetlib
import datetime
import re
import time
start = time.time()
username = "test" # the usernam..... More

Print this item

  AttributeError: module 'csv' has no attribute 'reader'
Posted by: python1234 - Jun-08-2018, 05:17 AM - Forum: General Coding Help - Replies (2)

Hi All,

I am using below code to read the data from csv file , getting error.

AttributeError: module 'csv' has no attribute 'reader'[/b]..... More

Print this item

  Homework Assignment Help
Posted by: sphedicl - Jun-08-2018, 03:29 AM - Forum: Homework - Replies (3)

This is the assignment description:

I really haven't received any instructions other than "go online and figure it out yourself"
I think I kind of un..... More

Print this item

  PLS IMMEDIATELY HELP
Posted by: LOL12777 - Jun-08-2018, 01:00 AM - Forum: Homework - Replies (4)

I am sorry that I had used all cap for this, however, this is an emergency situation. Can someone pls help me debug the following code for this game?..... More

Print this item

  How to make .exe file
Posted by: jdrp - Jun-07-2018, 10:33 PM - Forum: Data Science - Replies (7)

Is there any way I can make a .exe file from a .py script so I can run it on other computers without having to install python?
I'm using Python 3.6 a..... More

Print this item

  scraping multiple pages of a website.
Posted by: Blue Dog - Jun-07-2018, 10:07 PM - Forum: Web Scraping & Web Development - Replies (14)

Hello All,

I have a website that as 26 pages, that star with 'a' and end with a 'z'.
this is y\the url of the site https://www.usa.gov/federal-age..... More

Print this item

  yes-no RE pattern swap
Posted by: bluefrog - Jun-07-2018, 10:00 PM - Forum: General Coding Help - Replies (1)

Hi

I'm trying to match the literal strings XX-11 or 11-XX using a Regular Expression in Python 3.6.5.
I thought that the yes/no pattern notation m..... More

Print this item

  unicode within a RE grouping
Posted by: bluefrog - Jun-07-2018, 08:51 PM - Forum: Homework - Replies (2)

Hi

I'm getting an error for the following:
[python]import re
pattern = re.compile(r"(?u)\w+")
list = pattern.findall(ur"ñ")
print(list)[/python..... More

Print this item

  Python Informix connection
Posted by: BLT - Jun-07-2018, 08:19 PM - Forum: General Coding Help - Replies (1)

Hi!

I am trying to connect to informix database from linux with python 3.
DRDA port is not enabled on database and that is not going to change (ad..... More

Print this item

  help
Posted by: cdavilmar - Jun-07-2018, 07:58 PM - Forum: Homework - Replies (8)

Please someone help me with this:
initialize total variable which will sum integer values entered

initialize items variable which will build a str..... More

Print this item

  Many errors
Posted by: tjnichols - Jun-07-2018, 06:43 PM - Forum: Web Scraping & Web Development - Replies (9)

Lars60+ crafted the first version of this. When I run his version, it runs fine. I don't know what I did to mess mine up. I didn't change much but I'v..... More

Print this item

  Saving
Posted by: Panda - Jun-07-2018, 06:36 PM - Forum: General Coding Help - Replies (15)

Is there a way to create a saving mechanism inside a python file?

Print this item

  2nd order differential equations
Posted by: hoshos27 - Jun-07-2018, 06:26 PM - Forum: Homework - Replies (2)

I want to solve 2nd order differential equations without using scipy.integrate.odeint
so I need to know how scipy.integrate.odeint works or any othe..... More

Print this item

  Change on-screen text
Posted by: Panda - Jun-07-2018, 06:11 PM - Forum: General Coding Help - Replies (5)

Is there a way to make already-printed text change without using \n a million times?

Print this item

  Using Python to read and analyze flow cytometry data files
Posted by: dtm04547 - Jun-07-2018, 04:58 PM - Forum: News and Discussions - Replies (3)


Has anyone ever used Python to read and analyze flow cytometry data files? If so, would you be willing to share the program or sc..... More

Print this item

  Update Gtk.Label in for-loop
Posted by: TimeMen - Jun-07-2018, 04:29 PM - Forum: GUI - Replies (3)

How can I update a Gtk.Label in a foor loop?
It's not updating via .set_text("bbb").
Is there any trick to do this?

Greetings
TimeMen

Print this item

  Text wont draw
Posted by: fierygaming - Jun-07-2018, 04:23 PM - Forum: Game Development - Replies (1)

Hey guys so im working on this mini game and in def Mknight(): the text wont draw I dont get any errors and if I put a txt.draw(p1) it gives me an err..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 11 hours ago Lou noisefloor General Codin...
  Python compiler 11 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 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...
Most views
  The best Prog... 579514
  Tutorial Requ... 512998
  Web Scraping ... 442378
  Newbie with P... 386405
  New Users Int... 381794
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 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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