Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,007
» Latest member: Kael
» Forum threads: 18,914
» Forum posts: 90,528

Full Statistics

Online Users
There are currently 175 online users.
» 5 Member(s) | 170 Guest(s)
RazerNismo, Tjay, perfringo, mariolopes

Latest Threads
beginner and need help wi...
Forum: Homework
Last Post: Tjay
3 minutes ago
» Replies: 4
» Views: 160
unicodedecodeerror:utf co...
Forum: General Coding Help
Last Post: mariolopes
4 minutes ago
» Replies: 0
» Views: 1
ValueError: Index contain...
Forum: General Coding Help
Last Post: Smiling29
29 minutes ago
» Replies: 4
» Views: 99
Pressing issue for these ...
Forum: Homework
Last Post: unknown_bla_bla
35 minutes ago
» Replies: 3
» Views: 45
When I import a Module it...
Forum: General Coding Help
Last Post: buran
49 minutes ago
» Replies: 16
» Views: 332
Iterate over data and sum
Forum: Data Science
Last Post: Madame32
53 minutes ago
» Replies: 7
» Views: 123
Executable failed
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 1
» Views: 33
installing uPyCraft IDE o...
Forum: Bar
Last Post: Larz60+
1 hour ago
» Replies: 4
» Views: 163
Determine if string is in...
Forum: Homework
Last Post: jrodencal
1 hour ago
» Replies: 5
» Views: 87
.get() doesn't exist?
Forum: GUI
Last Post: GalaxyCoyote
2 hours ago
» Replies: 6
» Views: 74

 
  Openpyxl with large file
Posted by: LocalFolder - Oct-11-2019, 08:47 AM - Forum: General Coding Help - Replies (1)

Good morning my dear Python Experts,

I'm new here, I'm not an expert with coding or python and i have an issue with openpyxl.

I have some proces..... More

Print this item

  How to Save Each ROI Seperately
Posted by: murkoc - Oct-11-2019, 08:40 AM - Forum: General Coding Help - No Replies

Hello,

I have below code:

[python]import cv2
cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 1920)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 1..... More

Print this item

  Question about list and while function
Posted by: doug2019 - Oct-11-2019, 02:39 AM - Forum: General Coding Help - Replies (6)

I am trying to code a list of 10 items whose values ​​come from the equation y=a*(b-x) and complete the rest of it with 0. e.g:
[python]
a=1
b=5..... More

Print this item

  size of set vs size of dict
Posted by: zweb - Oct-11-2019, 01:32 AM - Forum: General Coding Help - No Replies

>>> n = 10000
>>> s = {x for x in range(n)}
>>> sys.getsizeof(s)
524512
>>> d = {x:1 for x in range(n)}
>>> sys.getsizeof(d)
295008

I would h..... More

Print this item

  Dumbfounded
Posted by: ichabod801 - Oct-11-2019, 01:23 AM - Forum: Bar - Replies (4)

Here I am, watching videos on YouTube, and the image came to me of my Mom's Apple ][. Not even the first computer I programmed on. And I am just dumbf..... More

Print this item

  Problem rendering file .css?
Posted by: JohnnyCoffee - Oct-11-2019, 12:09 AM - Forum: Web Scraping & Web Development - Replies (4)

I was able to embed inside a python function html5 tags, but I could not style with css the page in the browser? Accessing the source code from the br..... More

Print this item

Smile Help needed. Python Newbie!, it will be fun.
Posted by: knightdea - Oct-10-2019, 10:13 PM - Forum: General Coding Help - Replies (3)

Hi.

So I just started learning python as my first ever programming language. (YAYYY)

It's been 4 intense days (between kids and work) but I have..... More

Print this item

  def Display Data Invalid Syntax error
Posted by: Linuxdesire - Oct-10-2019, 09:10 PM - Forum: General Coding Help - Replies (1)

I am getting an Invalid Syntax error and I cannot find it, it highlights the line and I know that it can be above it but still cannot find it. . I hav..... More



Attached Files Thumbnail(s)
   
Print this item

  Trouble with encoded data (I think)
Posted by: fishglue - Oct-10-2019, 08:15 PM - Forum: General Coding Help - No Replies

Hi guys!

My script is reading a PDF using pytesseract OCR.
My goal is to extract text from various PDF formats, extract certain numbers from said ..... More

Print this item

  Basic subtraction error
Posted by: rix - Oct-10-2019, 08:01 PM - Forum: General Coding Help - Replies (4)

I'll show it with some code:

[python]Var1=str(input("What is Var1?")
#For example user inputs 8.10
Var2=str(input("What is Var2?")
#For example ..... More

Print this item

  Tkinter
Posted by: arbondioxide - Oct-10-2019, 07:18 PM - Forum: GUI - Replies (7)

Hello i am a recently new programmer. An A-Level student who is having problems with using tkinter. Im using Python 3.74 which already has tkinter bui..... More

Print this item

  Simple list comprehension misunderstanding
Posted by: Mark17 - Oct-10-2019, 06:31 PM - Forum: General Coding Help - Replies (3)

a = [1,4,9,16,25,36,49,64,81,100]
print(list(a[x] for x in range(6)))


gives me [1, 4, 9, 16, 25, 36] whereas

[Python]
a..... More

Print this item

  Merge two dict with same key
Posted by: RavCOder - Oct-10-2019, 03:19 PM - Forum: General Coding Help - Replies (3)

Hi,
I see this code to merge two dict with same key and I don't understand ,why in the final result is the key to the second dictionary (key b) taken..... More

Print this item

  Scrapping - A tool?
Posted by: kasper1903 - Oct-10-2019, 01:10 PM - Forum: Web Scraping & Web Development - Replies (10)

Hi guys.

At my work, I was asked for a solution for this problem. Basically, I work at a newspaper, who wish to scrap some urls for data, where the..... More

Print this item

  Inner Join merging bug?
Posted by: CaptainCsaba - Oct-10-2019, 12:51 PM - Forum: Data Science - No Replies

Hi!

I have the following very simple code:

[python]dfTycho = read_excel('TychoList.xlsx')
dfCodes = read_excel('CompaniesCodes.xlsx')
dfcomphousecod..... More

Print this item

  Just learnt python need help.
Posted by: Bal_exe - Oct-10-2019, 11:40 AM - Forum: News and Discussions - Replies (3)

So i learnt the basics of python what next?
Please reply anything useful.

Print this item

  [split] capitalize dict keys for display in string
Posted by: newbieAuggie2019 - Oct-10-2019, 10:27 AM - Forum: General Coding Help - Replies (3)

[quote='perfringo' pid='93924' dateline='1570691389']
In order to save repeated typing one can use dictionaries and try...except:

[python]
email ..... More

Print this item

  myfile = open(datafile, 'rb') not working
Posted by: mford29_programmer - Oct-10-2019, 08:54 AM - Forum: General Coding Help - Replies (4)

Morning All,
i'm trying to write code to use requests.post() but it keeps skipping the try and printing 'Error' with one particular line.

[python]..... More

Print this item

  Time execution of a "for loop" with zip different in 2 equivalent context
Posted by: sebastien - Oct-10-2019, 08:50 AM - Forum: General Coding Help - Replies (1)

Hi everybody,

I am using this portion of code with a "for loop" and zip in two different but rather equivalent context :

[python]
result = mult..... More

Print this item

  Appending to list not working and causing a infinite loop
Posted by: eiger23 - Oct-10-2019, 07:05 AM - Forum: General Coding Help - Replies (8)

New to Python and Algorithims. Trying to solve this one before looking for solutions. Im having the problem towards the bottom where the coin is suppo..... More

Print this item

  TypeError: unsupported operand type(s) for -: 'str' and 'str'
Posted by: Balaji - Oct-10-2019, 06:05 AM - Forum: General Coding Help - Replies (4)

Hi,
I am new to python. I am trying to do some operation with my data set

I am trying to do this operation

[python]df['dif_and_sq'..... More

Print this item

  How does the code run? My code wrong?
Posted by: jollydragon - Oct-10-2019, 06:03 AM - Forum: General Coding Help - No Replies

[attachment=731]

Referring to the screenshot above, you can see the "print()" was excuted 2 times, although 1 time is expected.
According to the ..... More

Print this item

  spam, eggs, foobar, IDLE, logo for newbies
Posted by: newbieAuggie2019 - Oct-10-2019, 05:32 AM - Forum: News and Discussions - No Replies

If you are new to Python, and have read some classic books or even have had a look at this site, you may have probably also wondered what's all..... More

Print this item

  RE: import machine module named not found
Posted by: vikram20 - Oct-10-2019, 03:07 AM - Forum: Bar - No Replies

Hi
Can anybody help me on the below ?
working on ESP8266 with Micropython and flashing was perfect.
Managed to install import esptool but its not w..... More

Print this item

  It doesn't show scatter plot but it says: "<Figure size 640x480 with 1 Axes>"
Posted by: dcardonaa - Oct-10-2019, 02:34 AM - Forum: Data Science - No Replies

Hello everyone! I'm trying to run this code for getting a scatter plot with green dots but it doesn't show the plot. I really appreciate some help!
..... More

Print this item

  Need help passing date to pandas query
Posted by: curranjohn46 - Oct-09-2019, 11:33 PM - Forum: Data Science - Replies (1)

How do I pass the output of this prompt to a pandas search by date in excel?

[python]
import pandas as pd
TestedDateBegin = pd.to_datetime(input..... More

Print this item

  (python-)rtmidi/Ubuntu
Posted by: Spiekes - Oct-09-2019, 10:18 PM - Forum: General Coding Help - Replies (1)

Is there a recently approved way to install (python-)rtmidi in Ubuntu 18.04?

Print this item

  naming images adding to number within multiple functions
Posted by: Bmart6969 - Oct-09-2019, 10:11 PM - Forum: General Coding Help - No Replies

I am trying to map an image within a game that is a scrollable background. I am trying to figure out how to name the screenshots taken and adding +1 t..... More

Print this item

  Trying to Pass date to pandas search from input prompt
Posted by: curranjohn46 - Oct-09-2019, 09:01 PM - Forum: Data Science - Replies (1)

Hi,

I am trying to figure out how to pass a date inputted at a prompt by the user to pandas to search by date. I have both the search and the inpu..... More

Print this item

  Naughts and Crosses win check
Posted by: GalaxyCoyote - Oct-09-2019, 08:45 PM - Forum: General Coding Help - Replies (3)

I was wondering how I would make a Win checker for my Naughts and Crosses game (Tic Tac Toe).

I am using lists
[python]
Row1 = ["-","-","-"]
R..... More

Print this item

  Selenium get data from newly accessed page
Posted by: hoff1022 - Oct-09-2019, 06:27 PM - Forum: Web Scraping & Web Development - Replies (2)

Don't know how to get data from a newly loaded/clicked page using Selenium.
I have 2 questions:

1) I load a page with Selenium (asp) enter some val..... More

Print this item

  A software freeze ! HELP !
Posted by: redorc15 - Oct-09-2019, 05:37 PM - Forum: General Coding Help - Replies (1)

Hi guys ! i'am trying to modify a python file crypter called "KrypApp" , i've found it on github....

There is : https://github.com/ahmednooor/KrypA..... More

Print this item

  Skip a line
Posted by: doug2019 - Oct-09-2019, 05:27 PM - Forum: General Coding Help - Replies (4)

What is the command to skip one, two, or more lines in Python? e.g.

Today

is

raining

Print this item

  Python regex to get only numbers
Posted by: tantony - Oct-09-2019, 04:39 PM - Forum: General Coding Help - Replies (6)

I have the following script

[python]
import re

w = 'KTPA 081653Z 00000KT 10SM BKN022TCU BKN040 OVC001RMK 28/23 A2990 FEW070 RMK AO2 SLP125 TCU ..... More

Print this item

  Python community news aggregator
Posted by: sebst - Oct-09-2019, 04:23 PM - Forum: News and Discussions - No Replies

Hi,

some of you may know social news aggregators like Hacker News, Lobsters or Datatau.
I created such an aggregator with Django. Who would like t..... More

Print this item