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,411
» Latest member: JefferybuG
» Forum threads: 38,827
» Forum posts: 176,045

Full Statistics

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

Latest Threads
Possible bug found, pleas...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 45
a function to watch files
Forum: News and Discussions
Last Post: JassicaElla60
3 hours ago
» Replies: 3
» Views: 457
Code failing to ask input...
Forum: Homework
Last Post: Pedroski55
Yesterday, 11:18 PM
» Replies: 1
» Views: 312
Data Science
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 10:20 AM
» Replies: 4
» Views: 3,337
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,570
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Jan-02-2026, 12:31 PM
» Replies: 8
» Views: 3,926
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 459
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 416
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,230
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 263

 
  Strings inside other strings - substrings
Posted by: OmarSinno - Oct-05-2017, 06:08 PM - Forum: Homework - Replies (2)

I have to write a function that takes a string argument str, returns the longest substring of str in which the
letters occur in alphabetical order. F..... More

Print this item

  TypeError: unsupported operand type(s) for -: 'int' and 'instancemethod'
Posted by: SnekLover123 - Oct-05-2017, 05:20 PM - Forum: Game Development - Replies (5)

I'm trying to program a snake that's controlled by WASD keys and has collision detection. I also want it to turn in the direction it's moving. If you ..... More

Print this item

  "ImportError: No module named _ssl"
Posted by: click1234 - Oct-05-2017, 05:18 PM - Forum: Networking - Replies (3)

I have Python 2.7.14..
I want to run a python script .py but then:

"ImportError: No module named _ssl"

What can I do to fix it?

[img]http://..... More

Print this item

  Dictionary using variables as a keys
Posted by: andresgt - Oct-05-2017, 04:07 PM - Forum: General Coding Help - Replies (4)

Im trying to create a dicctionary using two lists (one as a key and the other one as a value) like this:

list1 = ['A4', 'A9', 'A2'] # keys
list2 =..... More

Print this item

  Cannot read from text file
Posted by: aljonesy - Oct-05-2017, 03:38 PM - Forum: Homework - Replies (5)

So I am new to coding and have been instructed to create a program that stores information in a database and can retrieve it at the users command. How..... More

Print this item

  HI I am new and I need help..
Posted by: Jabriol - Oct-05-2017, 03:36 PM - Forum: Homework - Replies (2)

Ihave to write a program that requests the price and weight of an item in pounds and ounces and then determines the price per ounce. This is going to ..... More

Print this item

  Telegram code help
Posted by: AaronJonk - Oct-05-2017, 02:44 PM - Forum: General Coding Help - No Replies

I am working on a Telegram bot, where people can invest in my bitcoin trading program. Well, I don't really know what I did wrong at the /invest comma..... More

Print this item

  Help fix Regular expression
Posted by: steve1040 - Oct-05-2017, 02:41 PM - Forum: General Coding Help - Replies (2)

I'm attempting to extract the 2 digit value that may appear on either side of the term 'm_m_s_e'

I tested the following expression on regex101.com ..... More

Print this item

  for loop
Posted by: kekulpac - Oct-05-2017, 11:36 AM - Forum: Homework - Replies (4)

As part of a quiz in Python, we were asked to create a for loop that would then print all elements of the string that begin with or end with the lette..... More

Print this item

  CryptoCurrency Mining Auto Switch
Posted by: papampi - Oct-05-2017, 11:09 AM - Forum: General Coding Help - Replies (5)

Hi Guys
I'm very new to python and need help
I forked this from another project and need your expert help to optimize it.
Scripts works on nvOC mining..... More

Print this item

  suddenly '\b' become 'x08'
Posted by: dwiga - Oct-05-2017, 06:44 AM - Forum: Homework - Replies (11)

Hi,
I have a code like this :

a = 'D:\\AvosLab\\digital_scale\\base\\data.db'
print(a)
[output]
'D:\\AvosLab\\digital_sc..... More

Print this item

  extract specific content in a pandas dataframe with a regex?
Posted by: steve1040 - Oct-05-2017, 03:17 AM - Forum: Data Science - No Replies

I'm trying to extract a few words from a large Text field and place result in a new column.
After creating the new column, I'll then run another expr..... More

Print this item

  set up the timer when I don't press on keyboard buttons
Posted by: chris0147 - Oct-04-2017, 11:32 PM - Forum: General Coding Help - Replies (3)

Hi yall,
I'm having difficulties with the python timer and I would greatly appreciate for some advice. 

I am working on keyboard control to disabl..... More

Print this item

  Free Game -- Learn networking while playing
Posted by: Larz60+ - Oct-04-2017, 10:31 PM - Forum: Bar - Replies (5)

I haven't loaded this up yet, but ran across it while looking for something else.
It looks like fun, so thought I'd share.
It's called mind share, a..... More

Print this item

  Help!! Help! python fake bank system
Posted by: jamshaid1997 - Oct-04-2017, 07:11 PM - Forum: Homework - Replies (3)

Hi I am trying to create a fake python bank system. The program needs to be able to deposit, withdraw and check the balance. However when i run the co..... More

Print this item

  merge files
Posted by: AGC - Oct-04-2017, 07:09 PM - Forum: General Coding Help - Replies (4)

I have several files were column A is a tagname made of letters and numbers (e.g. Rob_0001,...) and column B is a value for column A (e.g. Rob_0001 \t..... More

Print this item

  Problem to use pip behind cntlm / corporate proxy
Posted by: markus7811 - Oct-04-2017, 06:34 PM - Forum: General Coding Help - Replies (3)

Hi,

my problem isn't related to code itself, but to pip. I have to use several pip packages, but have the problem, i can not install them. The foll..... More

Print this item

  Can't locate plots package
Posted by: BobLoblaw - Oct-04-2017, 04:36 PM - Forum: General Coding Help - Replies (12)

I am trying to run some legacy code that was created last year by a teammate, and that includes the following initial line:

[python]from plots impo..... More

Print this item

  New to Python
Posted by: sairam132033 - Oct-04-2017, 04:25 PM - Forum: General Coding Help - Replies (4)

Hello,

I want to learn Python to analyze large sets of xml files (Xpath queries). Which version of Python I should use?

Thanks
Sairam

Print this item

  View function mapping is overwriting an existing endpoint function: index
Posted by: rarevesselt - Oct-04-2017, 02:13 PM - Forum: General Coding Help - Replies (12)

please give a runnable sample of your code with the full error text or a clear description of the problem
This is the error am having:
Traceback (mo..... More

Print this item

  How Can I Install and Use This Module?
Posted by: reggiearthur - Oct-04-2017, 12:49 PM - Forum: General Coding Help - Replies (5)

hiya. so pretty much i'm interested in using this module named "RenderMan" from github for a project, but i'm not sure how to install it into python? ..... More

Print this item

  Unable to print data while looping through list in csv for webscraping - Python
Posted by: Prince_Bhatia - Oct-04-2017, 10:25 AM - Forum: Web Scraping & Web Development - Replies (1)

I have a CSV file which has list of url that needed to be scraped. Website i am scraping is http://www.rera-rajasthan.in/ProjectSearch which is real e..... More


Attached Files

.csv   RajLinks.csv (Size: 9.17 KB / Downloads: 911)
Print this item

  How to inspect the code of __exit__ method used with 'with' statement?
Posted by: sonicblind - Oct-04-2017, 08:25 AM - Forum: General Coding Help - Replies (3)

Hi,

I am new to Python.
I somehow understand the concept about context managers with __enter__ / __exit__ methods, which I can use with 'with' sta..... More

Print this item

  How to interpret Sympy inverse_fourier_transform response
Posted by: ken72 - Oct-04-2017, 04:35 AM - Forum: Homework - Replies (3)

I'm just starting to use Sympy for fourier transforms and am having difficulty interpreting the result. For example, I know the inverse transform of ..... More

Print this item

  IF statement Issues
Posted by: Kongurinn - Oct-04-2017, 02:02 AM - Forum: Homework - Replies (7)

#hey everyone I am a new student in Python. Below is some code working on IF statements. Please
#refer to the comment question in the middle of the p..... More

Print this item

  Cannot connect to CE path
Posted by: maolvera - Oct-03-2017, 11:34 PM - Forum: General Coding Help - Replies (1)

Hi,
I've been trying to install Twister testing for a while now, and I get getting this error: *ERROR* Cannot connect to CE path 127.0.0.1:8010! Ex..... More

Print this item

  where to start with power program?
Posted by: nomoremrriceguy - Oct-03-2017, 11:20 PM - Forum: Homework - Replies (10)

I have to write a program for my CS class and I have to make a program that will calculate the number to the x power all the way up to 8.

for inst..... More

Print this item

  Clock freezes - wx.python glib problem
Posted by: strongheart - Oct-03-2017, 10:21 PM - Forum: GUI - Replies (3)

new to python and wx, I wrote a simple clock program.
It works well for a while but eventually the graphics freeze.
Internally it still runs, but th..... More

Print this item

  Grade System Help
Posted by: jamisontboyd - Oct-03-2017, 10:16 PM - Forum: General Coding Help - Replies (3)

Hello, fellow Python programmers!

I'm new to Python and programming, as I'm a freshmen in College rn. In my ..... More

Print this item

  Could not install PIP on Shell
Posted by: allwell - Oct-03-2017, 08:18 PM - Forum: Web Scraping & Web Development - Replies (10)

Hello,
I have downloaded/installed Python 3.4.3. set path to proper directory from window's command prompt. I have verified pip in the directory. Fro..... More

Print this item

  Loops, min and max
Posted by: luca_antonini - Oct-03-2017, 07:44 PM - Forum: Homework - Replies (6)

Hello,

I'm new here in this forum. I'm new in programming too, and, as you can imagine, I'm to find a solution to a problem (or, better, some hint,..... More

Print this item

  Data saving help
Posted by: zedwardson - Oct-03-2017, 06:20 PM - Forum: General Coding Help - Replies (5)

okay all, first post!

I started learning python (2.7) as a hobby. Was a CS minor 10 years ago but not touched coding since, and now I have a genera..... More

Print this item

  Simple python script for pir motion sensor
Posted by: Kimzer - Oct-03-2017, 05:36 PM - Forum: General Coding Help - No Replies

Hey guys, first post here so be gentle.

I managed to throw together this bit below by looking at other pir sensor scripts to control a set of hue str..... More

Print this item

  reach the elements in the list
Posted by: ptah - Oct-03-2017, 03:32 PM - Forum: Homework - Replies (7)

Greetings .. I just started learning phyton. but I did not solve a problem .. I created a new list .. this list is contains numbers .. How can I manip..... More

Print this item

  [pyGame] More Text in one Window, example needed !
Posted by: JamieVanCadsand - Oct-03-2017, 03:24 PM - Forum: Game Development - Replies (1)

Hey Game Developers...

I try to create more tekst fonts in one game window, in one script...
But it don't works...

This is my script:
[..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Possible bug found, pleas... 2 hours ago Hassher noisefloor General Codin...
  a function to watch files 3 hours ago Skaperen JassicaElla60 News and Disc...
  Code failing to ask input... Yesterday, 23:18 Phoenix_Narukami Pedroski55 Homework
  Data Science Yesterday, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 01-02, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
Most views
  The best Prog... 580579
  Tutorial Requ... 520840
  Web Scraping ... 442846
  New Users Int... 387245
  Newbie with P... 387058
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JefferybuG Today
keydynamicssolutions Today
Hassher Today
haleylitlez2941 Today
anthonymaaleyoz2192 Yesterday

User Panel Messages

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