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,941
» Latest member: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

Online Users
There are currently 67 online users.
» 1 Member(s) | 58 Guest(s)
Bing, Google, AOL, Facebook, AOL, CaptainNewb

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 9
» Views: 488
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
Yesterday, 08:55 AM
» Replies: 1
» Views: 338
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,701
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,039
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,395
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,946
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,714
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,789
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,932
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,490

 
  Extract numbers from string
Posted by: ian - Apr-28-2018, 03:42 AM - Forum: General Coding Help - Replies (1)

I need to find way to extract numbers from a string but the following not quick right. I need to get [98.15, 0.97, 1.00, 118506]

[python]
import r..... More

Print this item

  need 2x elements in list comprehension
Posted by: Skaperen - Apr-28-2018, 01:02 AM - Forum: General Coding Help - Replies (7)

i'm build a set of options for a command in a list. i have a list of directories to exclude. i have wanted to do this kind of thing many times befor..... More

Print this item

  Simple script writted by a dumb dude, myself
Posted by: mm14ag - Apr-27-2018, 11:49 PM - Forum: General Coding Help - Replies (2)

Good night, guys! I really need your help.
This is the code:

[python]
def abreArquivo():
while True:
try:
nome = raw_i..... More

Print this item

  Python Beginner Help
Posted by: Boredman - Apr-27-2018, 11:43 PM - Forum: Homework - Replies (1)

Hello! I'm currently taking a programming class for Python and Flowgorithm, but I'm having a hard time of grasping the concepts the professor is givin..... More

Print this item

  Installing pyperclip module
Posted by: Truman - Apr-27-2018, 10:22 PM - Forum: General Coding Help - Replies (5)

Hi, not sure that this is the right subforum to ask but it's also not a coding problem so will put it here.
I installed pyperclip module in my comman..... More

Print this item

  project model railroad python
Posted by: grinkle - Apr-27-2018, 09:57 PM - Forum: General Coding Help - No Replies

I would realy like some help with a project
I have asked for help in a couple of places
I think it might be better to outline the whole project

W..... More

Print this item

  Typing into CMD Prompt while its behind another window
Posted by: andy410 - Apr-27-2018, 08:24 PM - Forum: General Coding Help - No Replies

I made a Auto Hotkey script to type into a command prompt while the command prompt window was in the back and not selected. With one button it would ..... More

Print this item

  Select specific zone in .txt file
Posted by: Scientifix - Apr-27-2018, 06:30 PM - Forum: General Coding Help - Replies (8)

Hello everyone !!

I have a very large number of .txt files that all have the same structure (only numerical values are different) and are all in th..... More

Print this item

  If/Else Statement Help!
Posted by: Dizzy215 - Apr-27-2018, 06:10 PM - Forum: General Coding Help - Replies (1)

Hello
I am teaching myself python so sorry for the silly question. I wrote something very simple. If Joe calls, say "Hi Joe." If someone else calls s..... More

Print this item

  html to text problem
Posted by: Kyle - Apr-27-2018, 05:15 PM - Forum: Web Scraping & Web Development - Replies (4)

I am very new to python and this forum. I apologize for any newbie mistakes.

I am trying to convert html to text. When I do this, it is moving eve..... More

Print this item

  Python Books
Posted by: SZaretsky - Apr-27-2018, 04:59 PM - Forum: News and Discussions - Replies (3)

Just starting in the world of Python. I've taught programming for over 30 years but next year will be teaching a course focussing on Python for the fi..... More

Print this item

  How to update trainSet on each iteration
Posted by: Raj - Apr-27-2018, 03:25 PM - Forum: Data Science - Replies (6)

Hi,
I am using random forest method to predict some response variable. My train test is 70% of input data and test data is 30%. But for prediction of..... More


Attached Files

.xlsx   RandomForestInput.xlsx (Size: 9.07 KB / Downloads: 24)
Print this item

  DF is not defined
Posted by: JoshhPaynee - Apr-27-2018, 01:00 PM - Forum: Homework - Replies (1)

I wrote this code for some uni work, was all working fine then when i logged in this morning to try it again i get "DF is not defined" Can anyone see ..... More

Print this item

  Show image in qtablewidget
Posted by: lugdanum - Apr-27-2018, 11:30 AM - Forum: Web Scraping & Web Development - No Replies

Bonjour tout le monde

Je n'arrive pas à afficher des images dans la table avec ce code :

[python]
#!/usr/bin/python
# -*- coding: utf-8 -*-
..... More

Print this item

  Python to Excel date to number fix | performance issues
Posted by: Prashant - Apr-27-2018, 11:18 AM - Forum: General Coding Help - Replies (1)

I've to export the database table to Excel (xlsx) format.

I came to know that Python is very fast in file processing.

I've installed python 3.6...... More

Print this item

  SSLv3 connection with ssl librairie in Python
Posted by: madem - Apr-27-2018, 09:45 AM - Forum: Homework - Replies (3)

Hello, I want to make a programm (Python 2.7) which detect the ssl/tls version which are available on a website. And I just want to use standard Pytho..... More

Print this item

  Help in writing a basic function
Posted by: meru120 - Apr-27-2018, 08:51 AM - Forum: General Coding Help - Replies (1)

:I'm learning to write python code with a book, In the chapter about functions there is the following function example
[python]def seven_eleven():
..... More

Print this item

  wx.html2.WebView Methods
Posted by: ian - Apr-27-2018, 03:50 AM - Forum: GUI - Replies (4)

I am looking for sample codes for the following wx.html2.WebView methods to copy selection into a variable. Is there any? Thanks.

wx.html2.WebView ..... More

Print this item

  Why is it wrong? Ask for help!
Posted by: lvlinux - Apr-27-2018, 03:39 AM - Forum: General Coding Help - Replies (2)

[python]
import csv

filename='sitka_weather_07-2014.csv'#The file is not wrong
with open(filename) as file:
reader=csv.reader(file)
header_ro..... More

Print this item

  python Render template
Posted by: Akhou - Apr-26-2018, 09:57 PM - Forum: General Coding Help - Replies (2)

Hello,
I've created a template using python, but now I need to generate a .qml file from it, I wanted to work with rendered template but I coudn't go ..... More

Print this item

  GUI for speedtest-cli
Posted by: Axel_Erfurt - Apr-26-2018, 09:51 PM - Forum: Code sharing - Replies (2)

GUI for speedtest-cli

saved in list.

[img]https://dl.dropbox.com/s/lvw47ifxhku1n9z/sptest.png[..... More

Print this item

  help! if statement not working
Posted by: molliemae - Apr-26-2018, 09:50 PM - Forum: Homework - Replies (2)

so i need to write a code that will do the following
#ask for name
#ask for health score
#ask for grade
#ask for economic output
#if the grade ..... More

Print this item

  How to use list (structure) in the SQL Select command?
Posted by: pyuser1 - Apr-26-2018, 08:56 PM - Forum: General Coding Help - Replies (2)

Hello,

I have created a list of fields in the database. For example,

varlist = ['id','grade','age','fname','lname','projTitle'] 
..... More

Print this item

  Mysterious syntax errors... help?
Posted by: friendlymegalomaniac - Apr-26-2018, 08:09 PM - Forum: General Coding Help - Replies (3)

Trying to code, but keep on getting syntax errors. It says 'answer =' and 'return output
are improper. I am using python 3

[python]def exponentia..... More

Print this item

  Function changes variable value to None
Posted by: jdrp - Apr-26-2018, 08:01 PM - Forum: Game Development - Replies (4)

I'm trying to code a Tic Tac Toe game but this function
[python]def updateSymbols(keys, cursorPos, turn):
if keys[K_SPACE] and list_[cursorPos]..... More

Print this item

  string.template
Posted by: Akhou - Apr-26-2018, 07:25 PM - Forum: General Coding Help - Replies (5)

Hello,

Is it possible to generate a .qml file using string.template?

Thank u ^^

Print this item

  Read an array of structures from a c file using python
Posted by: Alisha - Apr-26-2018, 05:42 PM - Forum: General Coding Help - Replies (1)

How to identify a structure from a c file and extract the contents of the structure and store it as a string?

Print this item

  ldap3 question, using a variable in search string
Posted by: gentoobob - Apr-26-2018, 05:06 PM - Forum: General Coding Help - Replies (1)

I'm trying to figure out how to put in a variable in my search string for ldap3. I want to create a loop that goes through a list of usernames and do..... More

Print this item

  Project programming advice
Posted by: aurora10 - Apr-26-2018, 04:24 PM - Forum: General Coding Help - Replies (1)

I am a noob trying to learn Python and I have found a case I think I could use for that.

I have a bunch of Alcatel switches to which I can do SSH c..... More

Print this item

  How do you switch all alphabet into different characters?
Posted by: SteampunkMaverick12 - Apr-26-2018, 04:10 PM - Forum: General Coding Help - Replies (1)

I want to switch multiple characters into other characters e.g
m--->n
lo--->om

no never-->mo mever
hello-->helom

i.e .replace() but for multi..... More

Print this item

  How to do in Python
Posted by: oldcity - Apr-26-2018, 03:20 PM - Forum: Data Science - Replies (6)

Using Python version 2.7.12 on Linux Mint 18.2. Will be upgrading os next week.
My background is that of various forms of basic and some perl. I hav..... More

Print this item

  The supplied user buffer is not valid for the requested operation.
Posted by: py2exe - Apr-26-2018, 12:48 PM - Forum: General Coding Help - Replies (1)

when I RUN THIS code on win7:



[python]import serial
import scanwin32

def get_available_coms():
avail = []
for order, port, desc, ..... More

Print this item

  Searching for a good programer to help with a project
Posted by: ashertehll6831 - Apr-26-2018, 12:07 PM - Forum: Jobs - Replies (1)

I have an idea for a simple inventory tracking project. I need a good programmer to help me write the code. I will be using a raspberry pi with a 3.5"..... More

Print this item

  Create custom Enumerations
Posted by: killerrex - Apr-26-2018, 12:03 PM - Forum: General Coding Help - Replies (2)

Hi,

I use the Enum class to have a nicer code when I need to deal with old fortran programs that expect just a number in their inputs. Otherwise my..... More

Print this item

  libPython2.7.dll environment issue
Posted by: allamsudhakar - Apr-26-2018, 12:02 PM - Forum: General Coding Help - Replies (1)

Hi, I am new to Python world. I was trying to use a open source Windows application that
uses Python. When I am trying to start the server, I get the..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 3 hours ago Anunderling deanhystad General Codin...
  A coding beginner needs h... Yesterday, 08:55 Littlefish paul18fr General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576647
  Tutorial Requ... 498726
  Web Scraping ... 440488
  Newbie with P... 384412
  New Users Int... 367809
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
pllrdvalery Yesterday
Littlefish Yesterday
Noya_Yonatan 09-21
Saipython555 09-21
Anunderling 09-21

User Panel Messages

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