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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,832

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 32 Guest(s)
Google, Bing

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 7
» Views: 116
New to python and coding
Forum: Homework
Last Post: jefsummers
7 hours ago
» Replies: 6
» Views: 175
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
8 hours ago
» Replies: 0
» Views: 42
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 349
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 111
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 240
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 379
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 147
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,641
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 246

 
  find a character in a string in python3
Posted by: tony1812 - Sep-26-2017, 10:31 PM - Forum: General Coding Help - Replies (6)

Hello, how do I find a specific character in a string? for example, str="Hello world"
I need it to ba able to return the character "w", not just its ..... More

Print this item

  get last row id in pymysql
Posted by: tony1812 - Sep-26-2017, 10:04 PM - Forum: General Coding Help - Replies (1)

Hello, I am pretty new to python
I am wondering is this is the correct syntax to get the last row id in a my=sql mysql table?
[python]
cur=conn.cur..... More

Print this item

  How to merge different columns of date into a single column
Posted by: sujai_banerji - Sep-26-2017, 07:11 PM - Forum: General Coding Help - Replies (1)

I have a .csv file that has the following headings: Date, Month and Year. I want to combine the three columns to a single column with the heading Date..... More

Print this item

  Accessing nested dictionary values. Plistlib, Python 2.7
Posted by: williamlombard - Sep-26-2017, 04:13 PM - Forum: General Coding Help - Replies (32)

Hi Guys.

I am try to adapt a piece of code I found on Github to help m..... More

Print this item

  Python with Geany
Posted by: mehenaveen - Sep-26-2017, 01:49 PM - Forum: General Coding Help - Replies (4)

Hello,
I am new to programming and particularly to Python and Geany. I am getting the error... 'Python3' is not recognized as an internal or external..... More

Print this item

  hacking reloaded ebooks (Humble Bundles)
Posted by: metulburr - Sep-26-2017, 11:39 AM - Forum: News and Discussions - No Replies

https://www.humblebundle.com/books/hacki...s_Announce

Print this item

  Suds client response error
Posted by: rajesh - Sep-26-2017, 10:30 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi

We are using python suds client to connect to our internal web service. This works pretty well, but occasionally we get the following error whic..... More

Print this item

  Overriding tkinter button methods
Posted by: Lubik_ - Sep-26-2017, 09:18 AM - Forum: GUI - Replies (3)

Hi,
I need to create new class NButton(tkinter.Button) in witch I want to override constructor and event onclick.
I want make some extra action in o..... More

Print this item

  Memory Error
Posted by: rajeev1729 - Sep-26-2017, 08:29 AM - Forum: Data Science - Replies (1)

[python]# Load Libraries
import numpy as np
import pandas as pd
from nltk.corpus import stopwords
from nltk.stem import PorterStemmer
from sklear..... More

Print this item

  Substrings
Posted by: OmarSinno - Sep-26-2017, 07:43 AM - Forum: Homework - Replies (4)

The task is to find a the first string as a substring in the other string.
For example, let's say we have:
string 1 = 'bob'
string 2 = 'bobsbugsbegone..... More

Print this item

  Turtle Problem
Posted by: OmarSinno - Sep-26-2017, 07:31 AM - Forum: General Coding Help - Replies (2)

I'm drawing a polygon in which every side of that polygon should get a random color, that means that for every side the turtle should get a different ..... More

Print this item

  pymysql question
Posted by: tony1812 - Sep-26-2017, 12:24 AM - Forum: General Coding Help - Replies (1)

Hello, I am totally new to python.
I am learning to use pymysql to retrive daa from mysql, I have this code:
[python]
#!/usr/bin/python3

import ..... More

Print this item

  decimal or hexadecimal digits to int
Posted by: Skaperen - Sep-25-2017, 11:35 PM - Forum: General Coding Help - Replies (3)

i want to convert a string of digits to an int like int() does.  the digits will be decimal by default except if prefixed by '0x' or '0X' then they ar..... More

Print this item

  How to configure Videogrep and PlayPhrase on my Windows 7 x64?
Posted by: miguel - Sep-25-2017, 10:38 PM - Forum: Bar - Replies (4)

Hello, someone who knows and helps me to configure can tell me how to do step by step

Well what this program does is look for the context of a conv..... More

Print this item

  NameError: name is not defined
Posted by: SnekLover123 - Sep-25-2017, 07:58 PM - Forum: General Coding Help - Replies (8)

I'm really new to python. Can someone help me figure out what's wrong with my crappy game? It says NameError: name 'DSC' is not defined on line 55 in ..... More

Print this item

  web scraping with python regular expression
Posted by: dbpython2017 - Sep-25-2017, 06:58 PM - Forum: Web Scraping & Web Development - Replies (6)

Given a website, I want to use python regular expression to get the data out from the web page.
Although I can use other packages, my requirement is ..... More

Print this item

  Area of a triangle
Posted by: OmarSinno - Sep-25-2017, 06:45 PM - Forum: General Coding Help - Replies (8)

First of all I need to verify if I can draw a triangle, is_valid(s1,s2,s3): is giving correct answers.
Then, I have to find the area of the triangle,..... More

Print this item

  replace vowels
Posted by: niru - Sep-25-2017, 06:06 PM - Forum: General Coding Help - Replies (9)

hello, i have a list with some names, and i have to replace wovels by " - "
here is what i tried:



[python]list1 = ['john', 'tony', 'luck]


def rep..... More

Print this item

  [3D Software Programming] What are the best modules for ?
Posted by: JamieVanCadsand - Sep-25-2017, 05:33 PM - Forum: News and Discussions - Replies (2)

Hey Software Programmers...

I want to learn python use to program 3d software for virtual reality,
3d-printing, sciensific enginering and photo-re..... More

Print this item

  Connection to MS SQL Database not working
Posted by: mruprai - Sep-25-2017, 03:50 PM - Forum: General Coding Help - Replies (1)

I am new to python (ex VBA programmer). I get the error message when trying to connect

[MICROSOFT ODBC DRIVER] Data source name not found and no de..... More

Print this item

  Re Python Function
Posted by: Yash99 - Sep-25-2017, 03:27 PM - Forum: Homework - Replies (5)

Hey I have a question that what function do I need to use to run the python script without specifying path name, but by giving only python 'filename'(..... More

Print this item

  Twin Primes Recursion Limit
Posted by: djkraft - Sep-25-2017, 02:56 PM - Forum: Homework - Replies (4)

I'm working on this same problem too and ran into an error trying to get the twin prime numbers to work. I get a recursion error when checking the pri..... More

Print this item

  Retrieve OptionMenu selection?
Posted by: JP_ROMANO - Sep-25-2017, 02:36 PM - Forum: GUI - Replies (5)

Hello - finally making some real progress on my first python script (using Tkinter to create a UI) and after a many, many months of hating on it, I th..... More

Print this item

  MySQLdb and SSL
Posted by: dominic - Sep-25-2017, 12:05 PM - Forum: Networking - No Replies

Hi all,

I've tried endlessly to make Python set up an SSL connection to an SQL server.
The Python script only initiates a regular unencrypted TCP/..... More

Print this item

  Introductions forum?
Posted by: Saka - Sep-25-2017, 11:16 AM - Forum: Board - Replies (1)

Usually forums have a little place where users introduce themselves... Is there one here? Sorry if this is a dumb question, I'm a newbie on this forum..... More

Print this item

  how to use *args
Posted by: haye - Sep-25-2017, 10:44 AM - Forum: General Coding Help - Replies (7)

Hi, I got some lists, i would like to "bring together" 2 , 3 ,or 4 lists and make only one list from them ,i have to use *args(its an exo)

Here is ..... More

Print this item

  SyntaxError: unexpected character after line continuation character
Posted by: Saka - Sep-25-2017, 10:44 AM - Forum: General Coding Help - Replies (2)

Hello all, and I'm a new member here Big Grin .
I made a esoteric version of Python for fun, but I'm having some problems when running multiline ..... More

Print this item

  What is the reason for this difference between lists and tuples?
Posted by: Athenaeum - Sep-25-2017, 08:25 AM - Forum: General Coding Help - Replies (3)

I am a Python beginner, and recently I discovered a key difference between lists and tuples.

If I write something like:

[python]list1 = list1.ap..... More

Print this item

  Rewriting HTTP Server from Arduino
Posted by: codingKnight - Sep-25-2017, 07:55 AM - Forum: Web Scraping & Web Development - Replies (1)

Good day everyone,

I'm trying to rewrite some existing Arduino code to python. Basically the arduino just receives an http post request then parses t..... More

Print this item

  Just a trial. For learning code tags
Posted by: sylas - Sep-25-2017, 05:51 AM - Forum: Board - Replies (3)

BBBBBBBBBBBBBBBB   vvvvvvvvvvvvvvv   kkkkkkkkkkkkkkkkkkk   pppppppppppppppppppp

Print this item

  error when running code
Posted by: kiki1113 - Sep-25-2017, 02:03 AM - Forum: Homework - Replies (6)

Homework help - python newbie. I'm trying to run the following code:

[python]def user_input():
order_amount = float(input('What is the order ..... More

Print this item

  Help with conditional statement
Posted by: SnekLover123 - Sep-25-2017, 01:49 AM - Forum: General Coding Help - Replies (2)

My friend and I are creating a terrible game, and for picking the biome, it acts like I chose 1 no matter what I choose. What am I doing wrong?

imp..... More

Print this item

  which is "better"?
Posted by: Skaperen - Sep-25-2017, 12:41 AM - Forum: General Coding Help - Replies (6)

any reason to believe one way is "better" than the other, for any definition of "better"?[python]    ...
    pair = ('foo','bar') # or it could be a ..... More

Print this item

  Anaconda - Docstring
Posted by: sobrio1 - Sep-24-2017, 06:15 PM - Forum: Data Science - No Replies

I'm using the pandas_datareader module with the get_data_yahoo function on the Anaconda Cloud. With respect to data, the function works perfectly, but..... More

Print this item

  No Script Folder in Python 3.6.2 Download
Posted by: jriemer - Sep-24-2017, 06:13 PM - Forum: Data Science - Replies (6)

I downloaded Python 3.6.2 on my iMac and PC. I attempted to use the pip install ..... to download NumPy, Matplotlib, etc. and it doesn't work. I not..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 1 hour ago paul18fr Pedroski55 General Codin...
  New to python and coding 7 hours ago lary_p jefsummers Homework
  Please guide me to comple... 8 hours ago pbkurd pbkurd General Codin...
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578935
  Tutorial Requ... 510261
  Web Scraping ... 441959
  Newbie with P... 385973
  New Users Int... 376872
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday
Jessicaadams Yesterday

User Panel Messages

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