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,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 29 Guest(s)
Applebot, Google, Bing, AOL, Mojeek

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
7 hours ago
» Replies: 8
» Views: 8,416
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
8 hours ago
» Replies: 3
» Views: 1,808
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 313
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 748
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 819
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,066
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,706
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,747
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 354
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 604

 
  Homework: Smiley Face game
Posted by: itmustbebunnies - Nov-02-2018, 04:17 PM - Forum: Homework - Replies (3)

Hi guys! I am taking my first computer programming class and working on a homework assignment involving a game that will change a smiley face (drawn ..... More

Print this item

  Python Attributes
Posted by: CanadaGuy - Nov-02-2018, 02:15 PM - Forum: General Coding Help - Replies (4)

I'm new to Python, and generally speaking am not trained as a programmer. I am using version 3.7 on Windows 8.1, and most of my work so far has been G..... More

Print this item

  Generating a list to feed into a class object
Posted by: zizi - Nov-02-2018, 01:50 PM - Forum: Data Science - No Replies

I'm conducting a data science study in which I need to review tweets. I've set up a streamer that can get live tweets and save them to a csv file. How..... More

Print this item

  upload folder in server ftp
Posted by: falloff - Nov-02-2018, 01:38 PM - Forum: Web Scraping & Web Development - Replies (3)

I have some folder and subfolder and files in my computer like this:
[img]https://www.scenographie-vr.com/media/telechargement/architectureDossier.pn..... More

Print this item

  Memory use of a script
Posted by: ebolisa - Nov-02-2018, 01:23 PM - Forum: General Coding Help - Replies (5)

Hi,

I’ve two files: main and slave. The main imports the slave and executes a function in it.

The question is, does the slave script remain in t..... More

Print this item

  Developing larger Neural Networks
Posted by: Chriskelm - Nov-02-2018, 12:21 PM - Forum: Data Science - Replies (2)

[python] def train():
#random init of weights
w1 = np.random.randn()
w2 = np.random.randn()
b = np.random.randn()

itera..... More

Print this item

  How to capture value from javascript using flask
Posted by: Prince_Bhatia - Nov-02-2018, 10:20 AM - Forum: Web Scraping & Web Development - No Replies

I am creating a dynamic form in javascript dynamic form where i have a button which will add text fields . I want to capture the value of the those te..... More

Print this item

  Python Software Engineer in Berlin (relocation offered)
Posted by: adosii - Nov-02-2018, 09:26 AM - Forum: Jobs - No Replies

Hi all,

Python Software Engineer needed for full-time work @ Berlin-based online takeout company (relocation assistance provided).

The role requir..... More

Print this item

  This is a pain, is there a quicker way to do this?
Posted by: pcsailor - Nov-02-2018, 06:24 AM - Forum: General Coding Help - Replies (8)

Hi,
Suppose you are using python code to enter cell values into a spreadsheet like so:

[python]
sheet['A1'].value = '01'
sheet['A2'].value = '02..... More

Print this item

  nested for loops to recursion
Posted by: ashkea26 - Nov-02-2018, 04:36 AM - Forum: Homework - Replies (4)

Hi, new to this thread and programming itself. We've got a software project that asks us to make a game of Boggle/Twisted Word Search, which finds wor..... More

Print this item

  nested for loops to recursion
Posted by: ashkea26 - Nov-02-2018, 04:25 AM - Forum: General Coding Help - Replies (1)

Any advice on how to convert nested for loops to recursion. I'm kinda having trouble since I'm still a beginner.

The loops are for finding all the ..... More

Print this item

  convert non-string with explicit base
Posted by: jacklee26 - Nov-02-2018, 03:35 AM - Forum: General Coding Help - Replies (5)

Hi i'm facing on an error:
File "MAC_add1+2.py", line 15, in <module>
line = int(line,16)+2
TypeError: int() can't convert non-string with ex..... More

Print this item

  auto increment
Posted by: ambush - Nov-01-2018, 11:39 PM - Forum: General Coding Help - Replies (7)

hi

num=1000
def inc():
    increment = num + 1
     return inc


print(inc())
in inc function the number 1000 is incremented by on..... More

Print this item

  my code won't run...
Posted by: ChickenWithRice - Nov-01-2018, 11:25 PM - Forum: General Coding Help - Replies (2)

I'm trying to create a system where different random numbers will display depending on the number generated.
I don't know what I've done wrong and w..... More

Print this item

  Adding random numbers to each item in a 2d list.
Posted by: thatBoi - Nov-01-2018, 11:12 PM - Forum: Code sharing - Replies (1)

Just making this post if anyone happens to be specifically stuck on this problem because as a beginner at coding, it took me some time. Hope this post..... More

Print this item

  Random Expression Creator
Posted by: SheeppOSU - Nov-01-2018, 10:37 PM - Forum: General Coding Help - Replies (2)

Overall My program is good. But I am having trouble figuring out how to do a few things. I could really use some help. I need to know how to fix my pa..... More

Print this item

  Append a .csv file?
Posted by: emerger - Nov-01-2018, 09:10 PM - Forum: General Coding Help - Replies (1)

Hello.
Is there a way to append a .csv file? Everything I've tried writes over the existing data in a .csv file with new data. Isn't there code in ..... More

Print this item

  Logic of using floor division and modulus for a different variable at different time
Posted by: SB_J - Nov-01-2018, 07:00 PM - Forum: General Coding Help - Replies (2)

Hi,

In the below code(Code_1), please help me understand the logic of dividing minutes and seconds by 10. The second program(Code_2) also gives the..... More

Print this item

  EXE file inside the loop
Posted by: iwsyang - Nov-01-2018, 06:56 PM - Forum: General Coding Help - Replies (1)

I have a python loop, inside the loop, it calls an exe file.
What I want is every time when the exe file finishes the execution, then start the next..... More

Print this item

  HELP - Returning the first self number superior or equal to my argument
Posted by: Kokuzuma - Nov-01-2018, 06:43 PM - Forum: Homework - Replies (1)

Hello,

I am a student and a beginner in learning python coding, and I'm stuck on a self-numbers exercise, where I'm asked to return, from the NextA..... More

Print this item

  C++-type static members for python classes
Posted by: Gribouillis - Nov-01-2018, 06:32 PM - Forum: Code sharing - No Replies

In C++, if a class A has a static string field A::host initialized to "localhost", the value of this fiel..... More

Print this item

  Diff. between Py 2.7 and 3
Posted by: ebolisa - Nov-01-2018, 06:28 PM - Forum: General Coding Help - Replies (1)

Hi,

For a while I was going mad trying to find out why the print output from the test code below using Python 2.7 had single quotes added till a ra..... More

Print this item

  testing indivudual string for alternating characters
Posted by: Titus444 - Nov-01-2018, 06:24 PM - Forum: Homework - Replies (3)

I have an assignment where I need to test strings and only accept the strings that have the same two alternating characters throughout the string... i..... More

Print this item

  let's go 'verdana'!
Posted by: nzcan - Nov-01-2018, 06:08 PM - Forum: Board - Replies (1)

hello,
i was wondering would it be nice if the default font of the plain text in the topics was 'verdana'?

Print this item

  Invalid syntax on input string
Posted by: Callahan - Nov-01-2018, 04:18 PM - Forum: General Coding Help - Replies (5)

Hi,

Not an avid Python user so probably a simple solution to this but I've yet to find it. I have a string containing a mix of spaces, alphanumeric..... More

Print this item

  Program that displays the number with the greatest amount of factors
Posted by: ilusmd - Nov-01-2018, 03:21 PM - Forum: Homework - Replies (3)

Hi everyone!

I'm trying to make the code of a program that, given a certain number N, prints the number in between 1 and N with the greatest amount..... More

Print this item

  A three if statement problem I am having
Posted by: WarblingPasta - Nov-01-2018, 02:46 PM - Forum: Homework - Replies (1)

When I run it I have the problem in which the overall price always calculates as if the carpet is basic, so if I choose a luxury carpet the carpet pri..... More

Print this item

  tic tac toe game
Posted by: erickDarko - Nov-01-2018, 01:23 PM - Forum: Homework - Replies (5)

I'm new to this forum so i hope someone can help me with this thread. Shy
The game is simple but I had to do several checks to make it work
..... More

Print this item

  Twitter listen script, dynamic search value?
Posted by: quitte74 - Nov-01-2018, 01:09 PM - Forum: General Coding Help - No Replies

Hi guys,

I have the below "Twitter listen" Python script running on my Raspberry Pi. When it is running it is simply listening for tweets from a sp..... More

Print this item

  Flask: Cookies for Saving User Input ?
Posted by: jomonetta - Nov-01-2018, 11:55 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi. I am developing a web-app which contains map api in order to let the user select his location. The following code is about this procedure;
[pytho..... More

Print this item

  How to add items within a list
Posted by: Mrocks22 - Nov-01-2018, 09:46 AM - Forum: Homework - Replies (2)

I need to make a program which take all the numbers that has been inputted and add them all up.
I know how to place the inputted number into a list. ..... More

Print this item

  Pexpect - Python 3.7 - Unable to get my script past the login stage
Posted by: lgreenjr - Nov-01-2018, 09:16 AM - Forum: Networking - Replies (3)

For the life of me, I cannot get my script to run. Do I need to do something with the bytes? Script runs in python 2.x. I always get the output below...... More

Print this item

  How to use .sort()
Posted by: Mrocks22 - Nov-01-2018, 07:21 AM - Forum: Homework - Replies (4)

The task I need to complete is the usage of .sort() and .split()


[python]
## This is the input but the input many vary Peng Ivan Alan Jodi Macy..... More

Print this item

  Beginner Python Homework Question (Calculate Gross Pay)
Posted by: matchamochi7 - Nov-01-2018, 06:04 AM - Forum: Homework - Replies (4)

I am supposed to make a code that using the function computepay() in order to calculate gross pay including time-and-a-half. In my online homework che..... More

Print this item

  my rmulation idea
Posted by: Skaperen - Nov-01-2018, 05:55 AM - Forum: Bar - Replies (1)

i've long been wanting to build some abstract machine language and an emulator for it. Python and Pike have given me the idea. it could well be pret..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 7 hours ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 8 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... Today, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577120
  Tutorial Requ... 500015
  Web Scraping ... 440840
  Newbie with P... 384833
  New Users Int... 369061
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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