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,834

Full Statistics

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

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: paul18fr
48 minutes ago
» Replies: 8
» Views: 144
Please guide me to comple...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 1
» Views: 68
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 183
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 353
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 115
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 242
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 387
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 149
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,643
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 250

 
  IndentationError when no problem with indentation
Posted by: BobLoblaw - Oct-07-2017, 05:17 PM - Forum: Data Science - Replies (10)

I have a legacy Python script that I'm attempting to get running; this code was functional at the time of development. However, when I attempt to run ..... More

Print this item

  "Widget Javascript not detected" error
Posted by: BobLoblaw - Oct-07-2017, 04:48 PM - Forum: General Coding Help - No Replies

I have a Python script that I'm attempting to run; it includes the use of a widget. The relevant code is:

[python]from my_widget import *

# {cod..... More

Print this item

  Python for Everybody 5.2 assignment
Posted by: baba04201 - Oct-07-2017, 03:58 PM - Forum: Homework - Replies (20)

Hey guys- I'm on my last assignment for Python and I need some expert assistance please.

This is the assignment:
5.2 Write a program that repeate..... More

Print this item

  Good Books to Learn Threading
Posted by: srosemond - Oct-07-2017, 02:56 PM - Forum: Bar - Replies (2)

Any good books about multi threading in general? I come from a background of Java/C#, and we never covered multi-threading in school all that much. As..... More

Print this item

  Chronometer/notifiactions/countdown program using notify2
Posted by: alexbartzos - Oct-07-2017, 01:21 PM - Forum: Code sharing - No Replies

Hello!

I just finished writing a program on a Debian amd64 laptop for Python3 and it seems fine.
Basically it is a program that notifies you when you..... More

Print this item

  Passowrd length again
Posted by: wavic - Oct-07-2017, 11:26 AM - Forum: Board - Replies (8)

Again, why is that restriction for 30 characters max password length?

Print this item

  define a main()
Posted by: Pedroski55 - Oct-07-2017, 08:59 AM - Forum: General Coding Help - Replies (1)

I managed, with help from this site and the book 'Automate the Boring Stuff', to write several little routines. To my utter amazement, they all now wo..... More

Print this item

  [Selenium] Xpath Drop Down Use Variable
Posted by: digitalmatic7 - Oct-07-2017, 06:31 AM - Forum: Web Scraping & Web Development - Replies (3)

I wanted to have a variable (random number between 1 and 12) used for my drop down option value..

So instead of value='05' it would be something lik..... More

Print this item

  Struggling To Work With Anti-Captcha API
Posted by: digitalmatic7 - Oct-07-2017, 06:19 AM - Forum: General Coding Help - Replies (1)

Hey guys, glad to be a member, I've been learning Python for the past few weeks and I'm a bit out of my depth.

I'm stuck trying to connect to [url=..... More

Print this item

  Installing packages through Anaconda?
Posted by: Athenaeum - Oct-07-2017, 04:36 AM - Forum: Data Science - Replies (5)

I have successfully installed the pandas package via Anaconda. At first, I was only able to use pandas when I opened Python via Anaconda. After play..... More

Print this item

  now you get to see what my old password was
Posted by: Skaperen - Oct-07-2017, 03:17 AM - Forum: Bar - Replies (4)

now you get to see what my old password was:

g7_DS+qCgy&@BV,B1?b5W/.&%,=k&W

and no, it is not used anywhere else.

Print this item

  Turtle and Random
Posted by: Juiceman - Oct-07-2017, 01:16 AM - Forum: Homework - Replies (2)

So it keeps erroring a the the second random (rnumber = random.randint(1,4) number i'm trying to generate. any ideas why?
[python]#Program that uses ..... More

Print this item

  What default directory does "open" function draw from?
Posted by: Athenaeum - Oct-06-2017, 10:23 PM - Forum: General Coding Help - Replies (4)

I experimented with using the "open" function to open text files, and in doing so I had to type out the file directory on my hard drive. However, in ..... More

Print this item

  Deeper explanation of the "for i" please
Posted by: mtndewlove - Oct-06-2017, 07:18 PM - Forum: General Coding Help - Replies (6)

for i in a:
if i < 5:
b.append(i)


MY questions is why does the "i" in the "for i in a" part of the code stand for the each of the i..... More

Print this item

  I am a total noob, I need this reworked
Posted by: edlentz - Oct-06-2017, 07:09 PM - Forum: Networking - Replies (4)

OK so I know enough about Python and that is that I don't know it. I normally install IP phones not program them. Anyuway, I have been looking all ove..... More

Print this item

  Problem installing urlparse4 package
Posted by: BobLoblaw - Oct-06-2017, 04:53 PM - Forum: General Coding Help - Replies (2)

I'm attempting to use legacy code created earlier this year that contains the line:

from urlparse import urljoin
However, when ..... More

Print this item

  managing modules/scripts dynamically
Posted by: hbknjr - Oct-06-2017, 04:38 PM - Forum: General Coding Help - Replies (2)

I have a collection of scripts and modules that I want to integrate into an application{CLI for now}. The application needs to be able to list all the..... More

Print this item

  voice assistant python based pyaudio error
Posted by: hardik - Oct-06-2017, 04:01 PM - Forum: General Coding Help - Replies (6)

https://drive.google.com/file/d/0B_vS8-m...sp=sharing
this my python code i gott error of pyaudio import but i import it give..... More

Print this item

  Number of characters in QLabel
Posted by: hzcodec - Oct-06-2017, 03:05 PM - Forum: GUI - Replies (2)

I'm trying out Qt4 and just want to print out a string in a window. Now, the string is clipped. All characters are not printed. So what am I missing?..... More

Print this item

  Koch fractal with iteration
Posted by: drimades - Oct-06-2017, 01:19 PM - Forum: Homework - Replies (7)

I tried this code for generating Koch's curve:
[code]
from turtle import *

def koch(length, depth):
if depth == 0:
forward(length)
..... More

Print this item

  Failed to establish a new connection: [Errno -2] Name or service not ...
Posted by: rajeev1729 - Oct-06-2017, 06:04 AM - Forum: Data Science - Replies (3)

pip install numpy

gives following error:
etrying (Retry(total=4, connect=None, read=None, redirect=None)) same line continued......

Print this item

  Changing Python Path
Posted by: sobrio1 - Oct-06-2017, 03:44 AM - Forum: Data Science - Replies (3)

I installed Anaconda so I could use Jupyter Notebook for an online Python course. Now when I try to run previous Python programs in Idle, I can't impo..... More

Print this item

  Rock Paper Scissors
Posted by: Warmlawpk441 - Oct-06-2017, 02:08 AM - Forum: Homework - Replies (4)

I seem to have an issue with getting this program to enter the loops correctly and the computer to generate a random number to compare against the use..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 48 minutes ago paul18fr paul18fr General Codin...
  Please guide me to comple... 1 hour ago pbkurd noisefloor General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  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... 578940
  Tutorial Requ... 510303
  Web Scraping ... 441963
  Newbie with P... 385976
  New Users Int... 376912
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